tiagosiebler / binance

Node.js & JavaScript SDK for Binance REST APIs & WebSockets, with TypeScript & browser support, integration tests, beautification & more.
https://www.npmjs.com/package/binance
MIT License
771 stars 265 forks source link

Can we get the historical data? (v1/ticker/allPrices) #67

Closed askucher closed 4 years ago

askucher commented 5 years ago

This is how we get current prices

https://api.binance.com/api/v1/ticker/allPrices

Can we get the historical prices?

https://api.binance.com/api/v1/ticker/allPrices?date=20170303 
tiagosiebler commented 4 years ago

This is dictated by Binance's API designs. All this module does is provide a wrapper around how Binance's API's are designed. You could use klines to get historic prices.