Jump to content

We have moved to Discord. Please click here to join us in the Trading Terminal Discord server.



These forums are read-only.

Britt C

Stream Deck Partial Errors

Recommended Posts

Britt C

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

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

[[Template core/front/global/mobileNavigation is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.