예제 #1
0
        private decimal?GetExpRate(DateTimeOffset currentTime)
        {
            var timeLine = GetExpirationTimeLine(currentTime);

            if (timeLine == null)
            {
                return(null);
            }

            return((decimal)DerivativesHelper.ExpRate(RiskFree, timeLine.Value));
        }
예제 #2
0
 private decimal GetExpRate(DateTimeOffset currentTime)
 {
     return((decimal)DerivativesHelper.ExpRate(RiskFree, GetExpirationTimeLine(currentTime)));
 }