mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-20 15:24:21 +01:00
Add funding related rest endpoints, refactor pre-existent rest endpoints to use get_ prefix. Add function to calculate flags easily. Add example test to create a funding offer.
This commit is contained in:
@@ -169,6 +169,22 @@ class Order(TypedDict):
|
||||
ROUTING: str
|
||||
META: JSON
|
||||
|
||||
class FundingOffer(TypedDict):
|
||||
ID: int
|
||||
SYMBOL: str
|
||||
MTS_CREATE: int
|
||||
MTS_UPDATE: int
|
||||
AMOUNT: float
|
||||
AMOUNT_ORIG: float
|
||||
OFFER_TYPE: str
|
||||
FLAGS: int
|
||||
OFFER_STATUS: str
|
||||
RATE: float
|
||||
PERIOD: int
|
||||
NOTIFY: bool
|
||||
HIDDEN: int
|
||||
RENEW: bool
|
||||
|
||||
class Trade(TypedDict):
|
||||
ID: int
|
||||
SYMBOL: str
|
||||
|
||||
Reference in New Issue
Block a user