| Crates.io | ftx |
| lib.rs | ftx |
| version | 0.5.0 |
| created_at | 2021-04-22 09:08:14.654629+00 |
| updated_at | 2022-04-17 13:26:44.191779+00 |
| 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.rsexamples/get_accounts.rsrest::tests::get_marketsrest::tests::get_futuresrest::tests::get_orderbookrest::tests::get_tradesrest::tests::get_historical_pricesrest::tests::place_modify_cancel_ordersexamples/watch_market.rsws::tests::subscribe_unsubscribews::tests::order_book_updateOrderBook checksums: ws::tests::order_book_checksumws::tests::order_book_helpers
bid_price, ask_price, mid_pricebest_bid, best_ask, best_bid_and_askquotews::tests::fillsws::tests::orders