-
Notifications
You must be signed in to change notification settings - Fork 686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not enough candle for Binance BTCUSDT is present in the database #4
Comments
I noticed that the data only goes back to 2020-02-06 even tough I specified from 2020-01-01, also had to remove the |
Maybe I need to change the behavior somehow or mention it in the docs. Here's the reason: For example when your backtest starts since To make sure you won't be bothered by this, simply import more candles. For example in the case of Binance, import since 2018.
|
Thanks for the explanation and yes I think best is to add this explanation to the documentation as well, cheers. |
I imported candles as instructed on documentation from 1st January 2020:
jesse import-candles Binance BTCUSDT 2020-01-01
Database now have around ~151000 rows
Tried running a backtest as shown in documentation:
jesse backtest 2020-01-01 2020-04-06
And getting the following error:
`File "c:\programdata\anaconda3\lib\site-packages\jesse_init_.py", line 286, in backtest
backtest_mode.run(start_date, finish_date, chart=chart, tradingview=tradingview)
File "c:\programdata\anaconda3\lib\site-packages\jesse\modes\backtest_mode_init_.py", line 40, in run
candles = load_candles(start_date, finish_date)
File "c:\programdata\anaconda3\lib\site-packages\jesse\modes\backtest_mode_init.py", line 91, in _load_candles
required_candles.load_required_candles(c[0], c[1], start_date_str, finish_date_str),
File "c:\programdata\anaconda3\lib\site-packages\jesse\services\required_candles.py", line 94, in load_required_candles
exchange, symbol
Uncaught Exception: CandleNotFoundInDatabase: Not enough candle for Binance BTCUSDT is present in the database. Try importing candles.`
Am I missing something?
Also when importing candles at what time frame are they being downloaded at?
The text was updated successfully, but these errors were encountered: