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.

Get executed takeprofit/stop loss price
 Post subject: Get executed takeprofit/stop loss price Post rating: 0   New post Posted: Thu 16 Aug, 2012, 05:25 

User rating: 0
Joined: Thu 09 Aug, 2012, 01:17
Posts: 9
After the TP/SL is triggered in an order, how can I use the API to determine the actual price(s) in the execution. getStopLossPrice()/getTakeProfitPrice() return the respective values that were set, but these will not necessarily be the prices that were used in the transaction (due the slippage or other reasons)


 
 Post subject: Re: Get executed takeprofit/stop loss price Post rating: 0   New post Posted: Thu 16 Aug, 2012, 08:34 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
mikec1 wrote:
After the TP/SL is triggered in an order, how can I use the API to determine the actual price(s) in the execution
IOrder.getClosePrice


 

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