首页 > TAG信息列表 > df0

solved why Backtrader buy price is 0 解決交易成交價是0

1. Yahoo finincal data df0  = yf.download(ucode, date_start, date_end, auto_adjust = False )   用yfinance抓取指數數據。   2. Backtracker has $0 buy price after trade def notify_trade( self , trade): if not trade.isclosed: return self