Jump to content
Britt C

Stream Deck Partial Errors

Recommended Posts

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

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.