add endpoints, minor fixs, use format instead of str

Co-authored-by: itsdeka <dario.moceri@bitfinex.com>
This commit is contained in:
Davide Casale
2023-01-25 18:25:47 +01:00
parent ed12bf473f
commit 0278825d35
6 changed files with 67 additions and 3 deletions

View File

@@ -388,4 +388,20 @@ class BaseMarginInfo(_Type):
MARGIN_NET: float
MARGIN_MIN: float
@dataclass
class Claim(_Type):
SYMBOL: str
POSITION_STATUS: str
AMOUNT: float
BASE_PRICE: float
MARGIN_FUNDING: float
MARGIN_FUNDING_TYPE: int
POSITION_ID: int
MTS_CREATE: int
MTS_UPDATE: int
POS_TYPE: int
COLLATERAL: str
MIN_COLLATERAL: str
META: JSON
#endregion