Jump to content

Hashim_MFin

Lifetime Members
  • Content Count

    2
  • Joined

  • Last visited

Posts posted by Hashim_MFin


  1. On 3/9/2021 at 5:54 PM, Bryan W said:

    The first one doesn't contain the trigger order for a stop. The second one is correct for including a stop if you have IB. If you don't have IB, change SMRTL to LIMIT for it to control the montage properly. If there is something in the script that DAS doesn't recognize, it just ignores that part.

    Thank you very much Bryan, it's working perfectly now (during market hours)

    • Like 1

  2. I do have the same issue, Stop order never filled. However, I have noted 2 different versions of the script not sure which one is the most updated one

     

    DefShare=BP*0.75;Share=DefShare*0.25*Price*0.01;Price=Ask-Price+0.01;SShare=Share/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price= Ask+0.05;TIF=DAY+;BUY=Send;DefShare=400;

    StopPrice=Price-0;DefShare=BP*0.925;Price=Ask-Price+0.00;SShare=150/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=SMRTL;Price= Ask+0.10;TIF=DAY+;BUY=Send;DefShare=200;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.10 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

    Thanks,

×
×
  • 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.