Skip to main content

rate_basis_points

Function rate_basis_points 

pub fn rate_basis_points(rate: f64) -> i32
Expand description

A rate strike as basis points — the exactly comparable form a risk key carries, signed because a cap market quotes a strike below zero. Strikes are small rates, so the product is a modest integer and the cast can neither truncate nor overflow.