UNPKG

@railpath/finance-toolkit

Version:

Production-ready finance library for portfolio construction, risk analytics, quantitative metrics, and ML-based regime detection

8 lines (7 loc) 311 B
/** * Parkinson volatility estimator * Uses high-low range, more efficient than close-to-close * * Parkinson, M. (1980). "The Extreme Value Method for Estimating the Variance of the Rate of Return" */ export declare function calculateParkinsonVolatility(highPrices: number[], lowPrices: number[]): number;