question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

--chart not working

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
cryptocoinservercommented, Apr 18, 2020

#6 should fix it. Its a windows issue. Windows doesn’t like “:” in filenames.

1reaction
saleh-oldcommented, Apr 19, 2020

Could you please update to 0.0.19 and try again

Read more comments on GitHub >

github_iconTop Results From Across the Web

Excel bar Chart Not Displaying Data Correctly
Excel bar Chart Not Displaying Data Correctly. Hi,. I want to create a bar chart for my Monthly data. Facing issues with the...
Read more >
Excel chart appears blank - not recognizing values?
This article shows you how to solve the problem if you find that values aren't being recognized by Excel charts, including a sample...
Read more >
Chart Data Table number formats not working - AuditExcel
Chart Data Table number formats not working? Use a work around to show the correct formats in the Data Table at the bottom...
Read more >
Show Hidden Data in Excel Chart or Sparkline - Contextures
The same problem can occur with Excel sparklines -- tiny in-cell charts. hidden worksheet data not showing in chart. See the sections below, ......
Read more >
Excel quirk: Will not create graph from certain data - Super User
The issue is very simple. In the "won't graph" table, the numbers are stored as text. To fix this, just retype the numbers,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found