Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
Loading...
Searching...
No Matches
binance::vip_loan::rest_api::VipLoanFixedRateBorrowParams Struct Reference

#include <trade_api.hpp>

Public Attributes

common::Required< std::string > supply_request
 Supply request string, positional encoding (no key).
common::Required< std::string > borrow_coin
 Borrow coin.
common::Required< std::int64_t > loan_term
 Loan term in days.
common::Required< std::int64_t > borrow_uid
 Borrow receiving account UID.
common::Required< std::string > collateral_coin
 Collateral coin(s), multiple separated by ,.
common::Required< std::string > collateral_account_id
 Collateral account ID(s), multiple separated by ,.
std::optional< bool > auto_repay = std::nullopt
 Default: true.
std::optional< std::int64_t > recv_window = std::nullopt
 The value cannot be greater than 60000.

Member Data Documentation

◆ supply_request

common::Required<std::string> binance::vip_loan::rest_api::VipLoanFixedRateBorrowParams::supply_request

Supply request string, positional encoding (no key).

Multiple entries separated by ;, fields separated by :, order: <requestId>:<interestRate>:<amount>. Example: 1212:0.12:100;3434:0.13:50

◆ borrow_coin

common::Required<std::string> binance::vip_loan::rest_api::VipLoanFixedRateBorrowParams::borrow_coin

Borrow coin.

◆ loan_term

common::Required<std::int64_t> binance::vip_loan::rest_api::VipLoanFixedRateBorrowParams::loan_term

Loan term in days.

◆ borrow_uid

common::Required<std::int64_t> binance::vip_loan::rest_api::VipLoanFixedRateBorrowParams::borrow_uid

Borrow receiving account UID.

◆ collateral_coin

common::Required<std::string> binance::vip_loan::rest_api::VipLoanFixedRateBorrowParams::collateral_coin

Collateral coin(s), multiple separated by ,.

Only coin names, no amount (VIP loan collateral amount = entire Spot balance of the coin; for <ASSET>-Earn, the Simple Earn Flexible position of the asset). <ASSET>-Earn must be sent together with its Spot asset, e.g. BNB,BNB-Earn.

◆ collateral_account_id

common::Required<std::string> binance::vip_loan::rest_api::VipLoanFixedRateBorrowParams::collateral_account_id

Collateral account ID(s), multiple separated by ,.

◆ auto_repay

std::optional<bool> binance::vip_loan::rest_api::VipLoanFixedRateBorrowParams::auto_repay = std::nullopt

Default: true.

true: auto repay at expiration; false: auto-convert to flexible (floating rate) at expiration

◆ recv_window

std::optional<std::int64_t> binance::vip_loan::rest_api::VipLoanFixedRateBorrowParams::recv_window = std::nullopt

The value cannot be greater than 60000.