Hi Guys !
EDIT: Oops !! My mistake. The server used account.getBalance() instead
of account.getEquity() which I should have used. Sorry.....
<this post is incorrect>
I'm running an API Client on a linux server, which operates about 8 concurrent Strategies.
I notice that the Demo platform equity doesn't seem to agree with what
the API server sees.
You can see the server thinks the account equity is $49,822.50, but
the platform says about $49,749.90 in the same demo account. This is
when all positions are flat in the same account.
The API server gets the value in the Strategy's onAccount, using
account.getEquity() and the currency symbol is USD.
The Demo JForex platform is running in the U.S. on my local computer, and the server
is an Amazon EC2 instance in the EU (Ireland) Amazon region. I double
checked that they are logged into the same demo account.
I must be misinterpreting something. Why would there be a difference?
I believe both are calculated in USD currency.
HyperScalper
