Rust client for Binance API
This package is automatically generated by the OpenAPI Generator project.
Please do not edit the generated code manually, but rather regenerate it from OpenXAPI.
- API version: 0.1.2
- Package version: 0.1.2
Requirements.
Rust 1.70+
Installation & Usage
Install the package using cargo:
Or add the following to your Cargo.toml:
[]
= { = "https://github.com/openxapi/binance-rs" }
Getting Started
In your own code, to use this library to connect and interact with spot and umfutures, you can run the following:
use spot;
use umfutures;
use env;
use ;
async
async
Supported APIs
| Product | Supported | Module | Documentation |
|---|---|---|---|
| Spot | ✅ | binance::spot | Spot API |
| USD-M Futures | ✅ | binance::derivatives::umfutures | USD-M Futures API |
| COIN-M Futures | ✅ | binance::derivatives::cmfutures | COIN-M Futures API |
| Options | ✅ | binance::derivatives::options | Options API |
| Porfolio Margin | ✅ | binance::derivatives::pmargin | Portfolio Margin API |
| Porfolio Margin Pro | ✅ | binance::derivatives::pmarginpro | Portfolio Margin Pro API |
| Futures Data | ✅ | binance.derivatives.futuresdata | Futures Data API |
| Margin | ✅ | binance::margin | Margin API |
| Algo | ✅ | binance::algo | Algo API |
| Wallet | ✅ | binance::wallet | Wallet API |
| Copy Trading | ✅ | binance::copytrading | Copy Trading API |
| Sub-Account | ✅ | binance::subaccount | Sub-Account API |