Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

ORDER_FILLED notifications missing?
 Post subject: ORDER_FILLED notifications missing? Post rating: 0   New post Posted: Thu 11 Sep, 2014, 14:56 

User rating: 6
Joined: Tue 02 Jul, 2013, 16:52
Posts: 38
Hello,

Until yesterday, I always received ORDER_FILLED notifications through onMessage (IMessage.getType()=NOTIFICATION) in my strategies. Since yesterday, there are 3 ORDER_FILLED notifications which never arrived whereas the close order was actually filled.

Yesterday I also upgraded my pom.xml to use DDS2-jClient-JForex 2.39 (instead of 2.36) for latest API.

I will revert to 2.36 and hope that I will receive all notifications. I actually need them.

Do you think this issue is related to the upgrade to 2.39 and API 2.10.1? Any possible explanation to these missing ORDER_FILLED notifications?

Thank you in advance


 
 Post subject: Re: ORDER_FILLED notifications missing? Post rating: 0   New post Posted: Fri 12 Sep, 2014, 15:23 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
fxbird wrote:
Until yesterday, I always received ORDER_FILLED notifications through onMessage (IMessage.getType()=NOTIFICATION) in my strategies. Since yesterday, there are 3 ORDER_FILLED notifications which never arrived whereas the close order was actually filled.
The message contents are not part of the JForex-API, thus, they are subject to change with future releases. Here are the order state and message workflows:
https://www.dukascopy.com/wiki/#Order_state/Market_order_states_diagram
https://www.dukascopy.com/wiki/#Order_state/Conditional_order_states_diagram


 
 Post subject: Re: ORDER_FILLED notifications missing? Post rating: 0   New post Posted: Fri 12 Sep, 2014, 17:54 

User rating: 6
Joined: Tue 02 Jul, 2013, 16:52
Posts: 38
That notification was the only workaround I found to get the Order ID. If you know any other way to get it, please let me know (the Trade ID would work also instead of the Order ID).

Thank you for the workflows.


 
 Post subject: Re: ORDER_FILLED notifications missing? Post rating: 0   New post Posted: Mon 15 Sep, 2014, 07:47 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
If you want to get particular close and fill orders see:
https://www.dukascopy.com/wiki/#Partial_Fills_and_Closes


 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com