Skip to content

DataExpConfig


dataclass backtide.backtest.DataExpConfig

Data settings for an experiment.

Attributes

instrument_type : str | InstrumentType, default="stocks"

The category of financial instrument.

symbols : list[str], default=[]
Ticker symbols included in the backtest.

full_history : bool, default=True
If True, use the maximum available history for every symbol.

start_date : str | None, default=None
ISO-8601 start date. Ignored when full_history is True.

end_date : str | None, default=None
ISO-8601 end date. Ignored when full_history is True.

interval : Interval, default="1d"
Bar interval.


See Also

ExchangeExpConfig

Exchange and execution settings for an experiment.

ExperimentConfig

Complete configuration for a single backtest experiment.

IndicatorExpConfig

Indicator settings for an experiment.


Methods

to_dict Convert to a dictionary.


method backtide.backtestto_dict()

Convert to a dictionary.

Returns

dict

Self as dict.