Package tech.nmfin.meanreversion.volarb
Interface MeanPriceEstimator
-
- All Known Implementing Classes:
MeanEstimatorMaxLevelShift
public interface MeanPriceEstimator
Defines how to estimate the mean price.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
mean()
void
update(LocalDateTime time, double px)
Updates the model with the current price.
-
-
-
Method Detail
-
update
void update(LocalDateTime time, double px)
Updates the model with the current price.- Parameters:
time
- the update timepx
- the current price
-
mean
double mean()
-
-