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

#include <place_option_order_response.hpp>

Public Member Functions

bool operator== (const PlaceOptionOrderResponse &) const =default

Public Attributes

std::optional< std::string > status
 S = accepted; P = processing.
std::optional< std::string > order_id
 Option order ID.
std::optional< std::string > client_order_id
 Echoes the supplied or server-generated client order ID.

Member Function Documentation

◆ operator==()

bool binance::stock_options::rest_api::PlaceOptionOrderResponse::operator== ( const PlaceOptionOrderResponse & ) const
default

Member Data Documentation

◆ status

std::optional<std::string> binance::stock_options::rest_api::PlaceOptionOrderResponse::status

S = accepted; P = processing.

A failed order is always returned as an error code (see Error Code); a successful response never carries a failed status.

◆ order_id

std::optional<std::string> binance::stock_options::rest_api::PlaceOptionOrderResponse::order_id

Option order ID.

Omitted when status = P; query Option Order Detail by clientOrderId instead.

◆ client_order_id

std::optional<std::string> binance::stock_options::rest_api::PlaceOptionOrderResponse::client_order_id

Echoes the supplied or server-generated client order ID.