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.

ItsLippy

Sell All Hotkey

Recommended Posts

ItsLippy
I put in this hotkey script in Das Trader to sell all 100% of shares & its not working. What do I have wrong? Thanks
 
ROUTE=LIMIT;Price=BID+0.05;Price=Round2;Share=Pos*100;TIF=DAY+;SELL=Send

Share this post


Link to post
Share on other sites
zulkafil
On 12/31/2021 at 4:16 PM, ItsLippy said:
I put in this hotkey script in Das Trader to sell all 100% of shares & its not working. What do I have wrong? Thanks
 
ROUTE=LIMIT;Price=BID+0.05;Price=Round2;Share=Pos*100;TIF=DAY+;SELL=Send

Hi Lippy,

Look at the bold item

  • Price=Bid-0.05; (You are willing to sell at current bid price or even 5cent lower. Not + sign)
  • You don't need to round your price here since you are just placing a simple limit order to sell
  • Share=Pos; shall be fine for selling your entire position. Pos*100 means you are multiplying your position by 100

So the following script should work (I guess you are in SIM. Always try any new script in SIM first for safety.)

ROUTE=LIMIT;Price=Bid-0.05;Share=Pos;TIF=DAY+;SELL=Send

Best of luck.

Edited by zulkafil

Share this post


Link to post
Share on other sites
ItsLippy

Thank you guys, I appreciate your help & time. I tried it in the sim and it worked 👍

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.