public class SmartDerivativeContractMargining extends Object
net.finmath.smartcontract.oracle.ValuationOraclegetValue(marginPeriodEnd, marginPeriodStart).ValuationOracle| Constructor and Description |
|---|
SmartDerivativeContractMargining(ValuationOracle derivativeValuationOracle) |
| Modifier and Type | Method and Description |
|---|---|
Double |
getMargin(LocalDateTime marginPeriodStart,
LocalDateTime marginPeriodEnd)
Get the margin of the contract based on the valuation oracles.
|
public SmartDerivativeContractMargining(ValuationOracle derivativeValuationOracle)
public Double getMargin(LocalDateTime marginPeriodStart, LocalDateTime marginPeriodEnd)
marginPeriodStart - Period start time of the margin period.marginPeriodEnd - Period end time of the margin period.Copyright © 2019. All rights reserved.