pub(crate) fn finite_quantity(id: &str, quantity: f64) -> PyResult<()>
A NaN or infinite quantity turns the whole book’s value to NaN, naming no trade; refuse it naming the trade.