BTCMarkets / API

API
119 stars 30 forks source link

Historial data #67

Closed motoadz closed 5 years ago

motoadz commented 6 years ago

Hi, I'm struggling to find a way to pull historical candlestick data from btcmarkets? Is there a way todo this? Thanks

meeeee12 commented 6 years ago

I am doing something like this by grabbing the data from the last 500 trades using: /market/BTC/AUD/trades . I then use the google charting library to create the candlesticks.

Note: If you want more than the last 500 trades then you are going to also need your own server that will regularly grab the latest changes from btcmarkets and store it in your own database.

welldrake commented 6 years ago

See potential solution here: https://github.com/BTCMarkets/API/issues/79#issuecomment-400892668

justin-ngin commented 5 years ago

Hi @motoadz

We've just released a new endpoint for retrieving our entire history of tick/candle data in minute, hour, or day resolution. Check out the docs here!

Cheers, Justin