Expand description
§Deribit WebSocket Client
This crate provides a WebSocket client for the Deribit trading platform.
It implements the common traits from deribit-base and provides real-time
market data and trading functionality through WebSocket connections.
Re-exports§
pub use client::*;pub use messages::*;pub use subscriptions::*;
Modules§
- client
- WebSocket client implementation for Deribit
- common
- Common functionality shared across all Deribit clients
- error
- Common error types for Deribit clients
- messages
- WebSocket message types
- subscriptions
- WebSocket subscription management
- types
- Common data types for Deribit API
Structs§
- Account
Summary - Account summary
- ApiError
- API error structure
- ApiResponse
- Generic API response wrapper
- Deribit
Config - Common configuration for Deribit clients
- Deribit
Urls - Base URL configuration
- Instrument
- Instrument information
- Order
- Order information
- Position
- Position information
- Tick
- Market data tick
- Trade
- Trade information
Enums§
- Currency
- Currency type
- Deribit
Error - Common error type for all Deribit clients
- Instrument
Kind - Instrument kind
- Order
Side - Order side
- Order
State - Order state
- Order
Type - Order type
- Time
InForce - Time in force
Traits§
- Deribit
Client - Common trait for all Deribit clients
Type Aliases§
- Deribit
Result - Result type alias for Deribit operations