rusftx 0.4.0

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

#[derive(Debug, serde::Serialize, serde::Deserialize)]
pub struct FundingRate {
    pub future: String,
    pub rate: Decimal,
    pub time: DateTime<Utc>,
}