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

请教demo dynamicIndicatorDemo.py中哪个位置可以添加初始资金 #8

Open
gaorufeng opened this issue Aug 25, 2017 · 1 comment

Comments

@gaorufeng
Copy link

自定义初始资金官网说明好像是 class pyalgotrade.broker.backtesting.Broker(cash, barFeed, commission=None)

我不知道 dynamicIndicatorDemo.py 添加在哪里比较合适

@gaorufeng
Copy link
Author

问题解决了 我添加了 brk = broker.backtesting.Broker(1000000, barfeed) , 参考了这篇文章 http://blog.csdn.net/qtlyx/article/details/73719274

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