Align code with new Bitfinex API documentation improvements.

This commit is contained in:
Davide Casale
2023-03-14 20:58:56 +01:00
parent 464d942fb0
commit 41fd46dec7
6 changed files with 18 additions and 18 deletions

View File

@@ -149,7 +149,7 @@ DerivativesStatus = generate_labeler_serializer(
"_PLACEHOLDER",
"insurance_fund_balance",
"_PLACEHOLDER",
"next_funding_evt_timestamp_ms",
"next_funding_evt_mts",
"next_funding_accrued",
"next_funding_step",
"_PLACEHOLDER",

View File

@@ -88,10 +88,10 @@ class FundingCurrencyRawBook(_Type):
@dataclass
class Candle(_Type):
mts: int
open: float
close: float
high: float
low: float
open: int
close: int
high: int
low: int
volume: float
@dataclass
@@ -100,7 +100,7 @@ class DerivativesStatus(_Type):
deriv_price: float
spot_price: float
insurance_fund_balance: float
next_funding_evt_timestamp_ms: int
next_funding_evt_mts: int
next_funding_accrued: float
next_funding_step: int
current_funding: float