contango.market.data_providers.config
contango.market.data_providers.config
Config
dataclass
Config(ticker: str, interval: Interval, start_timestamp: int, end_timestamp: int)
Marks a dataclass as a configurator for a historical data provider when deriving data from it.
Attributes:
| Name | Type | Description |
|---|---|---|
ticker |
str
|
The ticker symbol for a data provider call. |
interval |
Interval
|
The interval for a data provider call. |
start_timestamp |
int
|
The start time in unix ms to derive data from. |
end_timestamp |
int
|
The end time in unix ms to derive data from. |