Backtest Handled Error: Order Error: id: 71, Transaction model failed to fill for order type: MarketOnOpen with error: TypeError : unsupported operand type(s) for *: 'float' and 'decimal.Decimal'

 

All my order goes through SetHolding. I'm assuming SetHolding is still using decimal wrapper that's causing this error?

Author