Topic: Trailing Stop Orders
(2 messages, Page 1 of 1)
Joined: Jun 13, 2013
I am having trouble submitting a trailing stop order.
I looked at the conversation in the following thread:
I have tried following the example above, but I cannot get it to work. I am using YMU3 in this case and the current price is: 14776
draft->Type = OEC::Data::OrderType::TrailingStopLoss;
draft->Price = 10;
I get a confirmation that the order is accepted, but immediately after the order is rejected with the message "Invalid absolute offset"
Is there something that I am doing wrong? Did I mis-interpret this thread?
Joined: May 08, 2007
I checked a couple of your trailing orders - you need to change Buy to Sell to make these orders with such price acting like a stop
Lead Software Developer