Пример #1
0
        /// <summary>
        /// initialises pricing engine.
        /// </summary>
        /// <param name="engine">the new pricing engine</param>
        public void SetPricingEngine(PricingEngine engine)
        {
            Debug.Assert(engine != null, "engine==null");

            _engine = engine;
            // following will trigger recalculation and notify observers
            Update();
            SetUpEngine();
        }
Пример #2
0
 public ImpliedVolHelper(PricingEngine engine, double targetValue)
 {
     _engine = engine;
     _targetValue = targetValue;
 }
Пример #3
0
        public Option(PricingEngine engine)
        {
            Debug.Assert(engine != null, "engine==null");

            _engine = engine;
        }
Пример #4
0
 public VanillaOption(double price, double strike, double rate, double dividend, double volatility,
     double timeToMaturity, OptionType type, OptionExercise exercise, PricingEngine engine)
 {
     throw new NotImplementedException();
 }