API Support Forum
OEC API > API Support > Partial Fills
Author Topic: Partial Fills
(5 messages, Page 1 of 1)
Moderators: VPfau
TRies
Posts: 22
Joined: Mar 22, 2012


Posted: Nov 06, 2012 @ 12:07 PM             Msg. 1 of 5
Please explain how do partial fills reflect in the order book. If a order state reads completed does mean that the order is completed or it can still be a partial fill? How do we recognize a partial fill?

Thomas Ries
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Nov 09, 2012 @ 01:32 PM             Msg. 2 of 5
If order got Competed status, it means this order will not receive any new fills.

Victor Vins
Lead Software Developer
TRies
Posts: 22
Joined: Mar 22, 2012


Posted: Nov 12, 2012 @ 12:22 PM             Msg. 3 of 5
But how does one differentiate if an order is partially filled and still has a Completed status as against something which is completely filled with a completed status.

Thomas Ries
TRies
Posts: 22
Joined: Mar 22, 2012


Posted: Nov 12, 2012 @ 12:29 PM             Msg. 4 of 5
also, in the api documentation it states that this will be represented in the Filled Quantity field however the filled quantity field is reporting zero. therefore in the simulated in environment what in the order log indicates the quantity of a partial fill

Thomas Ries
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Nov 12, 2012 @ 12:58 PM             Msg. 5 of 5
You need to compare http://www.openecry.com/api/api/OEC.API.FillList.TotalQuantity.html with http://www.openecry.com/api/api/OEC.API.Order.Quantity.html. If http://www.openecry.com/api/api/OEC.API.Order.CurrentState.html - Completed and values above are equal, order completed and fully filled. If filled value is less than order quantity - order completed and partially filled.

"filled quantity field is reporting zero" - what field do you mean?

Victor Vins
Lead Software Developer