irufus / gdax-java

Java based wrapper for Coinbase Pro (Formerly known as GDAX API and Coinbase Exchange API)
MIT License
177 stars 131 forks source link

Time issue #50

Closed carvalho2707 closed 6 years ago

carvalho2707 commented 6 years ago

Hi ,

I was looking at your api and i came up with a question. Let say we want to get /products/{productId}/candles. It requires the startTime and endTime and that is ok, my question is should i provide this values in which timezone?

robevansuk commented 6 years ago

Reading the GDAX docs they say ISO 8601. This includes the time zone, so whatever you want. https://en.wikipedia.org/wiki/ISO_8601 https://docs.gdax.com/#get-historic-rates