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.

ahmerqureshi76

DAS placing Auto Short orders

Recommended Posts

ahmerqureshi76

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

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

@zulkafilthaks alot for your input, my original question was regarding DAS placing Short order automatically. Does your reply address this?

Sorry if i am coming across as dumb. I am pretty new to all this. 

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.