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.

Ids
 Post subject: Ids Post rating: 0   New post Posted: Fri 26 Jul, 2013, 12:19 

User rating: 0
Joined: Sat 08 Jun, 2013, 12:05
Posts: 71
Location: FranceFrance
there are:

the account username: https://www.dukascopy.com/client/javadoc/com/dukascopy/api/IAccount.html#getUserName()

the account's id: https://www.dukascopy.com/client/javadoc/com/dukascopy/api/IAccount.html#getAccountId()

the client's id: (one if a normal account, multiple if a PAMM)
https://www.dukascopy.com/client/javadoc/com/dukascopy/api/IClientInfo.html#getClientId()

First one if the one to login with, with password, so I guess it's unique in dukascopy
the others id's are also strings, but in form of numbers, are they unique? or should I prefix them with username?
Thanks

The other issue is I was using Engine.getAccount() which is marked as deprecated
I have the latest jforex sources in the maven dependancies, and still IAccount.getUserName isn't availbale


 
The Best Answer  Post subject: Re: Ids Post rating: 0   New post Posted: Fri 26 Jul, 2013, 12:43 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Both usernames and ids are unique.


 

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