I noticed today SetHoldings stopped working with arbitrary precision in weight. In this backtest where the weight has arbitrary precision w = np.sqrt(5)/10, the backtest does not buy any stock.