I'm a trader and developer using DASTrader. I implemented a hotkey script (based on the documentation) to place profit-target and stop-loss orders for positions, but the stop order is not working. Could you help me identify what's wrong?
ROUTE=MARKET;Share=100;TIF=DAY+;BUY=Send;
OCO=RT:STOP STOPTYPE:LIMIT STOPPRICE:(AvgCost*0.95) PX:(AvgCost*0.949) ACT:SELL QTY:Pos TIF:DAY+
RT:LMT PX:(AvgCost*1.08) ACT:SELL QTY:Pos TIF:DAY+;