0

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+;
New contributor
Artyom Gishyan is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.