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

PortfolioStrategyApp不能正常使用的问题 #25

Open
qingsuijiu opened this issue Nov 24, 2022 · 2 comments
Open

PortfolioStrategyApp不能正常使用的问题 #25

qingsuijiu opened this issue Nov 24, 2022 · 2 comments

Comments

@qingsuijiu
Copy link

背景:希望在策略中订阅多个交易对的信息,cta策略不能支持;尝试使用PortfolioStrategyApp模块,不能正常使用。
暂时的处理:发现主要原因是以下库的缺失:from howtrader.trader.datafeed import BaseDatafeed, get_datafeed。故将代码中的 BaseDatafeed去掉,通过ui成功点进PortfolioStrategyApp模块,script端未测试。
问题:这样子的魔改是否可以正常使用PortfolioStrategyApp模块;魔改代码前该模块不能运行,是因为笔误文件缺失,还是因为什么原因将该模块移除呢?
以上,望解答

@51bitquant
Copy link
Owner

可能是该部分的代码进行修改。后续我升级下。

@j19920816
Copy link

我也遇到這個問題

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

3 participants