|
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 |
|
zafaransari
|
| Post subject: How to calculate profit and loss of the same day |
Post rating: 0
|
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.
|
|
|
|
|
 |
|
API Support
|
| Post subject: Re: How to calculate profit and loss of the same day |
Post rating: 0
|
Posted: Fri 28 Oct, 2011, 08:46
|
|
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?
|
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|