1 2 3 4 5
use crate::domain::instrument::Instrument; pub trait PriceSource { fn current_price(&self, instrument: &Instrument) -> Option<f64>; }