coinbase / coinbase-pro-node

DEPRECATED — The official Node.js library for Coinbase Pro
Apache License 2.0
841 stars 316 forks source link

Coinbase Pro Candles Endpoint Unreliable #348

Closed luyongxu closed 4 years ago

luyongxu commented 5 years ago

I am looking to download historical data using the Coinbase Pro's REST API candles endpoint:

GET /products//candles)

I have found that the response from this endpoint is unreliable. Sometimes the response contains data and sometimes the response does not contain data.

Steps to reproduce:

  1. Copy the following endpoint:

https://api.pro.coinbase.com/products/BTC-USD/candles?start=2014-07-20T00%3A00%3A00.0Z&end=2015-02-05T00%3A00%3A00.0Z&granularity=86400

  1. Open in browser of choice

  2. Refresh several times

  3. Observe that roughly 20 percent of the time, the response contains no data.

Can anyone explain what is happening?

nomuppets commented 5 years ago

I have experienced the same problem. I suspect it's some sort of weird caching problem on gdax's end.

drewrothstein commented 4 years ago

Hi, we are closing out PRs + Issues as this project is being archived.