Dukascopy
 
 
Wiki JStore Search Login

Methods getCommission() and getBalance() are missing
 Post subject: Methods getCommission() and getBalance() are missing Post rating: 0   New post Posted: Tue 25 Oct, 2011, 03:58 

User rating: 0
Joined: Fri 23 Sep, 2011, 03:40
Posts: 2
Location: AustraliaAustralia
02:43:31 The method getCommission() is undefined for the type IOrder
02:43:31 The method getBalance() is undefined for the type IAccount


can not compile in JForex platform.


 
 Post subject: Re: Methods getCommission() and getBalance() are missing Post rating: 0   New post Posted: Sun 20 Nov, 2011, 06:12 

User rating: -
I had the same problem with getBalance, so i switched to getEquity. But it shouldn't be so.


 
 Post subject: Re: Methods getCommission() and getBalance() are missing Post rating: 0   New post Posted: Mon 21 Nov, 2011, 20:50 

User rating: 4
Joined: Mon 19 Sep, 2011, 09:55
Posts: 29
Location: Germany,
Of course you cannot compile; these methods are introduced in an api version far above that what is currently in use in jforex. You can use them with the standalone api. Or you can calculate the values yourself.


 

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