|
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.
jClient - Reviewing an order that was auto closed by StopLoss or TakeProfit |
melisha
|
Post subject: jClient - Reviewing an order that was auto closed by StopLoss or TakeProfit |
Post rating: 0
|
Posted: Fri 13 Apr, 2018, 16:38
|
|
User rating: 0
Joined: Fri 09 Mar, 2018, 20:12 Posts: 3 Location: Israel,
|
Hi,
I would like to review the details of orders that were auto closed by StopLoss or TakeProfit.
I can store the ID or label but I didn't see a way to get CLOSED orders. Can I get them somehow? Or maybe get a callback or be notified when the order is closed...
I'm using DDS2-jClient-JForex 3.3.0 and JForex-API 2.13.49
Thanks.
|
|
|
|
 |
mtnfx
|
 |
Post subject: Re: jClient - Reviewing an order that was auto closed by StopLoss or TakeProfit |
Post rating: 0
|
Posted: Tue 17 Apr, 2018, 11:04
|
|
User rating: 18
Joined: Thu 20 Apr, 2017, 22:42 Posts: 165 Location: Russian Federation,
|
|
|
|
 |
melisha
|
Post subject: Re: jClient - Reviewing an order that was auto closed by StopLoss or TakeProfit |
Post rating: 0
|
Posted: Tue 17 Apr, 2018, 11:33
|
|
User rating: 0
Joined: Fri 09 Mar, 2018, 20:12 Posts: 3 Location: Israel,
|
Exactly what I needed. I can use context.getHistory().getHistoricalOrderById(orderId) or context.getHistory().getOrdersHistory(...)
Thanks!
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|