Skip to content

etf

Bases: time_series_dataloader

Source code in tinybig/data/time_series_dataloader.py
class etf(time_series_dataloader):
    def __init__(
        self,
        name: str = ETF_DATA_PROFILE['name'],
        x_len: int = 10,
        y_len: int = 1,
        xy_gap: int = 1,
        coverage_year_range: int = 1,
        time_granularity: str = 'daily',
        target_attributes: str = 'Open',
        *args, **kwargs
    ):
        super().__init__(
            name=name,
            data_profile=ETF_DATA_PROFILE,
            x_len=x_len, y_len=y_len, xy_gap=xy_gap,
            coverage_year_range=coverage_year_range,
            time_granularity=time_granularity,
            target_attributes=target_attributes,
            *args, **kwargs
        )