Crate binance_api

Source
Expand description

Binance API provider with async support for HTTP and Websocket transport.

Macros§

url_query
Allow to construct a Vec of pairs to later feed them to the request:

Structs§

Client
The HTTP client able to call the endpoints.
Config
Configuration for the connection to API.
ResponseError
The error returned as a JSON from the Binance server. Errors consist of two parts: an error code and a message. Codes are universal, but messages can vary.

Enums§

Error
Aggregated crate errors.
FuturesApi
Set of possible HTTP methods. Every variant corresponds to a single API call (combination of path and HTTP verb).
SpotApi
Set of possible HTTP methods. Every variant corresponds to a single API call (combination of path and HTTP verb).

Traits§

Endpoint
Fully describes the HTTP endpoint:

Type Aliases§

Result
Specialised Result with the global crate error.