weex_rust_sdk 0.6.1

Professional Rust SDK for WEEX Exchange - AI Wars ready with full API coverage, AI Log upload, Futures trading
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use rust_decimal::Decimal;
use serde::{Deserialize, Serialize};

#[derive(Debug, Deserialize, Serialize, Clone)]
pub struct Ticker {
    pub symbol: String,
    pub last: Decimal,
    #[serde(rename = "best_ask")]
    pub best_ask: Decimal,
    #[serde(rename = "best_bid")]
    pub best_bid: Decimal,
}