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
79 stars 27 forks source link

FileNotFoundError: [Errno 2] No such file or directory: 'data_dump/um/daily/aggTrades' #21

Open aimagician opened 4 months ago

aimagician commented 4 months ago

Hello

When I call data_dumper.delete_outdated_daily_results()

I get this error:

FileNotFoundError: [Errno 2] No such file or directory: 'data_dump/um/daily/aggTrades'

The correct path is: 'data_dump/futures/um/daily/aggTrades'

osukono commented 3 weeks ago

Workaround: Until a solid fix is implemented, you can reinitialize BinanceDataDumper with the futures folder before running delete_outdated_daily_results.