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.

onMessage-events with multiple logins
 Post subject: onMessage-events with multiple logins Post rating: 0   New post Posted: Sat 25 Sep, 2010, 14:14 
User avatar

User rating: 3
Joined: Wed 18 May, 2011, 16:25
Posts: 331
Location: SwitzerlandSwitzerland
Dear support,

if there are 2 logins to one account at the same time, IMessages will be sent to all clients.
What happens, if an order-IMessage can successfuly get delivered to client A, but - e.g. due to temporary problems with the internet connection - not to the other client B?

How does DukasCopy handle this situation:
a) Will client B still receive the message when the connection is up again?

b) Or are there chances that client B will lose out this message?

c) For how long will messages that cannot be sent, be queued at DukasCopy? Is there a timeout period?

d) What happens if a message cannot get delivered to any of the clients (within a timeout period)?

e) Is there a way to retrieve historic messages?

Thanks a lot for your feedback!
Best regards, RR.


 
 Post subject: Re: onMessage-events with multiple logins Post rating: 0   New post Posted: Mon 27 Sep, 2010, 08:31 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
all messages during dosconnect are lost. After client reconnects we do synchronize order lists and for any changes in orders send IMessage with correct type for the change.

There is no way to retrive historical IMessages


 
 Post subject: Re: onMessage-events with multiple logins Post rating: 0   New post Posted: Wed 29 Sep, 2010, 18:00 
User avatar

User rating: 3
Joined: Wed 18 May, 2011, 16:25
Posts: 331
Location: SwitzerlandSwitzerland
>> all messages during dosconnect are lost. After client reconnects we do synchronize order lists and for any changes in orders send IMessage with correct type for the change.<<

ok, I think I understand. Just to go sure:
The synchronize check is performed for each client independantly of each other.

Example:
client1 logged on to account xyz stays connected and receives all messages for period1
client2 logged on to same account xyz gets disconnected in period1. After client2 connects again it will receive all change-messages from its very own synchronize-change-check against the order list on the server?

Is that correct?

Thanks, RR.


 
 Post subject: Re: onMessage-events with multiple logins Post rating: 0   New post Posted: Mon 04 Oct, 2010, 08:12 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
RoadRunner wrote:
The synchronize check is performed for each client independantly of each other.

Yes, that's correct


 

Jump to:  

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