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.

Clarification on mandatory delay for Order operations
 Post subject: Clarification on mandatory delay for Order operations Post rating: 1   New post Posted: Thu 10 Apr, 2014, 16:27 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
I know that if a single client performs some order
operation, such as changing the price, then it must
wait 1 second before attempting another operation
on the same order.

But I was wondering, what if 2 API Strategy clients modify
order price, and they are not coordinated in any
way, such that A modifies, then B happens to
modify the same order, within the one second
mandatory delay.

Will this throw an exception for Strategy client
B ?

In other words, is the timing enforced by the
server, or in the API client, on a per-client
basis?

The reason I'm asking this is that I have a
customer who introduced a secondary Strategy
which modifies orders. If these modifications
happen to fall within the one second window,
then that would introduce errors, conflicting
with the primary strategy's order operations.

Thanks for clarifying this,
HyperScalper


 
 Post subject: Re: Clarification on mandatory delay for Order operations Post rating: 0   New post Posted: Fri 11 Apr, 2014, 10:10 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
hyperscalper wrote:
I know that if a single client performs some order
operation, such as changing the price, then it must
wait 1 second before attempting another operation
on the same order.
To be precise - not "another operation", but the "another operation of the same kind".
hyperscalper wrote:
But I was wondering, what if 2 API Strategy clients modify
order price, and they are not coordinated in any
way, such that A modifies, then B happens to
modify the same order, within the one second
mandatory delay.

Will this throw an exception for Strategy client
B ?

In other words, is the timing enforced by the
server, or in the API client, on a per-client
basis?
No.


 

Jump to:  

  © 1998-2025 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