DataType¶
Defined in dccd.domain.types
- class DataType(*values)[source]
-
Core data types supported by dccd v3.
The enum is intentionally closed. Extensions (funding, OI, liquidations) will require adding a new member here AND implementing the corresponding domain models and source protocols — never bypassed by string comparison.
Examples
>>> DataType.OHLC <DataType.OHLC: 'ohlc'> >>> DataType('trades') <DataType.TRADES: 'trades'>