Why is this happening on my live paper trade? I have plenty of margin and the code works fine in backtests.


2020-02-17 08:00:03 : New Order Event: Time: 02/17/2020 08:00:02 OrderID: 5 Symbol: AUDJPY Status: Invalid Message: Brokerage failed to place order
2020-02-17 08:00:03 : New Order Event: Time: 02/17/2020 08:00:02 OrderID: 6 Symbol: NZDJPY Status: Invalid Message: Brokerage failed to place order
2020-02-17 08:00:03 : New Order Event: Time: 02/17/2020 08:00:02 OrderID: 7 Symbol: AUDNZD Status: Invalid Message: Brokerage failed to place order

As you can see below i have plenty of margin. 47,000$

TotalMarginRemaining, 47682.49047211853 TotalMarginUsed 29772.824608810708 Time: 02/20/2020 08:00:02 OrderID: 8 Symbol: AUDNZD Status: Invalid Message: Brokerage failed to place order