|
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 |
Aggregate Trade Stream.
<symbol>@aggTrade.
Pushes aggregate trade updates for a symbol.
|
nodiscard |
All Book Ticker Stream.
!bookTicker.
Pushes best bid/ask updates for all symbols.
|
nodiscard |
All Mini Ticker Stream.
!miniTicker@arr.
Pushes mini ticker statistics for all symbols.
|
nodiscard |
All Ticker Stream.
!ticker@arr.
Pushes full ticker statistics for all symbols.
|
nodiscard |
All Tokens 24h Ticker Stream.
came@allTokens@ticker24.
Pushes 24h ticker-like metrics for all tokens.
|
nodiscard |
Book Ticker Stream.
<symbol>@bookTicker.
Pushes best bid/ask updates for a symbol.
|
nodiscard |
Contract Kline Stream.
came@<contractAddress>@<chainId>@kline_<interval>.
Pushes kline updates by contractAddress@chainId.
|
nodiscard |
Full Depth Stream.
<symbol>@fulldepth@<interval>.
Returns all available depth, including UI and API orders.
|
nodiscard |
Kline Stream.
<symbol>@kline_<interval>.
Pushes kline updates for a symbol.
|
nodiscard |
Mini Ticker Stream.
<symbol>@miniTicker.
Pushes 24h rolling mini ticker statistics.
|
nodiscard |
Partial Depth Stream.
<symbol>@depth<levels>@<interval>.
Pushes partial depth updates (UI orders only).
|
nodiscard |
Ticker Stream.
<symbol>@ticker.
Pushes full 24h rolling ticker statistics.
|
nodiscard |
Trade Stream.
<symbol>@trade.
Pushes raw trade updates for a symbol.