All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.finmath.equities.marketdata.VolatilityPoint Maven / Gradle / Ivy

Go to download

finmath lib is a Mathematical Finance Library in Java. It provides algorithms and methodologies related to mathematical finance.

There is a newer version: 6.0.19
Show newest version
package net.finmath.equities.marketdata;

import java.time.LocalDate;

/**
 * Class to store and handle volatility market quote.
 *
 * @author Andreas Grotz
 */

public class VolatilityPoint {

	private final LocalDate date;
	private final double strike;
	private final double volatility;

	public VolatilityPoint(
			final LocalDate date,
			final double strike,
			final double volatility)
	{
		this.date = date;
		this.strike = strike;
		this.volatility = volatility;
	}

	public LocalDate getDate() {
		return date;
	}

	public double getStrike() {
		return strike;
	}

	public double getVolatility() {
		return volatility;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy