mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-20 07:14:20 +01:00
Add new endpoints in BfxRestInterfaces.py (with serializers and typings).
This commit is contained in:
@@ -87,7 +87,7 @@ Candle = TypedDict("Candle", {
|
||||
Candles = List[Candle]
|
||||
|
||||
DerivativesStatus = TypedDict("DerivativesStatus", {
|
||||
"KEY": str,
|
||||
"KEY": Optional[str],
|
||||
"MTS": int,
|
||||
"DERIV_PRICE": float,
|
||||
"SPOT_PRICE": float,
|
||||
@@ -117,4 +117,25 @@ Liquidation = TypedDict("Liquidation", {
|
||||
|
||||
Liquidations = List[Liquidation]
|
||||
|
||||
Leaderboard = TypedDict("Leaderboard", {
|
||||
"MTS": int,
|
||||
"USERNAME": str,
|
||||
"RANKING": int,
|
||||
"VALUE": float,
|
||||
"TWITTER_HANDLE": Optional[str]
|
||||
})
|
||||
|
||||
Leaderboards = List[Leaderboard]
|
||||
|
||||
FundingStat = TypedDict("FundingStat", {
|
||||
"TIMESTAMP": int,
|
||||
"FRR": float,
|
||||
"AVG_PERIOD": float,
|
||||
"FUNDING_AMOUNT": float,
|
||||
"FUNDING_AMOUNT_USED": float,
|
||||
"FUNDING_BELOW_THRESHOLD": float
|
||||
})
|
||||
|
||||
FundingStats = List[FundingStat]
|
||||
|
||||
#endregion
|
||||
Reference in New Issue
Block a user