ahmerqureshi76 0 Posted December 17, 2021 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 38 Posted December 17, 2021 On 12/17/2021 at 4:52 PM, 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. 1 Share this post Link to post Share on other sites
ahmerqureshi76 0 Posted December 18, 2021 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 38 Posted December 19, 2021 On 12/18/2021 at 11:39 PM, 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 Buying 100 shares with a limit order [ROUTE=SMRTL; is specific for IB, you can use ROUTE= LIMIT;] 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;] 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.. 1 Share this post Link to post Share on other sites
ahmerqureshi76 0 Posted December 19, 2021 @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