51bitquant / howtrader

Howtrader: A crypto quant framework for developing, backtesting, and executing your own trading strategies. Seamlessly integrates with TradingView and other third-party signals. Simply send a post request to automate trading and order placement. Supports Binance and Okex exchanges.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PortfolioStrategyApp不能正常使用的问题

qingsuijiu opened this issue · comments

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

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

commented

我也遇到這個問題