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

#include <flexible_rate_api.hpp>

Public Attributes

common::Required< std::string > loan_coin
common::Required< std::string > collateral_coin
std::optional< common::Decimal > loan_amount = std::nullopt
 Mandatory when collateralAmount is empty.
std::optional< common::Decimal > collateral_amount = std::nullopt
 Mandatory when loanAmount is empty.
std::optional< std::int64_t > recv_window = std::nullopt
 Request validity window in milliseconds.

Member Data Documentation

◆ loan_coin

common::Required<std::string> binance::crypto_loan::rest_api::FlexibleLoanBorrowParams::loan_coin

◆ collateral_coin

common::Required<std::string> binance::crypto_loan::rest_api::FlexibleLoanBorrowParams::collateral_coin

◆ loan_amount

std::optional<common::Decimal> binance::crypto_loan::rest_api::FlexibleLoanBorrowParams::loan_amount = std::nullopt

Mandatory when collateralAmount is empty.

◆ collateral_amount

std::optional<common::Decimal> binance::crypto_loan::rest_api::FlexibleLoanBorrowParams::collateral_amount = std::nullopt

Mandatory when loanAmount is empty.

◆ recv_window

std::optional<std::int64_t> binance::crypto_loan::rest_api::FlexibleLoanBorrowParams::recv_window = std::nullopt

Request validity window in milliseconds.