Skip to content

How do I retrieve historical data from Binance using Nautilus Trader? #1897

Closed Answered by cjdsellers
ZzzzHeJ asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ZzzzHeJ

Thanks for your interest.

So Nautilus doesn't wrap the Binance historical data API. It's assuming you would obtain data directly from Binance, or numerous other sources https://www.binance.com/en/support/faq/how-to-download-historical-market-data-on-binance-5810ae42176b4770b880ce1f14932262.

Here's an example of loading Binance order book data for Nautilus backtesting
https://nautilustrader.io/docs/latest/tutorials/backtest_binance_orderbook.

Other types such as QuoteTick, TradeTick, and Bar would follow a similar pattern, using the data catalog.

I hope that helps!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cjdsellers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants