sandbox-quant 1.0.8

Exchange-truth trading core for Binance Spot and Futures
Documentation
1
2
3
4
5
6
7
8
#[derive(Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct Instrument(pub String);

impl Instrument {
    pub fn new(value: impl Into<String>) -> Self {
        Self(value.into())
    }
}