sandbox-quant 1.0.8

Exchange-truth trading core for Binance Spot and Futures
Documentation
1
2
3
4
5
use crate::domain::instrument::Instrument;

pub trait PriceSource {
    fn current_price(&self, instrument: &Instrument) -> Option<f64>;
}