|
Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
|
#include <trade_api.hpp>
Public Attributes | |
| common::Required< std::string > | from_asset |
| common::Required< std::string > | to_asset |
| std::optional< common::Decimal > | from_amount = std::nullopt |
| When specified, it is the amount you will be debited after the conversion. | |
| std::optional< common::Decimal > | to_amount = std::nullopt |
| When specified, it is the amount you will be credited after the conversion. | |
| std::optional< SendQuoteRequestWalletTypeEnum > | wallet_type = std::nullopt |
| Wallet to use for payment. | |
| std::optional< SendQuoteRequestValidTimeEnum > | valid_time = std::nullopt |
| Quote valid duration. Supported values: 10s, 30s, 1m. Default is 10s. | |
| std::optional< std::int64_t > | recv_window = std::nullopt |
| Request validity window in milliseconds. | |
| common::Required<std::string> binance::convert::rest_api::SendQuoteRequestParams::from_asset |
| common::Required<std::string> binance::convert::rest_api::SendQuoteRequestParams::to_asset |
| std::optional<common::Decimal> binance::convert::rest_api::SendQuoteRequestParams::from_amount = std::nullopt |
When specified, it is the amount you will be debited after the conversion.
| std::optional<common::Decimal> binance::convert::rest_api::SendQuoteRequestParams::to_amount = std::nullopt |
When specified, it is the amount you will be credited after the conversion.
| std::optional<SendQuoteRequestWalletTypeEnum> binance::convert::rest_api::SendQuoteRequestParams::wallet_type = std::nullopt |
Wallet to use for payment.
Supported values: SPOT, FUNDING, EARN. Combined wallets also supported: SPOT_FUNDING, FUNDING_EARN, SPOT_FUNDING_EARN, SPOT_EARN. Default is SPOT.
| std::optional<SendQuoteRequestValidTimeEnum> binance::convert::rest_api::SendQuoteRequestParams::valid_time = std::nullopt |
Quote valid duration. Supported values: 10s, 30s, 1m. Default is 10s.
| std::optional<std::int64_t> binance::convert::rest_api::SendQuoteRequestParams::recv_window = std::nullopt |
Request validity window in milliseconds.