Jump to content
ItsLippy

Sell All Hotkey

Recommended Posts

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
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

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.