public interface ValuationOracle
| Modifier and Type | Method and Description |
|---|---|
MonetaryAmount |
getAmount(LocalDateTime evaluationTime,
LocalDateTime marketDataTime)
Provides the value of the Oracle at a given evaluation time.
|
Double |
getValue(LocalDateTime evaluationTime,
LocalDateTime marketDataTime)
Provides the value of the Oracle at a given evaluation time using market data from a given time.
|
Double getValue(LocalDateTime evaluationTime, LocalDateTime marketDataTime)
evaluationTime - The evaluation time.marketDataTime - The market data time.MonetaryAmount getAmount(LocalDateTime evaluationTime, LocalDateTime marketDataTime)
evaluationTime - The evaluation time.marketDataTime - The market data time.Copyright © 2019. All rights reserved.