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.
MIT License
704 stars 294 forks source link

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

Open qingsuijiu opened 1 year ago

qingsuijiu commented 1 year ago

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

51bitquant commented 1 year ago

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

j19920816 commented 7 months ago

我也遇到這個問題