Examples of TimeGrid


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
Copyright © 2018 www.massapi.com. 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.