Comments (1)
Complete error message:
Traceback (most recent call last):
File "../source/fadesystemcsv.py", line 103, in
run_strategy()
File "../source/fadesystemcsv.py", line 83, in run_strategy
result = cerebro.run()
File "/home/debian9/.local/lib/python3.7/site-packages/backtrader/cerebro.py", line 1127, in run
runstrat = self.runstrategies(iterstrat)
File "/home/debian9/.local/lib/python3.7/site-packages/backtrader/cerebro.py", line 1298, in runstrategies
self._runnext(runstrats)
File "/home/debian9/.local/lib/python3.7/site-packages/backtrader/cerebro.py", line 1630, in _runnext
strat._next()
File "/home/debian9/.local/lib/python3.7/site-packages/backtrader/strategy.py", line 347, in _next
super(Strategy, self)._next()
File "/home/debian9/.local/lib/python3.7/site-packages/backtrader/lineiterator.py", line 271, in _next
self.next()
File "/home/debian9/Desenvolvimento/temp/yaneli-trader/source/strategies/fadesystem.py", line 229, in next
self.daily_plot(data, self._daily_orders)
File "/home/debian9/Desenvolvimento/temp/yaneli-trader/source/strategies/fadesystem.py", line 390, in daily_plot
plt.savefig(title+'.png')
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/pyplot.py", line 722, in savefig
res = fig.savefig(*args, **kwargs)
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/figure.py", line 2180, in savefig
self.canvas.print_figure(fname, **kwargs)
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/backends/backend_qt5agg.py", line 88, in print_figure
super().print_figure(*args, **kwargs)
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 2082, in print_figure
**kwargs)
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 527, in print_png
FigureCanvasAgg.draw(self)
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 388, in draw
self.figure.draw(self.renderer)
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/artist.py", line 38, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/figure.py", line 1709, in draw
renderer, self, artists, self.suppressComposite)
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/image.py", line 135, in _draw_list_compositing_images
a.draw(renderer)
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/artist.py", line 38, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 2647, in draw
mimage._draw_list_compositing_images(renderer, self, artists)
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/image.py", line 135, in _draw_list_compositing_images
a.draw(renderer)
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/artist.py", line 38, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/axis.py", line 1203, in draw
ticks_to_draw = self._update_ticks()
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/axis.py", line 1079, in _update_ticks
major_locs = self.get_majorticklocs()
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/axis.py", line 1324, in get_majorticklocs
return self.major.locator()
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/dates.py", line 1431, in call
self.refresh()
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/dates.py", line 1451, in refresh
dmin, dmax = self.viewlim_to_dt()
File "/home/debian9/.local/lib/python3.7/site-packages/matplotlib/dates.py", line 1202, in viewlim_to_dt
.format(vmin))
ValueError: view limit minimum -36864.15759475 is less than 1 and is an invalid Matplotlib date value. This often happens if you pass a non-datetime value to an axis that has datetime units
from yaneli-trader.
Related Issues (20)
- Types of order HOT 1
- Product Finder HOT 5
- Optimizer
- Optimizer
- Download data datetime
- Add requirements file
- Add position price HOT 1
- Add Dockerfile
- Add more symbols
- VAH and VAL plot error
- Remove unnused imports
- Improve data client
- Add plot option
- Absolute and Group Risk Manager
- Strategy user prompt
- Fix optimization and live files
- Update algorithms
- Market Profile Plot
- Daily Charts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yaneli-trader.