broker.historical_brokers.config_type
broker.historical_brokers.config_type
Config
dataclass
Config(ticker: str, interval: Interval, start_timestamp: int, end_timestamp: int)
Marks a dataclass as a configurator for a historical broker when deriving data from it.
Attributes:
| Name | Type | Description |
|---|---|---|
ticker |
str
|
The ticker symbol for a broker call. |
interval |
Interval
|
The interval for a broker 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. |
Interval
Bases: Enum
The interval type to determine how frequent of bars to derive from a broker.