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.

GunnarKaufman

Understanding Hotkeys

Recommended Posts

GunnarKaufman

Hello Traders! 

I am new to the community and starting to get DAS setup and understand HotKeys. 

Having some trouble understanding how share size is determined by Hotkey scripts.

For example, when you setup a Range Order Hotkey for 1:2 risk reward as shown in the essentials course, the script automatically calculates your share size. 

This is the script: 

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

I assume it is using your account balance to do this? And if so, what if you only want to use a portion of your account balance on a particular trade, is there a way to define the exact amount of shares you want to buy or the percentage of your account balance you want to use on that particular trade, while still using Hotkeys? 

Share this post


Link to post
Share on other sites
zulkafil

Hello,

Das allocates memory location to different variables. Some variables are fixed for a day and some variables are dynamic. You can definitely use a portion of your balance, or you can define the number of shares. Update your script and assign variables accordingly.

Best of luck.

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.