polyoxide-binance 0.48.0

Rust client library for Binance USDⓈ-M futures and spot market data and streams
Documentation

polyoxide-binance

Rust client library for Binance's APIs, one feature per module: usdm and spot. Part of the polyoxide workspace, whose umbrella crate, polyoxide, re-exports it as polyoxide::binance under its binance, binance-usdm, binance-usdm-ws, binance-spot and binance-spot-ws features.

Each module has its own README:

Module Feature API
usdm usdm; its market streams, usdm::ws, under usdm-ws USDⓈ-M futures public market data on fapi.binance.com, and its market streams on fstream.binance.com; read-only, no credentials
spot spot; its market streams, spot::ws, under spot-ws Spot public market data on api.binance.com, and its market streams on stream.binance.com; read-only, no credentials

usdm and spot are on by default, and usdm-ws turns usdm on as spot-ws turns spot on. test-server exposes the captured stream frames, usdm::ws::fixtures with usdm-ws and spot::ws::fixtures with spot-ws, to integration tests; it is not for consumers.

More information about this crate can be found in the crate documentation.

Installation

[dependencies]
polyoxide-binance = "0.48"