fyers-rs 0.0.1

Idiomatic async Rust client for the Fyers API v3 broker APIs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Shared WebSocket protocol helpers.
//!
//! Concrete command/event models live in [`crate::models::ws`]. Socket managers
//! use [`SocketKind`] to select the documented data, order, or TBT endpoint and
//! to apply the matching frame parser.

/// Broad Fyers socket family.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum SocketKind {
    /// Market data socket.
    Data,
    /// Order/trade/position socket.
    Order,
    /// TBT/depth socket, if confirmed as documented.
    Tbt,
}