|
Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
|
#include <borrow_repay_api.hpp>
|
explicit |
|
nodiscard |
Get future hourly interest rate (USER_DATA).
GET /sapi/v1/margin/next-hourly-interest-rate.
Get future hourly interest rate
Weight(IP): 100
Security Type: USER_DATA
|
inline |
Asynchronous get_future_hourly_interest_rate().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<GetFutureHourlyInterestRateResponseInner>>).
|
nodiscard |
Get Interest History (USER_DATA).
GET /sapi/v1/margin/interestHistory.
Get Interest History
Weight(IP): 1
Security Type: USER_DATA
Notes:
|
inline |
Asynchronous get_interest_history().
Completes with void(std::exception_ptr, common::RestApiResponse<GetInterestHistoryResponse>).
|
nodiscard |
Margin account borrow/repay (USER_DATA).
POST /sapi/v1/margin/borrow-repay.
Margin account borrow/repay
Weight(UID): 1500
Security Type: USER_DATA
Notes:
|
inline |
Asynchronous margin_account_borrow_repay().
Completes with void(std::exception_ptr, common::RestApiResponse<MarginAccountBorrowRepayResponse>).
|
nodiscard |
Query borrow/repay records in Margin account (USER_DATA).
GET /sapi/v1/margin/borrow-repay.
Query borrow/repay records in Margin account
Weight(IP): 10
Security Type: USER_DATA
Notes:
|
inline |
Asynchronous query_borrow_repay_records_in_margin_account().
Completes with void(std::exception_ptr, common::RestApiResponse<QueryBorrowRepayRecordsInMarginAccountResponse>).
|
nodiscard |
Query Margin Interest Rate History (USER_DATA).
GET /sapi/v1/margin/interestRateHistory.
Query Margin Interest Rate History
Weight(IP): 1
Security Type: USER_DATA
|
inline |
Asynchronous query_margin_interest_rate_history().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<QueryMarginInterestRateHistoryResponseInner>>).
|
nodiscard |
Query Max Borrow (USER_DATA).
GET /sapi/v1/margin/maxBorrowable.
Query Max Borrow
Weight(IP): 50
Security Type: USER_DATA
Notes:
|
inline |
Asynchronous query_max_borrow().
Completes with void(std::exception_ptr, common::RestApiResponse<QueryMaxBorrowResponse>).