I am trying to use the Bitfinex API to get historic shorts,longs BTC/USD data.So, the Bitfinex gives size data with Available values: '1m', this equals last 2 hours, i need last two month at least. Trading view have all data, but i must pass the license. Have another ways to get this data?

1 Answer 1


It is fairly common for exchanges to only provide a limited amount of historical data. Tradingview and other sites that have more historical data store it themselves on a database. With 2 hours of data you could ping the exchange API once every 2 hours adding the new data to your database each time.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.