Jump to content
ahmerqureshi76

DAS placing Auto Short orders

Recommended Posts

Hi Guys, rookie question, i am new to this, working on SIM, when i do trades (only longs), from time to time DAS automatically place some short orders. I m sure there is something i am doing wrong, Would appreciate your help in identifying my mistake.

Thanks in advance. 

 

Share this post


Link to post
Share on other sites
4 hours ago, ahmerqureshi76 said:

Hi Guys, rookie question, i am new to this, working on SIM, when i do trades (only longs), from time to time DAS automatically place some short orders. I m sure there is something i am doing wrong, Would appreciate your help in identifying my mistake.

Thanks in advance.

Are you opening a long position with any custom script / Hotkey? Please provide your script or more details about how you are opening a long position.

Best of luck.

  • Like 1

Share this post


Link to post
Share on other sites

Hi @zulkafil, Yes i did use these Hotkeys from DAS layout available on BBT. Thanks for helping me with this 

Buy 100:    ROUTE=SMRTL; Share=100; Price=Ask+0.10;TIF=DAY+;BUY=Send;

Sell 25%:   CXL ALLSYMB; Share=Pos*0.25;ROUTE=SMRTM;TIF=DAY+;SELL=Send;TriggerOrder=RT:STOP STOPTYPE:MARKET STOPPRICE:AvgCost PX:AVGCOST ACT:SELL QTY:POS TIF:DAY+

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

Share this post


Link to post
Share on other sites
44 minutes ago, ahmerqureshi76 said:

Hi @zulkafil, Yes i did use these Hotkeys from DAS layout available on BBT. Thanks for helping me with this 

Buy 100:    ROUTE=SMRTL; Share=100; Price=Ask+0.10;TIF=DAY+;BUY=Send;

Sell 25%:   CXL ALLSYMB; Share=Pos*0.25;ROUTE=SMRTM;TIF=DAY+;SELL=Send;TriggerOrder=RT:STOP STOPTYPE:MARKET STOPPRICE:AvgCost PX:AVGCOST ACT:SELL QTY:POS TIF:DAY+

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

Hi,

Your orders are pretty simple

  1. Buying 100 shares with a limit order [ROUTE=SMRTL; is specific for IB, you can use ROUTE= LIMIT;]
  2. Selling 25% of a open position (market order) and placing an stop order at average cost [ROUTE=SMRTM; is specific for IB, you can use ROUTE= MARKET;]
  3. Selling 100% with a limit order

I mentioned a little bit about your above scripts, so you can get an idea about each script (or you already know that). As I mentioned in the beginning, the scripts are very simple. I can explain more details but I will suggest that you read the following post..

 

Since you are working on SIM, it is good to know that SIM doesn't depend on Brokers for route.

Best of luck..

  • Like 1

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.