Jump to content

Recommended Posts

Hello all,

I've reviewed all of the relevant comments and replies regarding the SSR hot key and I'm not certain what is or is not the correct answer. I do know that the SSR Hotkey in the Beta_V2.1.xlsx as follows does not work. 

DefShare=BP*0.97;Price=Price-Bid+0.01;SShare=40/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price=Bid-0.05;TIF=DAY+;SELL=Send;DefShare=400;

This is the error popup in DAS. 

image.png.29f5373eb26cd09f020783f5bbe06bca.png

Does anyone see the issue in the above script? My desired script would include a stop. 

Thanks all,

Tony

Share this post


Link to post
Share on other sites

This is how mine looks

 

StopPrice=Price+0;DefShare=BP*0.97;Price=Price-Ask+0;SShare=40/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price=Ask;TIF=DAY+;SELL=Send;DefShare=0;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice+0.3 ACT:BUY STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

 

  • Like 1

Share this post


Link to post
Share on other sites
14 hours ago, Abiel said:

This is how mine looks

 


StopPrice=Price+0;DefShare=BP*0.97;Price=Price-Ask+0;SShare=40/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price=Ask;TIF=DAY+;SELL=Send;DefShare=0;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice+0.3 ACT:BUY STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

 

Thanks Abiel! Works great! You're a genius dude! 

  • Like 1

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.