01/14/2015 16:34:00 OrderID: 60600 Symbol: VXX Status: Invalid Message: Order Error: id: 60600, Insufficient buying power to complete order (Value:1315776), Reason... 1/14/2015 11:34:00 AM: Market: Time: 01/14/2015 16:34:00 OrderID: 60601 Symbol: EEM Status: Invalid Message: Order Error: id: 60601, Insufficient buying power to complete order (Value:1182980.3367), R... 1/14/2015 11:34:00 AM: Market: Time: 01/14/2015 16:34:00 OrderID: 60602 Symbol: AAPL Status: Invalid Message: Order Error: id: 60602, Insufficient buying power to complete order (Value:1181552.9269), ... 1/14/2015 11:34:00 AM: Market: Time: 01/14/2015 16:34:00 OrderID: 60603 Symbol: EFA Status: Invalid Message: Order Error: id: 60603, Insufficient buying power to complete order (Value:1155446.4232), R... 1/14/2015 11:34:00 AM: Market: Time: 01/14/2015 16:34:00 OrderID: 60604 Symbol: GOOGL Status: Invalid Message: Order Error: id: 60604, Insufficient buying power to complete order (Value:1126248.76), R...

I've seen some bug fixes and issues open on github about this, but still keep getting flooded with these messages when using the AlphaStreamsBrokerageModel. The messages appear to have something to do with the way the model calculates margin. I can't tell if my algo is causing these, due to my insights and indicators, or if it's a bug.

Are others seeing these messages when backtesting? 

Author