benjhayden91 0 Posted April 2 Hey, I'm having issues with hotkeys in DAS. I just want to place long or short orders for 100, 200, 300 shares etc. Then I want to be able to place a Stop Loss about 20 cents away from my position. I also use the Move Stop To Breakeven script. I also use sell/cover 5%, sell/cover all hotkeys. When I place a long order of say 100 shares, it works fine. Then I use the Add Stop Loss - 20 cents hotkey which works fine too. However, after adding this, it then changes the montage order to "Stop" permanently and I have to manually go in and change back to limit. After adding the S/L, if I press Buy 100 shares, it comes up as an OCO order. If I try to sell the 100 shares using my sell hotkey, it also comes up as an OCO. I just want to place simple orders but seems like either I'm missing something or DAS is just awkward to use. Also, after using breakeven hotkey, it does the same and rejects my order when I try to sell/cover positions. Some help would be much appreciated as the only way around this is to change ticker then change back to the ticker which I have a position in to refresh the montage, but this could lose precious seconds! Below are my hotkeys: Long 100 Shares: Route=SMRTL;Price=Ask+0.05;Share=100;TIF=DAY;BUY=SEND Short 100 Shares: Route=SMRTL;Price=Bid-0.05;Share=100;TIF=DAY;SELL=SEND Sell 5% ROUTE=SMRTL;Price=Bid;Price=Round2;Share=Pos*0.05;TIF=DAY+;SEND=Reverse Cover 5% ROUTE=SMRTL;Price=Ask;Price=Round2;Share=Pos*0.05;TIF=DAY+;SEND=Reverse Add Stop Loss -20 cents ROUTE=STOP;StopType=Market;StopPrice=AvgCost-0.20;Share=Pos;TIF=DAY+;SELL=Send; Move S/L to breakeven ALLSYMB;Route=Stop;Price=AvgCost;StopType=MARKET;STOPPRICE=AvgCost;StopPrice=Round2;Share=Pos;TIF=DAY;Send=Reverse Share this post Link to post Share on other sites
peterB 322 Posted April 2 multiple issues here. the order rejection is probably because of the existing orders. you need to cancel the existing stop orders first before placing a new one, otherwise you can hit the buying power limit the other issue might be a subject of the default trading preset or can be probably fixed by addin some dummy order at the end of your stop loss order hotkey. you might reconsider completely your usage of the hotkeys - like i explain here https://traderpeter.substack.com/p/das-trader-advanced-hotkeys-part Share this post Link to post Share on other sites
benjhayden91 0 Posted April 3 Great thanks for your help! I've tried out your Stop loss hotkey which works great but still trying to figure out how to avoid the montage order rout changing to stop, any ideas? Not sure if there is a way to permanently set the order route to Market? Share this post Link to post Share on other sites
peterB 322 Posted April 8 you can add a route=SMRTL; at the end of each of your scripts. i am affraid that the idea behind your requirement is false Share this post Link to post Share on other sites