moving to extravm

This commit is contained in:
2026-05-08 03:02:02 +00:00
parent e4bdb3f6a0
commit f5f43be1a1
4 changed files with 517 additions and 447 deletions

View File

@@ -252,11 +252,11 @@ class Perpetual_Exchange:
# Collateral_Updates: Collateral
# Funding_Rate: Funding_Rate
# Markets: Markets_Details
mult: int
lh_asset: str
rh_asset: str
symbol: str = ''
symbol_asset_separator: str = ''
mult: int
initial_funding_rate: float = 0
fund_rate_at_same_time: bool = False
min_price: float = 0
@@ -264,11 +264,13 @@ class Perpetual_Exchange:
min_lot_size: float = 0
min_notional: float = 0
buy_ratio: float = 0
buy_ratio_std: float = 0
notional_obj: dict = field(default_factory=dict)
notional_position: float = 0
unrealized_pnl: float = 0
buy_ratio_std: float = 0
just_rejected_count: int = 0
cancel_request_pending: bool = False
# async def update(self):
# await self.Collateral_Updates.update()