pub trait FillModel {
// Required method
fn fill(&self, order: &Order, bar: &Bar) -> Option<f64>;
}Expand description
Decides whether order fills against bar, returning the fill price.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".