Crates.io | ftx |
lib.rs | ftx |
version | 0.5.0 |
source | src |
created_at | 2021-04-22 09:08:14.654629 |
updated_at | 2022-04-17 13:26:44.191779 |
description | Unofficial API Binding for the FTX Exchange. |
homepage | |
repository | https://github.com/fabianboesiger/ftx |
max_upload_size | |
id | 388044 |
size | 158,178 |
Unofficial Rust API bindings for the FTX exchange.
crates.io | docs.rs | FTX API Documentation
Work in progress, contributions are welcome.
The minimal supported Rust version is 1.54.
Add the following line to your Cargo.toml file:
ftx = "0.3"
Or for the latest github version:
ftx = { git = "https://github.com/fabianboesiger/ftx", branch = "main" }
Using the FTX API requires rate-limiting requests to no more than 30 requests per second in order to avoid HTTP 429 errors. You will need to rate-limit your own requests in your usage of this library.
See the FTX API Documentation
If needed, you will need to paginate your own requests in your usage of this library. See the FTX API Documentation and sample Python code
examples/btc_price.rs
examples/get_accounts.rs
rest::tests::get_markets
rest::tests::get_futures
rest::tests::get_orderbook
rest::tests::get_trades
rest::tests::get_historical_prices
rest::tests::place_modify_cancel_orders
examples/watch_market.rs
ws::tests::subscribe_unsubscribe
ws::tests::order_book_update
OrderBook
checksums: ws::tests::order_book_checksum
ws::tests::order_book_helpers
bid_price
, ask_price
, mid_price
best_bid
, best_ask
, best_bid_and_ask
quote
ws::tests::fills
ws::tests::orders