Kendrick C. 7 Posted May 20, 2020 (edited) I setup a hotkey to sell 25% of my position with the following scripts. SwitchTWnd;Route=LIMIT;TIF=DAY+;Price=Ask;TIF=DAY+;Share=Pos*0.25;SELL=Send Sometimes, DAS sells all of my stocks in live trading, which I did not intent to. I tought it was my mistake. Today, I verfied that DAS will occasionally (about 1 out of 10 times) sell all of my stocks with this script in sim trading. As I didn't see someone else reported this problem, I doubt it was due to SwitchTWnd command, which intents to switch focus to the Montage before the other commands. Here are some additional information. DAS Pro ver. 5.5.0.3 OrderServer ping 250ms QuoteServer1 ping 248ms Edited May 20, 2020 by Kendrick C. Share this post Link to post Share on other sites
Drew 4 Posted May 20, 2020 Hi Kendrick, I had a similar issue yesterday when I wanted a partial but it covered all. Andrew also said he pressed his partial hotkey but it covered all... odd day Share this post Link to post Share on other sites
Kendrick C. 7 Posted May 20, 2020 3 hours ago, Drew said: Hi Kendrick, I had a similar issue yesterday when I wanted a partial but it covered all. Andrew also said he pressed his partial hotkey but it covered all... odd day Yes, definitely a bug there. You can try the following script with focus in a chart window. SwitchTWnd;Share=Pos*0.5 The SwitchTWnd is a dangerous command. It will ignore its following commands randomly. Share this post Link to post Share on other sites