--chart not working
See original GitHub issueI tried the --chart parameter and got this as an exception whilst --tradingview is working fine.
` 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 71, in run charts.portfolio_vs_asset_returns() File “c:\programdata\anaconda3\lib\site-packages\jesse\services\charts.py”, line 111, in portfolio_vs_asset_returns plt.savefig(file_path) File “c:\programdata\anaconda3\lib\site-packages\matplotlib\pyplot.py”, line 722, in savefig res = fig.savefig(*args, **kwargs) File “c:\programdata\anaconda3\lib\site-packages\matplotlib\figure.py”, line 2180, in savefig self.canvas.print_figure(fname, **kwargs) File “c:\programdata\anaconda3\lib\site-packages\matplotlib\backend_bases.py”, line 2089, in print_figure **kwargs) File “c:\programdata\anaconda3\lib\site-packages\matplotlib\backends\backend_agg.py”, line 530, in print_png cbook.open_file_cm(filename_or_obj, “wb”) as fh: File “c:\programdata\anaconda3\lib\contextlib.py”, line 112, in enter return next(self.gen) File “c:\programdata\anaconda3\lib\site-packages\matplotlib\cbook_init_.py”, line 447, in open_file_cm fh, opened = to_filehandle(path_or_file, mode, True, encoding) File “c:\programdata\anaconda3\lib\site-packages\matplotlib\cbook_init_.py”, line 432, in to_filehandle fh = open(fname, flag, encoding=encoding)
Uncaught Exception: OSError: [Errno 22] Invalid argument: ‘storage/charts/BT-2020-04-18T16:56:53.png’`
Also, what value is the qty exactly, in the case of BTCUSDT, does 1 qty mean opening a trade for 1 BTC or 1$?
I apologize for the number of opened issues but I’m migrating my algorithm to this framework and finding issues / questions as I go along but other than that quite impressed by how it all works 😃
Thanks.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
#6 should fix it. Its a windows issue. Windows doesn’t like “:” in filenames.
Could you please update to
0.0.19
and try again