Fees

Edit transaction fees

Under the list of selected assets (grey badges), you will find an "Edit fees" button. It is crucial because it allows you to set the simulated transaction fees applied to each operation performed, for each asset.

Modifier les frais
Editing fees

There are three ways to simulate the application of transaction fees: commission, spread and/or swap.

The commission: it corresponds to a percentage of the capital charged by the broker or exchange platform when opening and closing each trade. This cost is therefore proportional to the amount placed on each trade. It can be expressed as a % or in $.

Example: a commission of 0.10% corresponds to a cost of $1 to open a $1,000 trade. Closing that trade will also incur a 0.10% commission on the exiting capital.

The spread: it is the difference between the best bid price and the best ask price at any given moment. This means the price to buy an asset is always slightly higher than the underlying market price, and the price to sell is always slightly lower. Many brokers do not charge a commission on trades but use a spread-based model. The spread can be expressed as a % or in ticks.

Examples:

On an index, a spread of 1 means the index would be bought at 4010 or sold at 4009.

On a currency whose price has 5 decimals, a spread of 0.00002 means the currency would be bought at 1.07678 or sold at 1.07676.

On a crypto whose price has 2 decimals, a spread of 0.50 means the crypto would be bought at 345.70 or sold at 345.20.

The swap: it corresponds to the fees or gains related to holding a position open from one day to the next. It is calculated based on the interest rate differential between the two traded assets and mainly applies to the currency (Forex) market and certain futures contracts.

If the interest rate of the bought asset is higher than that of the sold asset, a positive swap is applied, which means you receive interest. Conversely, if the interest rate of the sold asset is higher, a negative swap applies and results in an additional cost.

Examples:

  • On a currency pair, a swap of -0.50% means a long position held overnight incurs a loss of 0.50% of the invested amount.

  • Conversely, a swap of +0.20% means a short position held overnight generates a gain of 0.20% of the invested amount.

Default fees

For each asset selected for your backtest, fees are automatically applied by default according to the nature of the asset. These default fees correspond, depending on the asset, to realistic fees applied by various brokers and exchange platforms such as XTB, IG, Capital.com, Oanda, Binance, Bybit, Bitget.

Last updated

Was this helpful?