Jump to content

Recommended Posts

https://dastrader.com/docs/how-do-i-use-hotkeys/

------------------------------------------

BUY $25000
CXL ALLSYMB; ROUTE=LIMIT;TIF=DAY+;Price=ASK+0.10; Share=25000/Price;BUY=Send

SHORT $25000
CXL ALLSYMB; ROUTE=LIMIT;TIF=DAY+;Price=Bid-0.10; Share=25000/Price;SELL=Send

 

Above scripts contain the rule to limit the price to no more than 10 cents above the ASK. (Ask+0.10) or 10 cents below the BID (Bid-0.10). Adjust this as necessary.
-----------------------------------------------

SELL 100%
CXL ALLSYMB; ROUTE=LIMIT;Price=Bid-0.10; Share=Pos;TIF=DAY+;SELL=Send;

COVER 100%
CXL ALLSYMB;ROUTE=LIMIT;Price=Ask+0.10; Share=Pos;TIF=DAY+;BUY=Send;

SELL 50%
CXL ALLSYMB; ROUTE=LIMIT; Price=Bid-0.10; Share=Pos*.5;TIF=DAY+;SELL=Send;

COVER 50%
CXL ALLSYMB;ROUTE=LIMIT;Price=Ask+0.10; Share=Pos*.5;TIF=DAY+;BUY=Send;

 

Above scripts contain the rule to limit the price to no more than 10 cents above the ASK. (Ask+0.10) or 10 cents below the BID (Bid-0.10). Adjust this as necessary.

-----------------------------------------

 

 

BUY a position based on 30% of your available BUYING POWER. So if your current available BP is $100,000, 30% is $30,000.

ROUTE=SMRTL;Price=Ask+0.05;Price=Round2;Share=BP*0.3;TIF=DAY+;BUY=Send

 

BUY a position based on 10% of your BUYING POWER:

ROUTE=SMRTL;Price=Ask+0.05;Price=Round2;Share=BP*0.1;TIF=DAY+;BUY=Send

 

Above scripts contain the rule to limit the price to no more than 5 cents above the ASK. (Ask+0.05). Adjust this as necessary.

 

https://dastrader.com/docs/how-do-i-check-the-required-bp-buying-power-for-an-order/

 

-----------------------------

EQUALIZED RISK HOTKEYS

 

 

For Long Entries and a $10 risk, stop order attached, and Target order of 1:1

CXL ALLSYMB;StopPrice=Price-0;DefShare=BP*0.925;Price=Ask-Price+0.00;SShare=10/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=SMRTL;Price= Ask+0.05;TIF=DAY+;BUY=Send;DefShare=200;Price=Ask-StopPrice*1+Ask;TriggerOrder=RT:STOP STOPTYPE:RANGE LowPrice:StopPrice HighPrice:Price ACT:SELL QTY:POS TIF:DAY+

 

For Short Entries and a $10 risk, stop order attached, and Target order of 1:1

CXL ALLSYMB;StopPrice=Price+0;DefShare=BP*0.925;Price=Price-Bid+0.00;SShare=10/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=SMRTL;Price=Bid-0.05;TIF=DAY+;SELL=Send;DefShare=200;Price=StopPrice-Bid*1;Price=Bid-Price;TriggerOrder=RT:STOP STOPTYPE:RANGE LowPrice:Price HighPrice:StopPrice ACT:BUY QTY:POS TIF:DAY+

 

 

Edited by onlyjava

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.