Add get_funding_loans and get_funding_loans_history endpoints to _RestAuthenticatedEndpoints.py.

This commit is contained in:
Davide Casale
2023-01-27 17:23:41 +01:00
parent 17fc29d4fa
commit 2fc31db7a3
4 changed files with 65 additions and 1 deletions

View File

@@ -306,6 +306,26 @@ class Ledger(_Type):
balance: float
description: str
@dataclass
class FundingLoan(_Type):
id: int
symbol: str
side: int
mts_create: int
mts_update: int
amount: float
flags: int
status: str
rate: float
period: int
mts_opening: int
mts_last_payout: int
notify: int
hidden: int
renew: int
rate_real: float
no_close: int
@dataclass
class FundingCredit(_Type):
id: int