Open Karol-Gawlowski opened 1 year ago
Hi, I've just run your code on my PC and it worked fine. Could you please provide more info for me to test: Which OS/python version are you using? Are you located in the US? (Binance block access for US users)
i'm using python 3.8.16 on windows, not in the US. let me know if you need more details
Hi I tried running the below code and gave it some time but it does not download any data.
`import os
import datetime
from binance_historical_data import BinanceDataDumper
os.getcwd()
data_dumper = BinanceDataDumper( path_dir_where_to_dump= ".", # /data/binance asset_class="spot", # spot, um, cm data_type="klines", # aggTrades, klines, trades data_frequency="1h" )
print(data_dumper.get_list_all_trading_pairs())
data_dumper.dump_data()
data_dumper.dump_data( tickers = ["BTCUSDT"] , date_start = None, date_end = None,
)`
console: ---> Found overall tickers: 2215 ---> Filter to asked tickers: 1 ------> Tickers left: 1 Download full data for 1 tickers: ---> Data Frequency: 1h ---> Start Date: 20170101 ---> End Date: 20230514 Tickers: 0%| | 0/1 [00:00<?, ?it/s] monthly files to download: 0%| | 0/69 [00:00<?, ?files/s]
running your tests/test_binance_historical_data.py gives the same results