COB heatmap!
This commit is contained in:
@ -90,6 +90,11 @@ class BaseDataInput:
|
||||
|
||||
# COB data for 1s timeframe (±20 buckets around current price)
|
||||
cob_data: Optional[COBData] = None
|
||||
# COB heatmap (time-series of bucket metrics at 1s resolution)
|
||||
# Each row corresponds to one second, columns to price buckets
|
||||
cob_heatmap_times: List[datetime] = field(default_factory=list)
|
||||
cob_heatmap_prices: List[float] = field(default_factory=list)
|
||||
cob_heatmap_values: List[List[float]] = field(default_factory=list) # typically imbalance per bucket
|
||||
|
||||
# Technical indicators
|
||||
technical_indicators: Dict[str, float] = field(default_factory=dict)
|
||||
|
Reference in New Issue
Block a user