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.

jClient - Reviewing an order that was auto closed by StopLoss or TakeProfit
 Post subject: jClient - Reviewing an order that was auto closed by StopLoss or TakeProfit Post rating: 0   New post 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.


 
The Best Answer  Post subject: Re: jClient - Reviewing an order that was auto closed by StopLoss or TakeProfit Post rating: 0   New post Posted: Tue 17 Apr, 2018, 11:04 

User rating: 18
Joined: Thu 20 Apr, 2017, 22:42
Posts: 165
Location: Russian Federation,
You can try this https://www.dukascopy.com/swiss/english ... 65&t=55807


 
 Post subject: Re: jClient - Reviewing an order that was auto closed by StopLoss or TakeProfit Post rating: 0   New post 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!


 

Jump to:  

cron
  © 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