openlimits-binance 0.3.0

Binance implementation for OpenLimits.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use serde::Deserialize;
use serde::Serialize;
use super::SymbolPrice;

/// This enum represents the prices
#[derive(Debug, Serialize, Deserialize, Clone)]
#[serde(rename_all = "camelCase")]
#[serde(untagged)]
pub enum Prices {
    AllPrices(Vec<SymbolPrice>),
}