How to calculate swap

Created at 26 May 2020, 14:49
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!
douglascvas's avatar

douglascvas

Joined 02.01.2018

How to calculate swap
26 May 2020, 14:49


 Hi, could someone please tell me how can I calculate swap for some symbol?

I have tried every possible formula in the internet and no one matches what I got from cTrader in a demo account.

 

Symbol: EURUSD

Account currency: AUD

Position type: SELL

Volume: 1000 units (0.01 lot)

Position open time: 19/09/2019 07:35:39.734

Rollover times can be seen in the image.

Symbol swap rate long : -0.42

Symbol swap rate short : -0.02

EURUSD rate at 21:00:34 = 1.10408

AUDUSD rate at 21:00:34 = 0.67931

 

How can I calculate those 0.09 AUD?

 

---------------------------------

EDIT:

Another one even crazier:


Symbol: EURUSD

Account currency: AUD

Position type: BUY

Volume: 8000 units (0.08 lot)

Position open time: 07/05/2019 00:52:27.32

Position close time: 21/06/2019 17:19:44.653

Rollover times can be seen in the image.

Symbol swap rate long : -0.42 (according to cTrader API; -0.38 according to icMarkets webpage)

EURUSD rate at open time = 1.12039

AUDUSD rate at open time = 0.69955

EURUSD rate at 21:59:05 (rollover time) = 1.11937

AUDUSD rate at 21:59:05 (rollover time) = 0.70121 (=1.42610 USDAUD)

 

According to what support from icMarkets told me, the formula is (Pip value for 1 lot x No of lots x Swap rate in Points x Number of nights) / 10

If I do that already for the first day I get:

Pip value for 1 lot (USD) = (1.42610 * 100,000 * 0.0001) = 14.261 AUD

No of lots0.08

Swap rate: -0.42

Total (using cTrader API swap of -0.42) = (14.261 * 0.08 * -0.42 * 1) / 10 = -0.048 AUD

Total (using icMarket swap of -0.38) = (14.261 * 0.08 * -0.38 * 1) / 10 = 0.03761 USD = -0.043 AUD

 

How on earth can someone get -1.36 AUD?

 

 

 

 


@douglascvas
Replies

firemyst
28 May 2020, 12:33 ( Updated at: 21 Dec 2023, 09:22 )

RE:

douglascvas said:

 Hi, could someone please tell me how can I calculate swap for some symbol?

I have tried every possible formula in the internet and no one matches what I got from cTrader in a demo account.

 

Symbol: EURUSD

Account currency: AUD

Position type: SELL

Volume: 1000 units (0.01 lot)

Position open time: 19/09/2019 07:35:39.734

Rollover times can be seen in the image.

Symbol swap rate long : -0.42

Symbol swap rate short : -0.02

EURUSD rate at 21:00:34 = 1.10408

AUDUSD rate at 21:00:34 = 0.67931

 

How can I calculate those 0.09 AUD?

 

---------------------------------

EDIT:

Another one even crazier:


Symbol: EURUSD

Account currency: AUD

Position type: BUY

Volume: 8000 units (0.08 lot)

Position open time: 07/05/2019 00:52:27.32

Position close time: 21/06/2019 17:19:44.653

Rollover times can be seen in the image.

Symbol swap rate long : -0.42 (according to cTrader API; -0.38 according to icMarkets webpage)

EURUSD rate at open time = 1.12039

AUDUSD rate at open time = 0.69955

EURUSD rate at 21:59:05 (rollover time) = 1.11937

AUDUSD rate at 21:59:05 (rollover time) = 0.70121 (=1.42610 USDAUD)

 

According to what support from icMarkets told me, the formula is (Pip value for 1 lot x No of lots x Swap rate in Points x Number of nights) / 10

If I do that already for the first day I get:

Pip value for 1 lot (USD) = (1.42610 * 100,000 * 0.0001) = 14.261 AUD

No of lots0.08

Swap rate: -0.42

Total (using cTrader API swap of -0.42) = (14.261 * 0.08 * -0.42 * 1) / 10 = -0.048 AUD

Total (using icMarket swap of -0.38) = (14.261 * 0.08 * -0.38 * 1) / 10 = 0.03761 USD = -0.043 AUD

 

How on earth can someone get -1.36 AUD?

 

 

 

 

I don't believe there's a ways to do it at the moment. All you can do is read the swap after it happens.

@Panagiotis can confirm.

 


@firemyst

PanagiotisCharalampous
28 May 2020, 15:55

Hi douglascvas,

The deals are from a year ago. How do you know what the swap rate was at that time?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

douglascvas
28 May 2020, 16:07

RE:

PanagiotisCharalampous said:

Hi douglascvas,

The deals are from a year ago. How do you know what the swap rate was at that time?

Best Regards,

Panagiotis 

Join us on Telegram

 

Hi Panagiotis. True, that might have changed as I am using the current swap rate that comes in the Symbol in cTrader Open API. But judging by the swap rates from other brokers, which are always close in value to these, I don't believe there is such a huge difference for the swap from one year ago. But in fact is one possibility. I will check most recent trades.


@douglascvas

PanagiotisCharalampous
28 May 2020, 16:10

Hi douglascvas,

Swap rates change quite often, usually every week. Yes please repeat the experiment and record the actual swaps. Let me know if you still have trouble with this.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous