Get future hourly interest rate
Weight(IP): 100
Security Type: USER_DATA
Request parameters.
Get Interest History
Weight(IP): 1
Security Type: USER_DATA
Notes:
Response in descending order
If isolatedSymbol is not sent, crossed margin data will be returned
The max interval between startTime and endTime is 30 days. It is a
MUST to ensure data correctness.
If startTimeand endTime not sent, return records of the last 7
days by default.
If startTime is sent and endTime is not sent, return records of
[max(startTime, now-30d), now].
If startTime is not sent and endTime is sent, return records of
[endTime-7, endTime]
type in response has 4 enums:
PERIODIC interest charged per hour
ON_BORROW first interest charged on borrow
PERIODIC_CONVERTED interest charged per hour converted into BNB
ON_BORROW_CONVERTED first interest charged on borrow converted into
BNB
PORTFOLIO interest charged daily on the portfolio margin negative
balance
OptionalrequestParameters: GetInterestHistoryRequestRequest parameters.
Margin account borrow/repay
Weight(UID): 1500
Security Type: USER_DATA
Request parameters.
Query borrow/repay records in Margin account
Weight(IP): 10
Security Type: USER_DATA
Notes:
txId or startTime must be sent. txId takes precedence.
Response in descending order
If an asset is sent, data within 30 days before endTime; If an asset is not sent, data within 7 days before endTime
If neither startTime nor endTime is sent, the recent 7-day data will be returned.
startTime set as endTime - 7 days by default, endTime set as current time by default
Request parameters.
Query Margin Interest Rate History
Weight(IP): 1
Security Type: USER_DATA
Request parameters.
Query Max Borrow
Weight(IP): 50
Security Type: USER_DATA
Notes:
borrowLimit is also available from https://www.binance.com/en/margin-feeRequest parameters.
BorrowRepayApi - interface BorrowRepayApi