Skip to main content

price_ten_thousandths

Function price_ten_thousandths 

pub(crate) fn price_ten_thousandths(price: f64) -> u32
Expand description

A strike in ten-thousandths of a price point — the exactly comparable form a risk key carries. Strikes are positive prices near par (a normal surface may hold zero), so the product is a modest non-negative integer and the cast can neither truncate nor lose a sign.