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.

Make it possible to change multiple parameters of a conditional order at once
 Post subject: Make it possible to change multiple parameters of a conditional order at once Post rating: 0   New post Posted: Mon 09 Feb, 2015, 20:01 
User avatar

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

suppose you want to change multiple paramters of a conditional order, say the label and the open price.
Currently you either have to use order.updatewait(...) or synchronize on message reception.
This complicates matters and is not necessary in my opinion.
A simple data structure with all changed order values would do and would avoid network traffic and synchronization.
It would also be a "one-shot" try or failure, since after successful changing the label, the open price change might fail, and we have to do some kind of rollback mechanism.
So, my proposal is something like: order.bulkUpdate(UpdateParams)

Thanks for comments on this.


 

Jump to:  

cron
  © 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