|
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 can I take full information from history about orders which was partial closed? |
janjjj
|
Post subject: How can I take full information from history about orders which was partial closed? |
Post rating: 0
|
Posted: Wed 14 May, 2014, 14:44
|
|
User rating: 3
Joined: Thu 28 Jul, 2011, 19:40 Posts: 72 Location: PolandPoland
|
Hello,
I want to take some information about my historical ordes, so I use history.getOrdersHistory(...) method.
Now if I had partialy closed order, and then it was fully closed (generally it was closet in two parts), in this historical orders i have only information about second part of order. I mean if i use methods like IOrder.getProfitLossInAccountCurrency(), IOrder.getCommission()... etc. I receive onformation only about second part of the order, and about first part of the order there is no information.
I know that I can also use IOrder.getCloseHistory(), but here I do not have any information about profitLoss or commisions (only about amount, close time and close price).
Please help.
|
|
|
|
|
API Support
|
Post subject: Re: How can I take full information from history about orders which was partial closed? |
Post rating: 0
|
Posted: Wed 14 May, 2014, 15:16
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
The position history will be fixed with JForex-API 3.0.
|
|
|
|
|
janjjj
|
Post subject: Re: How can I take full information from history about orders which was partial closed? |
Post rating: 0
|
Posted: Wed 14 May, 2014, 17:55
|
|
User rating: 3
Joined: Thu 28 Jul, 2011, 19:40 Posts: 72 Location: PolandPoland
|
OK thanks.
When we can expect JForex API version 3.0?
I understand that now it is not possible to take information about partial close orders?
Regards
|
|
|
|
|
API Support
|
Post subject: Re: How can I take full information from history about orders which was partial closed? |
Post rating: 0
|
Posted: Thu 15 May, 2014, 16:02
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
janjjj wrote: When we can expect JForex API version 3.0? It will come with the JForex-SDK release for JForex4. There is no timeline for it as of now. janjjj wrote: I understand that now it is not possible to take information about partial close orders? Not from history. You can only collect this data from active positions.
|
|
|
|
|
janjjj
|
Post subject: Re: How can I take full information from history about orders which was partial closed? |
Post rating: 0
|
Posted: Mon 26 May, 2014, 13:58
|
|
User rating: 3
Joined: Thu 28 Jul, 2011, 19:40 Posts: 72 Location: PolandPoland
|
OK thanks. Quote: Not from history. You can only collect this data from active positions.
But how I can collect information (profit/loss, commissions) about partial closed orders from active positions? I have information only about part of the order which is still opened. Can I also have this informationa about part of order which was closed?
|
|
|
|
|
API Support
|
Post subject: Re: How can I take full information from history about orders which was partial closed? |
Post rating: 0
|
Posted: Mon 26 May, 2014, 14:19
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
janjjj wrote: But how I can collect information (profit/loss, commissions) about partial closed orders from active positions?
I have information only about part of the order which is still opened. Can I also have this informationa about part of order which was closed?
|
|
|
|
|
fxdiler
|
Post subject: Re: How can I take full information from history about orders which was partial closed? |
Post rating: 0
|
Posted: Wed 13 Jul, 2022, 05:51
|
|
User rating: 7
Joined: Thu 05 Sep, 2013, 12:43 Posts: 56 Location: Russian Federation, Tomsk
|
Hello,
Let's up this 8 years ago topic. Current JForex API version is 4.0.28. Is there any solution how to get information about profit/loss and commission for orders which was partial closed?
|
|
|
|
|
|
Pages: [
1
]
|
|
|
|
|