Package org.jquantlib.time

Examples of org.jquantlib.time.TimeGrid


  public BlackScholesLattice(
          final T tree,
          final double riskFreeRate,
          final /*@Time*/ double end,
      final int steps) {
    super(new TimeGrid(end, steps), 2);
    this.tree = tree;
    this.discount = Math.exp(-riskFreeRate * (end / steps));
    this.pd = tree.probability(0, 0, 0);
    this.pu = tree.probability(0, 0, 1);
  }
View Full Code Here

TOP

Related Classes of org.jquantlib.time.TimeGrid

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.