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.

Any way to know the total cost of this trade at the time of placing the trade with Stop Loss & Profit level
 Post subject: Any way to know the total cost of this trade at the time of placing the trade with Stop Loss & Profit level Post rating: 0   Post Posted: Fri 15 Mar, 2013, 17:56 

User rating: 0
Joined: Fri 15 Mar, 2013, 17:45
Posts: 1
Dear Support team,

Would really appreciate if you could help.

Is there anyway for me to know the total loss & profit at the time of placing the current trade with the Stop Loss & Take Profit valued entered?
This is important for me as my Risk:Ratio is variable.

Thank you.

Best wishes,

FC


 
 Post subject: Re: Any way to know the total cost of this trade at the time of placing the trade with Stop Loss & Profit level Post rating: 0   Post Posted: Mon 18 Mar, 2013, 08:29 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
See:
https://www.dukascopy.com/client/javadoc/com/dukascopy/api/IOrder.html#getProfitLossInAccountCurrency()
For usage example see:
https://www.dukascopy.com/wiki/#Order_Management/Position_aggregated_profit/loss


 

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