rusftx 0.4.0

Rust bindings for the FTX REST and Websocket API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use chrono::{DateTime, Utc};
use rust_decimal::Decimal;

#[derive(Debug, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Trigger {
    pub order_id: Option<u64>,
    pub order_size: Option<Decimal>,
    pub filled_size: Option<Decimal>,
    pub time: DateTime<Utc>,
    pub error: Option<String>,
}