Backtesting and Spreads?

Created at 29 May 2024, 10:20
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!
D8

d8172

Joined 21.05.2024

Backtesting and Spreads?
29 May 2024, 10:20


Hello - I'm backtesting on a market that has raw spreads (zero commission).

The docs here https://help.ctrader.com/ctrader-algo/backtesting-and-optimizing-cbots/ show an option to set spreads in Backtesting Settings, however I don't see that option in my environment (pic) for my target pair (GER40 from Pepperstone).

Then I loaded another market, and I do see the options for setting spread!

How does this work please? Is spread included for the pair I am downloading therefore the option is removed? Or something else?

Thanks.



@d8172
Replies

PanagiotisCharalampous
30 May 2024, 06:21

Hi there,

Spread is only available when you use bar data for backtesting. When you use tick data, the spread information is included in the data.

Best regards,

Panagiotis


@PanagiotisCharalampous

d8172
30 May 2024, 07:27

RE: Backtesting and Spreads?

PanagiotisCharalampous said: 

Hi there,

Spread is only available when you use bar data for backtesting. When you use tick data, the spread information is included in the data.

Best regards,

Panagiotis

Thanks - yeah I figured it out. Super useful!


@d8172