Class MarginCalculator
java.lang.Object
net.finmath.smartcontract.valuation.MarginCalculator
Calculation of the settlement using Smart Derivative Contract with an Swap contained in a FPML,
using a valuation oracle with historic market data.
For details see the corresponding white paper at SSRN.
- Author:
- Christian Fries, Peter Kohl-Landgraf, Björn Paffen, Stefanie Weddigen, Dietmar Schnabel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCalculates the margin between t_2 and t_1.
-
Constructor Details
-
MarginCalculator
-
MarginCalculator
public MarginCalculator()
-
-
Method Details
-
getValue
public MarginResult getValue(String marketDataStart, String marketDataEnd, String productData) throws ExceptionCalculates the margin between t_2 and t_1.- Parameters:
marketDataStart- Curve name at time t_1.marketDataEnd- Curve name at time t_2.productData- Trade.- Returns:
- the margin (MarginResult).
- Throws:
Exception- Exception
-
getValue
- Throws:
Exception
-