Crate deribit_websocket

Source
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§

AccountSummary
Account summary
ApiError
API error structure
ApiResponse
Generic API response wrapper
DeribitConfig
Common configuration for Deribit clients
DeribitUrls
Base URL configuration
Instrument
Instrument information
Order
Order information
Position
Position information
Tick
Market data tick
Trade
Trade information

Enums§

Currency
Currency type
DeribitError
Common error type for all Deribit clients
InstrumentKind
Instrument kind
OrderSide
Order side
OrderState
Order state
OrderType
Order type
TimeInForce
Time in force

Traits§

DeribitClient
Common trait for all Deribit clients

Type Aliases§

DeribitResult
Result type alias for Deribit operations