Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

IOrder.getProfitLossInUSD()
 Post subject: IOrder.getProfitLossInUSD() Post rating: 0   New post Posted: Tue 19 Jul, 2011, 15:04 
User avatar

User rating: 6
Joined: Thu 19 May, 2011, 11:14
Posts: 235
Location: South Africa,
I am using IOrder.getProfitLossInUSD() and IOrder.getProfitLossInAccountCurrency() on historical orders (i.e. orders obtained from IHistory). Both of them seem to be returning the profits/losses in millions, and rounded to the nearest 0.0001 million (giving $100 resolution).

Is this normal?


 
 Post subject: Re: IOrder.getProfitLossInUSD() Post rating: 0   New post Posted: Tue 19 Jul, 2011, 15:16 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
This will be fixed with the next release.


 

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