|
Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
|
#include <spot_algo_api.hpp>
|
explicit |
|
nodiscard |
Cancel Spot Algo Order (TRADE).
DELETE /sapi/v1/algo/spot/order.
Cancel an open TWAP or VP algo order
Weight(IP): 1
Security Type: TRADE
Notes:
|
inline |
Asynchronous cancel_algo_order_spot_algo().
Completes with void(std::exception_ptr, common::RestApiResponse<CancelAlgoOrderSpotAlgoResponse>).
|
nodiscard |
Query Current Spot Algo Open Orders (USER_DATA).
GET /sapi/v1/algo/spot/openOrders.
Get all open Spot TWAP and VP algo orders
Weight(IP): 1
Security Type: USER_DATA
|
inline |
Asynchronous query_current_algo_open_orders_spot_algo().
Completes with void(std::exception_ptr, common::RestApiResponse<QueryCurrentAlgoOpenOrdersSpotAlgoResponse>).
|
nodiscard |
Query Historical Spot Algo Orders (USER_DATA).
GET /sapi/v1/algo/spot/historicalOrders.
Get all historical Spot TWAP and VP algo orders
Weight(IP): 1
Security Type: USER_DATA
|
inline |
Asynchronous query_historical_algo_orders_spot_algo().
Completes with void(std::exception_ptr, common::RestApiResponse<QueryHistoricalAlgoOrdersSpotAlgoResponse>).
|
nodiscard |
Query Spot Sub Orders (USER_DATA).
GET /sapi/v1/algo/spot/subOrders.
Get respective sub orders for a specified algoId
Weight(IP): 1
Security Type: USER_DATA
|
inline |
Asynchronous query_sub_orders_spot_algo().
Completes with void(std::exception_ptr, common::RestApiResponse<QuerySubOrdersSpotAlgoResponse>).
|
nodiscard |
Time-Weighted Spot Average Price(Twap) New Order (TRADE).
POST /sapi/v1/algo/spot/newOrderTwap.
Place a new spot TWAP order with Algo service.
Weight(UID): 3000
Security Type: TRADE
Notes:
|
inline |
Asynchronous time_weighted_average_price_spot_algo().
Completes with void(std::exception_ptr, common::RestApiResponse<TimeWeightedAveragePriceSpotAlgoResponse>).
|
nodiscard |
Volume Participation (VP) New Order (TRADE).
POST /sapi/v1/algo/spot/newOrderVp.
Place a new spot VP (Volume Participation) order with Algo service. A VP order automatically slices the total quantity over time, targeting a percentage of the market volume.
Weight(UID): 3000
Security Type: TRADE
Notes:
|
inline |
Asynchronous volume_participation().
Completes with void(std::exception_ptr, common::RestApiResponse<VolumeParticipationResponse>).