Function on_template
fn on_template(
template: &FutureOptionTemplate,
underlying: ListedFutureId,
expiry: NaiveDate,
strike: f64,
kind: OptionKind,
) -> Result<BondFutureOption, BondFutureOptionError>fn on_template(
template: &FutureOptionTemplate,
underlying: ListedFutureId,
expiry: NaiveDate,
strike: f64,
kind: OptionKind,
) -> Result<BondFutureOption, BondFutureOptionError>