Recently I have been receiving lots of these rejections. This is the exact error message from today and it cost me a lot in lost profit:
Send_Rej Buy 6927 CLOV 16.84 --SMRT--09:30:25--YOUR ORDER IS NOT ACCEPTED. IN ORDER TO OBTAIN THE DESIRED POSITION YOUR EQUITY WITH LOAN VALUE [30655.29 USD] MUST EXCEED THE INITIAL MARGIN [67930.77 USD]
I can't understand what the issue is. Can someone please explain?
BTW, this is the hotkey I used which works fine in simulation:
ROUTE=SMRTL;Price=Ask+0.1;Price=Round2;Share=BP*0.95;TIF=DAY+;BUY=Send
Thanks