Skip to content
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

Backtest not working 🤷‍♂️ #342

Open
DrakoAI opened this issue Jun 25, 2022 · 1 comment
Open

Backtest not working 🤷‍♂️ #342

DrakoAI opened this issue Jun 25, 2022 · 1 comment

Comments

@DrakoAI
Copy link

DrakoAI commented Jun 25, 2022

root@DESKTOP-NGT45I9:/mnt/d/DRAKO/passivbot-master# python3 backtest.py results_harmony_search/{date}XXX/xxxxxx_best_config_{long/short}.json -u binance_01 -s ADAUSDT --start_date 2022-05-01 --end_date 2022-06-24
using numba
using numba
fetching market_specific_settings...
linear perpetual
Traceback (most recent call last):
File "/mnt/d/DRAKO/passivbot-master/procedures.py", line 37, in load_live_config
live_config = json.load(open(live_config_path))
FileNotFoundError: [Errno 2] No such file or directory: 'results_harmony_search/{date}XXX/xxxxxx_best_config_{long/short}.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "backtest.py", line 210, in
asyncio.run(main())
File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "backtest.py", line 150, in main
live_config = load_live_config(args.live_config_path)
File "/mnt/d/DRAKO/passivbot-master/procedures.py", line 40, in load_live_config
raise Exception(f"failed to load live config {live_config_path} {e}")
Exception: failed to load live config results_harmony_search/{date}XXX/xxxxxx_best_config_{long/short}.json [Errno 2] No such file or directory: 'results_harmony_search/{date}XXX/xxxxxx_best_config_{long/short}.json'
root@DESKTOP-NGT45I9:/mnt/d/DRAKO/passivbot-master#

@DrakoAI
Copy link
Author

DrakoAI commented Jun 25, 2022

I put manually the configuration and if it works but I got some errors:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant