asavinov / intelligent-trading-bot

Intelligent Trading Bot: Automatically generating signals and trading based on machine learning and feature engineering
https://t.me/intelligent_trading_signals
MIT License
803 stars 179 forks source link

Stuck at `Downloading all available 1m data for BTCUSDT. Be patient..!` for hours. #13

Closed MinatoNamikaze02 closed 1 year ago

MinatoNamikaze02 commented 1 year ago

my config file looks like this

{
  "api_key": "my_key",
  "api_secret": "my_secret",

  "symbol": "BTCUSDT",
  "base_asset": "BTC",
  "quote_asset": "USDT",

  "data_folder": "some_path",
  "model_folder": "some_path"
}

what's going wrong? Can you please help me out here?

asavinov commented 1 year ago

Try running with no config (default parameters will be used) or with sample config config-sample-v0.4.0.json. The download function relies on python-binance library and may also depend on the binance server. So if the server is slow then nothing can be done.

The downloads are specified in this section:

"data_sources": [
  {"folder": "BTCUSDT", "file": "klines", "column_prefix": ""}
]

In this case, BTCUSDT will be downloaded.

MinatoNamikaze02 commented 1 year ago

Thank you! I fixed the error.