API Support Forum
OEC API > Advanced Order Management > How to place order with trailing stop
Author Topic: How to place order with trailing stop
(2 messages, Page 1 of 1)
Moderators: VPfau
HKusumakar79
Posts: 21
Joined: Feb 18, 2008


Posted: Feb 21, 2008 @ 06:12 AM             Msg. 1 of 2
I want to place order with trailing stop. is there any function of it?
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Feb 21, 2008 @ 08:47 AM             Msg. 2 of 2
Yes, you can do it. Just set order type to TralingStopLoss or TralingStopLimit and call OrderDraft.SetTSData method with current price and trailing step in parameters before submitting the order.