Hi All,
I have a question regarding hotkeys.
When I place an order for example going short:
ROUTE=SMRTL;Share=100;Price=Bid-0.05;TIF=DAY+;SELL=Send
I then place stop loss through Double click: I then close half my position moving my stop to B/E using HK:
CXL ALLSYMB;Route=LIMIT;Share=Pos*0.5;Price=Ask+0.05;TIF=DAY+;BUY=Send;ROUTE=STOP;StopType=Market;StopPrice=AvgCost;Share=Pos+share;TIF=GTC;BUY=SEND
This then sells half my position, however the new order created opens a buy position of 150 shares, how do I make it so it gets 50 shares?
if I then cancel this order and just want to close out my position with HK:
ROUTE=SMRTL;Share=Pos;Price=Ask+0.05;TIF=DAY+;BUY=Send
It doesnt close out the position at market but instead creates a different stop order closer to the stop loss i had previously.
Can someone let me know what I am doing wrong? In summary what I'm trying to do is long or short x amount of shares, then double click select my stop loss, if I reach one of my targets I want to cover/sell 50% of my position and bring my stop loss to B/E, if the price continues to go in my direction I would like to close out the rest of my open position at market.
Can someone help?
Thanks,
Mariusz