public interface ReturnsCalculator
| Modifier and Type | Method and Description |
|---|---|
double |
computePrice(double px0,
double r)
Computes the next price after a return.
|
double |
computeReturn(double p0,
double p1)
Computes the portfolio return.
|
double computeReturn(double p0,
double p1)
p0 - the beginning value of the portfoliop1 - the ending value of the portfoliodouble computePrice(double px0,
double r)
px0 - the original pricer - the returnCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.