rename subdata to sub_data, add margin info endpoints

This commit is contained in:
itsdeka
2023-01-24 15:23:48 +01:00
committed by Davide Casale
parent 01c8192d10
commit 8047e3609d
4 changed files with 83 additions and 30 deletions

View File

@@ -373,5 +373,21 @@ class Movement(_Type):
DESTINATION_ADDRESS: str
TRANSACTION_ID: str
WITHDRAW_TRANSACTION_NOTE: str
@dataclass
class SymbolMarginInfo(_Type):
SYMBOL: str
TRADABLE_BALANCE: float
GROSS_BALANCE: float
BUY: float
SELL: float
@dataclass
class BaseMarginInfo(_Type):
USER_PL: float
USER_SWAPS: float
MARGIN_BALANCE: float
MARGIN_NET: float
MARGIN_MIN: float
#endregion