Add support to new calculation endpoints.

This commit is contained in:
itsdeka
2023-01-24 12:35:12 +01:00
committed by Davide Casale
parent ae42fb7d93
commit 02a2e962d3
4 changed files with 62 additions and 2 deletions

View File

@@ -181,6 +181,16 @@ class PulseMessage(_Type):
PROFILE: PulseProfile
COMMENTS: int
@dataclass
class TradingMarketAveragePrice(_Type):
PRICE_AVG: float
AMOUNT: float
@dataclass
class FundingMarketAveragePrice(_Type):
RATE_AVG: float
AMOUNT: float
#endregion
#region Type hinting for Rest Authenticated Endpoints