Dukascopy
 
 
Wiki JStore Search Login

historical tester - account UserName
 Post subject: historical tester - account UserName Post rating: 0   New post Posted: Fri 19 Jul, 2013, 18:26 

User rating: 1
Joined: Sun 20 May, 2012, 09:29
Posts: 22
Location: Czech Republic, programmer
Dear support,

java version "1.7.0_25"
JForex 2.25.7

If I run code below in HT
    public void onStart(IContext context) throws JFException {
       
        final IAccount account = context.getAccount();
       
        console.getInfo().println("AccountId: '" + account.getAccountId() + "'");
        console.getInfo().println("UserName: '" + account.getUserName() + "'");


I will get user name equal to NULL,
09:32:15 UserName: 'null'
09:32:15 AccountId: ''


but If I run Dukascopy tester in Eclipse, I will get demo user name
09:32:15 UserName: 'DEMO...'
09:32:15 AccountId: ''


Please, can you tell expected UserName from your point of view?


 

Jump to:  

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