API Support Forum
OEC API > API Support > Client_OnOrderFilled occures more than once
Author Topic: Client_OnOrderFilled occures more than once
(5 messages, Page 1 of 1)
Moderators: VPfau
YYogev
Posts: 18
Joined: Apr 21, 2010


Posted: Apr 29, 2010 @ 02:20 PM             Msg. 1 of 5
Why am keep getting this event mire than once?
I have an order with, 1 quantity = buy.
It works as expected. the event is fired once.
I place a second order 1 Sell. I keep getting the event twice.
?

What is the logic behind this?

Yogev Cohen
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Apr 29, 2010 @ 02:22 PM             Msg. 2 of 5
Could you please specify order #?
YYogev
Posts: 18
Joined: Apr 21, 2010


Posted: Apr 29, 2010 @ 03:06 PM             Msg. 3 of 5
Do you mean the ticket number?
or do you mean the Total number of orders?


1. This is the scenario:
I place 1 order Buy ticket number :201087940
One time the event is fired.

then I place 1 order Sell ticket number :201087941
the event is fired twice (ticket number: 201087940,201087941).


How come?

Yogev Cohen
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Apr 29, 2010 @ 03:18 PM             Msg. 4 of 5
I don't see any issues from our side: according our logs all fills were sent as expected. Could you reproduce it with OEC API Advanced Example?
YYogev
Posts: 18
Joined: Apr 21, 2010


Posted: Apr 29, 2010 @ 03:36 PM             Msg. 5 of 5
I see, Let me check my side.
10x

Yogev Cohen