lnm-sdk 0.6.0

Rust SDK for interacting with LN Markets.
Documentation
1
2
3
4
5
6
7
8
pub(crate) mod cross;
pub(crate) mod order;

/// A validated quantity value used by trade calculations.
pub trait Quantity: crate::sealed::Sealed + Clone + Copy + PartialEq + Eq {
    /// Returns the quantity value as a `f64`.
    fn as_f64(&self) -> f64;
}