Dukascopy
 
 
Wiki JStore Search Login

JFOREX-2647 Tester account equity is incorrect in OnStart()
 Post subject: JFOREX-2647 Tester account equity is incorrect in OnStart() Post rating: 0   New post Posted: Tue 18 Jan, 2011, 13:35 

User rating: 0
Joined: Tue 10 Nov, 2009, 16:58
Posts: 65
running in the testr. in OnStart() of a strategy, call the following:

double equity = context.getAccount().getEquity();

equity is always zero.


 

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