关于策略中的指标,backtrader内置了很多类型,直接调用即可。比如移动平均线:. self.sma = bt.indicators.SimpleMovingAverage( self.datas[0], ...
確定! 回上一頁