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

#include <borrow_repay_api.hpp>

Public Attributes

common::Required< std::string > asset
common::Required< MarginAccountBorrowRepayIsIsolatedEnum > is_isolated
 TRUE for Isolated Margin, FALSE for Cross Margin
common::Required< std::string > amount
common::Required< MarginAccountBorrowRepayTypeEnum > type
std::optional< std::string > symbol = std::nullopt
 Only for Isolated margin.
std::optional< std::int64_t > recv_window = std::nullopt

Member Data Documentation

◆ asset

common::Required<std::string> binance::margin_trading::rest_api::MarginAccountBorrowRepayParams::asset

◆ is_isolated

common::Required<MarginAccountBorrowRepayIsIsolatedEnum> binance::margin_trading::rest_api::MarginAccountBorrowRepayParams::is_isolated

TRUE for Isolated Margin, FALSE for Cross Margin

◆ amount

common::Required<std::string> binance::margin_trading::rest_api::MarginAccountBorrowRepayParams::amount

◆ type

common::Required<MarginAccountBorrowRepayTypeEnum> binance::margin_trading::rest_api::MarginAccountBorrowRepayParams::type

◆ symbol

std::optional<std::string> binance::margin_trading::rest_api::MarginAccountBorrowRepayParams::symbol = std::nullopt

Only for Isolated margin.

◆ recv_window

std::optional<std::int64_t> binance::margin_trading::rest_api::MarginAccountBorrowRepayParams::recv_window = std::nullopt