candles-rs 0.1.4

A Rust library for fetching candlestick (OHLCV) data from multiple cryptocurrency exchanges including Binance, OKX, Bybit, BloFin, and BingX.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde::Deserialize;

#[derive(Deserialize)]
pub struct HtxKlineResponse {
    pub id: i64,
    pub open: f64,

    pub close: f64,
    pub low: f64,
    pub high: f64,
    pub amount: f64,
}