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.

How to calculate profit and loss of the same day
 Post subject: How to calculate profit and loss of the same day Post rating: 0   New post Posted: Fri 28 Oct, 2011, 07:48 

User rating: 0
Joined: Thu 27 Oct, 2011, 09:27
Posts: 2
Location: PK
I want to calculate profit and loss from the start of the day till the current tick. Please help me code sample.


 
 Post subject: Re: How to calculate profit and loss of the same day Post rating: 0   New post Posted: Fri 28 Oct, 2011, 08:46 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please elaborate. Do you want it to be profit/loss of a particular order of a certain amount or you just want to know the effective market price change since the beginning of the day?


 

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