API Support Forum
OEC API > Advanced Order Management > Order Execution Flags - How do I use them?
Author Topic: Order Execution Flags - How do I use them?
(4 messages, Page 1 of 1)
Moderators: VPfau
JGronemus87
Posts: 14
Joined: Nov 28, 2007


Posted: Mar 27, 2008 @ 01:09 AM             Msg. 1 of 4
I would like to submit a limit order to buy or sell multiple contracts...2 or 3 at a time. I do not want to get a partial fill. I want the entire order filled or none of the order. The order can stay open indefinitely until filled. How do I send in the Order to guarantee no partial fills?

I tried Limit Order with AON flag and the order gets rejected. The other flags don't seem to give the desired result either.

How can I do this?

John
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Mar 27, 2008 @ 08:44 AM             Msg. 2 of 4
Sorry, but AON flag is not currently supported, and FOK orders would not stay indefinitely - so there is no order flag exactly matching your request.
JGronemus87
Posts: 14
Joined: Nov 28, 2007


Posted: Apr 01, 2008 @ 01:11 AM             Msg. 3 of 4
When will you support the AON flag? It is in your documentation.

John
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Apr 01, 2008 @ 08:23 AM             Msg. 4 of 4
Currently no exchange we have supports that flag.