Dukascopy
 
 
Wiki JStore Search Login

JFOREX-3179 getAccountId() method return null
 Post subject: JFOREX-3179 getAccountId() method return null Post rating: 0   New post Posted: Thu 28 Jul, 2011, 19:47 

User rating: 3
Joined: Thu 28 Jul, 2011, 19:40
Posts: 72
Location: PolandPoland
Hi

If I use getAccountId() method using the DEMO account this method returns "" (empty string).
I use :
context.getConsole().getOut().println("account id: " + context.getAccount().getAccountId()); 


As a result I get: "account id: "

Is this a correct action? If I use the same method on LIVE account, then I also get an empty string instead of account ID?


 

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