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

@@ -69,7 +69,7 @@ def log_funding_loans():
def log_funding_loans_history():
loans = bfx.rest.auth.get_funding_loan_history(symbol='fUSD', start=0, end=now)
loans = bfx.rest.auth.get_funding_loans_history(symbol='fUSD', start=0, end=now)
print("Funding loan history:")
[print(l) for l in loans]