|
Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
|
Each method subscribes to one stream (or queues the subscription while the connection reconnects) and returns its handle. More...
#include <api.hpp>
Each method subscribes to one stream (or queues the subscription while the connection reconnects) and returns its handle.
Destroying the handle, or calling unsubscribe() on it, ends the subscription.
|
explicit |
|
nodiscard |
Batch claim partially succeeded.
web3_prediction_pm_claim_partial_success.
Pushed when only part of a batch claim succeeds. Only pushId is included — call the REST API for details.
Update Speed: Real-time
|
nodiscard |
Fund transfer failed.
web3_prediction_pm_transfer_fail.
Pushed when a fund transfer fails.
Update Speed: Real-time
|
nodiscard |
Fund transfer succeeded.
web3_prediction_pm_transfer_success.
Pushed when a fund transfer into or out of the prediction wallet succeeds. The direction and the token are not included (currently USDT only).
Update Speed: Real-time
|
nodiscard |
Limit order fully filled.
web3_prediction_pm_limit_order_filled.
Pushed when a limit order is fully filled.
Update Speed: Real-time
|
nodiscard |
Limit order partially filled.
web3_prediction_pm_limit_order_partial_fill.
Pushed on each new partial fill of a limit order. One order can be pushed several times, so always remove duplicates by pushId.
Update Speed: Real-time
|
nodiscard |
Limit order submission failed.
web3_prediction_pm_limit_submit_fail.
Pushed when a limit order is rejected when placed. No amount is included.
Update Speed: Real-time
|
nodiscard |
Limit order submitted successfully.
web3_prediction_pm_limit_submit_success.
Pushed when the user's limit order is successfully placed on the order book.
Update Speed: Real-time
|
nodiscard |
Market buy order failed / expired.
web3_prediction_pm_market_buy_fail.
Pushed when the user's market buy order fails or expires.
Update Speed: Real-time
|
nodiscard |
Market buy order fully filled.
web3_prediction_pm_market_buy_success.
Pushed when the user's market buy order is fully filled.
Update Speed: Real-time
|
nodiscard |
Market resolution notification.
web3_prediction_pm_market_close.
Pushed when a market is resolved, to every user holding a position in it, win or lose. No amount or outcome is included — call the REST API for the user's profit and loss.
Update Speed: Real-time
|
nodiscard |
Market sell order failed / expired.
web3_prediction_pm_market_sell_fail.
Pushed when the user's market sell order fails or expires.
Update Speed: Real-time
|
nodiscard |
Market sell order fully filled.
web3_prediction_pm_market_sell_success.
Pushed when the user's market sell order is fully filled.
Update Speed: Real-time
|
nodiscard |
Prediction Order Book by marketId.
web3_prediction_orderbook_<marketId>.
Order book (bid/ask) updates for one market. Only active markets are pushed.
Update Speed: Real-time
|
nodiscard |
Reward claim failed.
web3_prediction_pm_claim_fail.
Pushed when a claim fails completely — a single claim, or every item of a batch. For a batch, only the first failed item's amount and outcome are included.
Update Speed: Real-time
|
nodiscard |
Reward claim succeeded.
web3_prediction_pm_claim_success.
Pushed when a claim fully succeeds — a single claim, or every item of a batch. Only the total is reported; no market title or outcome is included.
Update Speed: Real-time