hermian

Results 1 comments of hermian

I've done this. ```python tolerance = 0.3 s = bt.Strategy("s1",[bt.algos.SelectAll(), bt.algos.WeighTarget(weights), # bt.algos.WeighEqually(), bt.algos.Or([bt.algos.RunOnce(), bt.algos.RunIfOutOfBounds(tolerance)]), bt.algos.Rebalance()]) test = bt.Backtest(s, price_df) res=bt.run(test) ``` The weight had to be allocated first. Good...