algo status

This commit is contained in:
2026-05-07 00:25:49 +00:00
parent 99312b768f
commit f45c035ebb
6 changed files with 634 additions and 81 deletions

View File

@@ -89,6 +89,11 @@ class Current_Previous_Value:
self._value = v
class Algo_Status(BaseModel):
last_update_ts_ms: int
status: str # 'WORKING' | 'STOPPED'
expected_alpha: float
@@ -253,6 +258,7 @@ class Perpetual_Exchange:
symbol_asset_separator: str = ''
mult: int
initial_funding_rate: float = 0
fund_rate_at_same_time: bool = False
min_price: float = 0
min_order_size: float = 0
min_lot_size: float = 0