docs.rs failed to build deribit-0.1.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
deribit-0.3.3
Deribit API V2 Client for Rust Language
This is experimental and currently under heavy development. Use at your own risk.
This library uses Rust nightly features extensively like async/await and futures api. You need a nightly Rust to make it run.
The current plan is to only implement the websocket communication, which includes call api through websocket and websocket subscription. I will first implement these APIs used for my own trading purpose, however, if you want some APIs to be prioritly implemented please open an issue or just throw me a PR (this is more welcome :P).
Implementation Status
-
Authentication
- /public/auth
- /private/logout
-
Session Management
- /public/set_heartbeat
- /public/disable_heartbeat
- /private/enable_cancel_on_disconnect
- /private/disable_cancel_on_disconnect
-
Supporting
- /public/get_time
- /public/hello
- /public/test
-
Subscription Management
- /public/subscribe
- /public/unsubscribe
- /private/subscribe
- /private/unsubscribe
-
Account Management
- /public/get_announcements
- /private/change_subaccount_name
- /private/create_subaccount
- /private/disable_tfa_for_subaccount
- /private/get_account_summary
- /private/get_email_language
- /private/get_new_announcements
- /private/get_position
- /private/get_positions
- /private/get_subaccounts
- /private/set_announcement_as_read
- /private/set_email_for_subaccount
- /private/set_email_language
- /private/set_password_for_subaccount
- /private/toggle_notifications_from_subaccount
- /private/toggle_subaccount_login
-
Trading
- /private/buy
- /private/sell
- /private/edit
- /private/cancel
- /private/cancel_all
- /private/cancel_all_by_currency
- /private/cancel_all_by_instrument
- /private/close_position
- /private/get_margins
- /private/get_open_orders_by_currency
- /private/get_open_orders_by_instrument
- /private/get_order_history_by_currency
- /private/get_order_history_by_instrument
- /private/get_order_margin_by_ids
- /private/get_order_state
- /private/get_user_trades_by_currency
- /private/get_user_trades_by_currency_and_time
- /private/get_user_trades_by_instrument
- /private/get_user_trades_by_instrument_and_time
- /private/get_user_trades_by_order
- /private/get_settlement_history_by_instrument
- /private/get_settlement_history_by_currency
-
Market Data
- /public/get_index
-
Wallet
- Not implemented
-
Subscriptions
- announcements
- book.{instrument_name}.{group}.{depth}.{interval}
- book.{instrument_name}.{interval}
- deribit_price_index.{index_name}
- deribit_price_ranking.{index_name}
- estimated_expiration_price.{index_name}
- markprice.options.{index_name}
- perpetual.{instrument_name}.{interval}
- quote.{instrument_name}
- ticker.{instrument_name}.{interval}
- trades.{instrument_name}.{interval}
- user.orders.{instrument_name}.{interval}
- user.orders.{kind}.{currency}.{interval}
- user.portfolio.{currency}
- user.trades.{instrument_name}.{interval}
- user.trades.{kind}.{currency}.{interval}]
Donate
16PeVqncfWoQ94M4pxnitkYnnW8agQBBZB