Britt C 2 Posted June 11, 2021 Hi All! I am using a Stream Deck for my hot keys. Every now and then when I go to take a partial, my position is fully exited. This happened while at CMEG and carried over when I joined IB. This has happened SIM and Live trading. My scripts are posted below. My share sizes are very small as I am only using $10-$20 risks. And I have double checked to make sure I am not hitting the wrong key. Any help appreciated! SHORT: ;CXL ALLSYMB;Route=SMRTL;Share=Pos*0.25;Price=Ask+0.05;TIF=DAY+;BUY=Send;TriggerOrder=RT:STOP STOPTYPE:MARKET StopPrice:StopPrice ACT:BUY QTY:POS TIF:DAY+ ;CXL ALLSYMB;Route=SMRTL;Share=Pos*0.5;Price=Ask+0.05;TIF=DAY+;BUY=Send;TriggerOrder=RT:STOP STOPTYPE:MARKET StopPrice:StopPrice ACT:BUY QTY:POS TIF:DAY+ LONG: ;CXL ALLSYMB;Route=SMRTL;Share=Pos*0.25;Price=Bid-0.05;TIF=DAY+;SELL=Send;TriggerOrder=RT:STOP STOPTYPE:MARKET StopPrice:StopPrice ACT:SELL QTY:POS TIF:DAY+ ;CXL ALLSYMB;Route=SMRTL;Share=Pos*0.5;Price=Bid-0.05;TIF=DAY+;SELL=Send;TriggerOrder=RT:STOP STOPTYPE:MARKET StopPrice:StopPrice ACT:SELL QTY:POS TIF:DAY+ Share this post Link to post Share on other sites
JimBro 1 Posted July 5, 2021 Hi Britt, I see two conflicting statements Share=Pos*0.25, which would transact 25% of the position. Then at the end I see QTY:POS, which would transact the entire position. Seems you should take this statement out. Share this post Link to post Share on other sites