tbapi.api.bases.source_data_type
1from enum import Enum 2 3class SourceDataType(Enum): 4 """Enumerates the possible types of source data used to create bars.""" 5 6 Tick = 0 7 """Source data is based on tick data.""" 8 9 Minute = 1 10 """Source data is based on minute data.""" 11 12 Daily = 2 13 """Source data is based on daily data."""
class
SourceDataType(enum.Enum):
6class SourceDataType(Enum): 7 """Enumerates the possible types of source data used to create bars.""" 8 9 Tick = 0 10 """Source data is based on tick data.""" 11 12 Minute = 1 13 """Source data is based on minute data.""" 14 15 Daily = 2 16 """Source data is based on daily data."""
Enumerates the possible types of source data used to create bars.