How to build a Java trade bot
So you want to limit your bot strictly to gdax? There are some libs providing abstraction layers from a specific exchange. One example is

https://github.com/timmolter/XChange

This becomes very helpful once you want to make trades on more than 1 exchange.