private decimal?GetExpRate(DateTimeOffset currentTime) { var timeLine = GetExpirationTimeLine(currentTime); if (timeLine == null) { return(null); } return((decimal)DerivativesHelper.ExpRate(RiskFree, timeLine.Value)); }
private decimal GetExpRate(DateTimeOffset currentTime) { return((decimal)DerivativesHelper.ExpRate(RiskFree, GetExpirationTimeLine(currentTime))); }