Margin calculation

Created at 06 Jan 2022, 01:15
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!
CT

ctid4854686

Joined 06.01.2022

Margin calculation
06 Jan 2022, 01:15


Dear staff,

I'm currently working on a cBot and I somehow have the impression,

that backtesting is not working correctly.

 

My issue is that the used margin seems to be calculated wrongly. 

For instance, when I run the backtesting I open one buy position with 2 lots and one sell position with one lot on GERMANY 30.

The used margin that's getting displayed is 318,19€

where it should be around 800€ per lot so in total about 2400€ tho as that's what is stated when I try to open a position regularly

Is this a known issue, 

or did I misunderstand something here?

 

Many thanks


@ctid4854686
Replies

PanagiotisCharalampous
07 Jan 2022, 12:42

Hi there,

The reason this happens is because backtesting takes into consideration the account's leverage and not the symbol's leverage. We plan to add this feature in a future update.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

ctid4854686
07 Jan 2022, 16:02

RE:

PanagiotisCharalampous said:

Hi there,

The reason this happens is because backtesting takes into consideration the account's leverage and not the symbol's leverage. We plan to add this feature in a future update.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

Ah ok thanks.

Am I able to trade with higher leverage than the symbols leverage, in general?


@ctid4854686

PanagiotisCharalampous
07 Jan 2022, 16:19

Hi there,

No you are not.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous