fn hours_to_expiry(
wallet: WalletAddress,
key: &PortfolioMarginOptionKey,
underlying: &str,
now_ts: i64,
) -> Result<f64, MarginError>fn hours_to_expiry(
wallet: WalletAddress,
key: &PortfolioMarginOptionKey,
underlying: &str,
now_ts: i64,
) -> Result<f64, MarginError>