API Support Forum
OEC API > API Support > Why order get rejected?
Author Topic: Why order get rejected?
(3 messages, Page 1 of 1)
Moderators: VPfau
eo707
Posts: 68
Joined: Nov 08, 2011


Posted: Jan 26, 2012 @ 02:48 PM             Msg. 1 of 3
Will you check on my api account.
Order Id: 20218668
This order got rejected, and other orders as well.

In the contract that I am trading, the amount per tick is $10, then I set OSO, and I believe that the main is sent, but the linked is failed...

Since it is a trailing stop, I am kept with open orders.
The funny thing is that the amount per tick is not in steps of $10..
You can see in my history other orders that holds amounts of $??.33

If there is something I can do in my end, please let me know.
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Jan 26, 2012 @ 03:30 PM             Msg. 2 of 3
This order was rejected with reason "Wrong stop price of trailing stop order"

Victor Vins
Lead Software Developer
eo707
Posts: 68
Joined: Nov 08, 2011


Posted: Jan 26, 2012 @ 04:22 PM             Msg. 3 of 3
So, if an OSO order is rejected, why it is half completed?
Can I set that if the trailing stop will not work then the main order will not be filled?