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

#include <account_api.hpp>

Public Attributes

common::Required< std::string > asset
std::optional< common::Decimal > amount = std::nullopt
 Amount to collect. When provided, futureType is required.
std::optional< FundCollectionByAssetFutureTypeEnum > future_type = std::nullopt
 Target wallet for the collection.
std::optional< std::int64_t > recv_window = std::nullopt

Member Data Documentation

◆ asset

common::Required<std::string> binance::derivatives_trading_portfolio_margin::rest_api::FundCollectionByAssetParams::asset

◆ amount

std::optional<common::Decimal> binance::derivatives_trading_portfolio_margin::rest_api::FundCollectionByAssetParams::amount = std::nullopt

Amount to collect. When provided, futureType is required.

◆ future_type

std::optional<FundCollectionByAssetFutureTypeEnum> binance::derivatives_trading_portfolio_margin::rest_api::FundCollectionByAssetParams::future_type = std::nullopt

Target wallet for the collection.

OPTION is for SPAN only. Cannot be sent without amount. amount and futureType must be provided together. If neither is provided, existing behavior is unchanged (query all wallets + transfer).

◆ recv_window

std::optional<std::int64_t> binance::derivatives_trading_portfolio_margin::rest_api::FundCollectionByAssetParams::recv_window = std::nullopt