Skip to content

contango.market.data_providers.yfinance.yfinance_config

contango.market.data_providers.yfinance.yfinance_config

YfinanceConfig dataclass

YfinanceConfig(ticker: str, interval: Interval, start_timestamp: int, end_timestamp: int)

Bases: Config

Holds the configuration for deriving data from the yfinance data provider.

Attributes:

Name Type Description
ticker str

The ticker symbol (e.g. AAPL) to derive yfinance data from.

start_date str

The start date in unix ms to derive yfinance data from.

end_date str

The end date in unix ms to derive yfinance data from.

interval Interval

The trading interval to derive yfinance data from.