I'm trying to make a simple hotkey to buy and sell 100 shares with a stoploss attached in SIM, that eventually will be used for a live account to IBKR, but not getting results. Here's what I've tried:
FocusWindow RMG_1;ROUTE=LIMIT;Share=100;TIF=DAY+;Price=Ask+0.04;BUY=Send;TriggerOrder=RT:STOP;StopType=Market;StopPrice=AvgCost-0.20;Share=100;TIF=DAY+;SELL=Send;
My issue is the order gets filled, but the stoploss seems to ignore the -0.20:
What's my problem?