ckend / pythondict-quant Goto Github PK
View Code? Open in Web Editor NEWQuant Examples Based on Backtrader.
Home Page: https://pythondict.com
Quant Examples Based on Backtrader.
Home Page: https://pythondict.com
作者你好,你的第二个代码跑通了,就是画图报错
不知道你 cerebro和matplotlib 用的是什么版本
File "~/gitlab/tutorials/quant/demo_2_macd.py", line 120, in main
cerebro.plot()
File "~/.virtualenvs/python3.6/lib/python3.6/site-packages/backtrader/cerebro.py", line 974, in plot
from . import plot
File "~/.virtualenvs/python3.6/lib/python3.6/site-packages/backtrader/plot/__init__.py", line 42, in <module>
from .plot import Plot, Plot_OldSync
File "~/.virtualenvs/python3.6/lib/python3.6/site-packages/backtrader/plot/plot.py", line 44, in <module>
from . import locator as loc
File "~/.virtualenvs/python3.6/lib/python3.6/site-packages/backtrader/plot/locator.py", line 35, in <module>
from matplotlib.dates import (HOURS_PER_DAY, MIN_PER_HOUR, SEC_PER_MIN,
ImportError: cannot import name 'warnings'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.