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

#include <flexible_rate_api.hpp>

Public Attributes

common::Required< std::string > loan_coin
common::Required< std::string > collateral_coin
common::Required< common::Decimal > repay_amount
std::optional< bool > collateral_return = std::nullopt
 TRUE: Return extra collateral to spot account; FALSE: Keep extra collateral in the order and lower LTV.
std::optional< bool > full_repayment = std::nullopt
 TRUE: Full repayment; FALSE: Partial repayment based on loan amount.
std::optional< FlexibleLoanRepayRepaymentTypeEnum > repayment_type = std::nullopt
 1: Repayment with loan asset; 2: Repayment with collateral
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::FlexibleLoanRepayParams::loan_coin

◆ collateral_coin

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

◆ repay_amount

common::Required<common::Decimal> binance::crypto_loan::rest_api::FlexibleLoanRepayParams::repay_amount

◆ collateral_return

std::optional<bool> binance::crypto_loan::rest_api::FlexibleLoanRepayParams::collateral_return = std::nullopt

TRUE: Return extra collateral to spot account; FALSE: Keep extra collateral in the order and lower LTV.

◆ full_repayment

std::optional<bool> binance::crypto_loan::rest_api::FlexibleLoanRepayParams::full_repayment = std::nullopt

TRUE: Full repayment; FALSE: Partial repayment based on loan amount.

◆ repayment_type

std::optional<FlexibleLoanRepayRepaymentTypeEnum> binance::crypto_loan::rest_api::FlexibleLoanRepayParams::repayment_type = std::nullopt

1: Repayment with loan asset; 2: Repayment with collateral

◆ recv_window

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

Request validity window in milliseconds.