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

#include <trade_api.hpp>

Public Attributes

common::Required< std::int64_t > loan_account_id
common::Required< std::string > loan_coin
common::Required< common::Decimal > loan_amount
common::Required< std::string > collateral_account_id
 Collateral account ID(s). Multiple split by ,.
common::Required< std::string > collateral_coin
 Collateral coin(s), multiple separated by ,.
common::Required< bool > is_flexible_rate
 TRUE: flexible rate; FALSE: fixed rate.
std::optional< std::int64_t > loan_term = std::nullopt
 Mandatory for fixed rate. Optional for flexible rate. e.g. 30/60 days.
std::optional< std::int64_t > recv_window = std::nullopt

Member Data Documentation

◆ loan_account_id

common::Required<std::int64_t> binance::vip_loan::rest_api::VipLoanBorrowParams::loan_account_id

◆ loan_coin

common::Required<std::string> binance::vip_loan::rest_api::VipLoanBorrowParams::loan_coin

◆ loan_amount

common::Required<common::Decimal> binance::vip_loan::rest_api::VipLoanBorrowParams::loan_amount

◆ collateral_account_id

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

Collateral account ID(s). Multiple split by ,.

◆ collateral_coin

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

Collateral coin(s), multiple separated by ,.

Use <ASSET>-Earn for a Simple Earn Flexible position; it must be sent together with its Spot asset, e.g. USDT,USDT-Earn.

◆ is_flexible_rate

common::Required<bool> binance::vip_loan::rest_api::VipLoanBorrowParams::is_flexible_rate

TRUE: flexible rate; FALSE: fixed rate.

◆ loan_term

std::optional<std::int64_t> binance::vip_loan::rest_api::VipLoanBorrowParams::loan_term = std::nullopt

Mandatory for fixed rate. Optional for flexible rate. e.g. 30/60 days.

◆ recv_window

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