├── .github └── workflows │ └── ci.yml ├── .gitignore ├── Cargo.toml ├── LICENSE ├── Makefile.toml ├── README.md ├── examples ├── debug_deserialize.rs ├── funding_rate.rs ├── new_order_and_cancel.rs └── websocket.rs ├── rustfmt.toml ├── src ├── config.rs ├── error.rs ├── lib.rs ├── macros.rs ├── models │ ├── mod.rs │ ├── spot │ │ ├── market.rs │ │ ├── mod.rs │ │ └── order.rs │ └── usdm │ │ ├── account.rs │ │ └── mod.rs ├── parser.rs ├── rest │ ├── coinm │ │ ├── market.rs │ │ ├── mod.rs │ │ └── trade.rs │ ├── mod.rs │ ├── spot │ │ ├── account.rs │ │ ├── market.rs │ │ └── mod.rs │ └── usdm │ │ ├── account.rs │ │ ├── market.rs │ │ ├── mod.rs │ │ ├── trade.rs │ │ └── user_stream.rs └── websocket │ ├── coinm.rs │ ├── mod.rs │ ├── models.rs │ ├── spot.rs │ └── usdm.rs └── tests ├── account.rs ├── get_current_position_mode.rs ├── market.rs ├── ping.rs ├── trade.rs ├── ws_aggtrade.rs └── ws_userstream.rs /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/Makefile.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/README.md -------------------------------------------------------------------------------- /examples/debug_deserialize.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/examples/debug_deserialize.rs -------------------------------------------------------------------------------- /examples/funding_rate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/examples/funding_rate.rs -------------------------------------------------------------------------------- /examples/new_order_and_cancel.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/examples/new_order_and_cancel.rs -------------------------------------------------------------------------------- /examples/websocket.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/examples/websocket.rs -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- 1 | imports_granularity = "Crate" 2 | unstable_features = true 3 | -------------------------------------------------------------------------------- /src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/config.rs -------------------------------------------------------------------------------- /src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/error.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/macros.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/macros.rs -------------------------------------------------------------------------------- /src/models/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/models/mod.rs -------------------------------------------------------------------------------- /src/models/spot/market.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/models/spot/market.rs -------------------------------------------------------------------------------- /src/models/spot/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/models/spot/mod.rs -------------------------------------------------------------------------------- /src/models/spot/order.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/models/spot/order.rs -------------------------------------------------------------------------------- /src/models/usdm/account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/models/usdm/account.rs -------------------------------------------------------------------------------- /src/models/usdm/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/models/usdm/mod.rs -------------------------------------------------------------------------------- /src/parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/parser.rs -------------------------------------------------------------------------------- /src/rest/coinm/market.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/rest/coinm/market.rs -------------------------------------------------------------------------------- /src/rest/coinm/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/rest/coinm/mod.rs -------------------------------------------------------------------------------- /src/rest/coinm/trade.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/rest/coinm/trade.rs -------------------------------------------------------------------------------- /src/rest/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/rest/mod.rs -------------------------------------------------------------------------------- /src/rest/spot/account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/rest/spot/account.rs -------------------------------------------------------------------------------- /src/rest/spot/market.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/rest/spot/market.rs -------------------------------------------------------------------------------- /src/rest/spot/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/rest/spot/mod.rs -------------------------------------------------------------------------------- /src/rest/usdm/account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/rest/usdm/account.rs -------------------------------------------------------------------------------- /src/rest/usdm/market.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/rest/usdm/market.rs -------------------------------------------------------------------------------- /src/rest/usdm/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/rest/usdm/mod.rs -------------------------------------------------------------------------------- /src/rest/usdm/trade.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/rest/usdm/trade.rs -------------------------------------------------------------------------------- /src/rest/usdm/user_stream.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/rest/usdm/user_stream.rs -------------------------------------------------------------------------------- /src/websocket/coinm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/websocket/coinm.rs -------------------------------------------------------------------------------- /src/websocket/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/websocket/mod.rs -------------------------------------------------------------------------------- /src/websocket/models.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/websocket/models.rs -------------------------------------------------------------------------------- /src/websocket/spot.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/websocket/spot.rs -------------------------------------------------------------------------------- /src/websocket/usdm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/src/websocket/usdm.rs -------------------------------------------------------------------------------- /tests/account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/tests/account.rs -------------------------------------------------------------------------------- /tests/get_current_position_mode.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/tests/get_current_position_mode.rs -------------------------------------------------------------------------------- /tests/market.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/tests/market.rs -------------------------------------------------------------------------------- /tests/ping.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/tests/ping.rs -------------------------------------------------------------------------------- /tests/trade.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/tests/trade.rs -------------------------------------------------------------------------------- /tests/ws_aggtrade.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/tests/ws_aggtrade.rs -------------------------------------------------------------------------------- /tests/ws_userstream.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dovahcrow/binance-async-rs/HEAD/tests/ws_userstream.rs --------------------------------------------------------------------------------