API Support Forum
OEC API > Order Execution > Iceberg Order superfluous Fills
Author Topic: Iceberg Order superfluous Fills
(2 messages, Page 1 of 1)
Moderators: VPfau
WWatson950
Posts: 1
Joined: Mar 30, 2015


Posted: Jun 05, 2015 @ 10:03 AM             Msg. 1 of 2
When an Iceberg order is filled, I receive two (for all I can see) identical callbacks for each fill.

Example:

I place an Iceberg buy order for quantity 3 ESM5 with a SetIcebergData(1) call at a price guaranteed to be filled immediately.

It is, in fact, filled completely and immediately, but I get six callbacks through OnOrderFilled - there are three pairs of two identical fills (in that the Fill class ID property is the same for each of the pairs.) I can't make any sense of this for adjusting my positions. I checked and this behavior is the same for the CppCOMSample application provided by OEC (after I make the change to force the order type to Iceberg and manually do the SetIcebergData call.)

Can anyone shed some light on this for me?

S.W.

William Watson
ETrifonov
Posts: 36
Joined: Feb 09, 2015


Posted: Jun 18, 2015 @ 12:13 PM             Msg. 2 of 2
Hello, William.

Thank you for reporting.

In some cases this may occur.
You should implement additional check in such situations.
Our client applications do such checks.

But this will be fixed in next release.

Regards,
Evgeny.

Evgeny