|
Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
|
#include <spot_algo_api.hpp>
Public Attributes | |
| common::Required< std::string > | symbol |
| Trading symbol eg. BTCUSDT. | |
| common::Required< VolumeParticipationSideEnum > | side |
| Trading side ( BUY or SELL ). | |
| common::Required< common::Decimal > | quantity |
| Total order quantity in base asset; The notional must be at least the equivalent of 1,000 USDT, and the maximum notional per order is 200k, 2mm or 10mm, depending on symbol. | |
| common::Required< VolumeParticipationUrgencyEnum > | urgency |
| Represent the relative speed of the current execution; ENUM: LOW, MEDIUM, HIGH. | |
| std::optional< std::string > | client_algo_id = std::nullopt |
| A unique id among Algo orders (length should be 32 characters). | |
| std::optional< std::int64_t > | vp_time_limit = std::nullopt |
| Max allowed duration in seconds (minimum 300, maximum 86400). | |
| std::optional< std::int64_t > | recv_window = std::nullopt |
| Cannot be greater than 60000. | |
| common::Required<std::string> binance::algo::rest_api::VolumeParticipationParams::symbol |
Trading symbol eg. BTCUSDT.
| common::Required<VolumeParticipationSideEnum> binance::algo::rest_api::VolumeParticipationParams::side |
Trading side ( BUY or SELL ).
| common::Required<common::Decimal> binance::algo::rest_api::VolumeParticipationParams::quantity |
Total order quantity in base asset; The notional must be at least the equivalent of 1,000 USDT, and the maximum notional per order is 200k, 2mm or 10mm, depending on symbol.
Please reduce your size if your order is above the maximum notional per order.
| common::Required<VolumeParticipationUrgencyEnum> binance::algo::rest_api::VolumeParticipationParams::urgency |
Represent the relative speed of the current execution; ENUM: LOW, MEDIUM, HIGH.
| std::optional<std::string> binance::algo::rest_api::VolumeParticipationParams::client_algo_id = std::nullopt |
A unique id among Algo orders (length should be 32 characters).
If it is not sent, we will give default value. Must be unique across all open Algo orders.
| std::optional<std::int64_t> binance::algo::rest_api::VolumeParticipationParams::vp_time_limit = std::nullopt |
Max allowed duration in seconds (minimum 300, maximum 86400).
If it is not sent, 86400 is used and the order runs until fully filled or cancelled.
| std::optional<std::int64_t> binance::algo::rest_api::VolumeParticipationParams::recv_window = std::nullopt |
Cannot be greater than 60000.