Calculating maximum loss on a position

Created at 17 Oct 2022, 12:18
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
MA

Calculating maximum loss on a position
17 Oct 2022, 12:18


I'm trying to calculate the maximum loss on a position (including commissions and swaps) and am having trouble figuring out how to calculate it:

 

I'm trying:

Is this the correct way?
How can I get swaps?

Are these values in the base currency of my account or the currency of the trade?

 


@manoj.clsd.kumar@gmail.com
Replies

... Deleted by UFO ...

PanagiotisChar
17 Oct 2022, 13:37

Hi there,

Swaps are not available in the API at the moment unfortunately. So you would need to add them manually as parameters and consider them in your calculation.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us


@PanagiotisChar