Dukascopy
 
 
Wiki JStore Search Login

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

    Submit JForex API function requests in this forum only.
    Off topics are strictly forbidden.

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

Extend IMessage.Type with dedicated reject reasons
 Post subject: Extend IMessage.Type with dedicated reject reasons Post rating: 1   New post Posted: Thu 29 Sep, 2016, 11:23 
User avatar

User rating: 11
Joined: Tue 27 Mar, 2012, 17:47
Posts: 111
Location: GermanyGermany
Hello Support,

the enum type IMessage.Type only provides the value ORDER_CHANGED_REJECTED in case a change request was rejected.
If one had requested a change of SL and TP in parallel and one of them(or both) is rejected you don't know if the change of SL or the change of TP was rejected.
I've managed to overcome this problem with complex queueing but it would be far more easy if the server would respond with something like ORDER_SL_CHANGE_REJECTED, or similiar.
So please, could you extend this enum with the following values:
ORDER_LABEL_CHANGE_REJECTED,
ORDER_GTT_CHANGE_REJECTED,
ORDER_AMOUNT_CHANGE_REJECTED,
ORDER_OPENPRICE_CHANGE_REJECTED
ORDER_SL_CHANGE_REJECTED,
ORDER_TP_CHANGE_REJECTED

Extending this enum would not affect other clients which only rely on ORDER_CHANGED_REJECTED.

Thanks for considering this,
Juergen


 

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