stas-prokopiev / binance_historical_data

python PYPI package to dump all needed crypto historical data from binance just by 2 lines of code
MIT License
71 stars 25 forks source link

Feature request: tickers_to_include #10

Closed tonypottera24 closed 1 year ago

tonypottera24 commented 1 year ago

Hi, thank you for building this wonderful tool. I'm wondering if there's any way to only download a particular trading pair by data_dumper.dump_data. For example BTCUSD.

stas-prokopiev commented 1 year ago

Hi, You can always specify the tickers you want to dump in the function: data_dumper.dump_data( tickers=["BTCUSD", ], date_start=None, date_end=None, is_to_update_existing=False, )