Skip to main content

cones

Calculates the realized volatility quantiles over rolling windows of time. The model for calculating volatility is selectable.

Usage

cones [-l LOWER_Q] [-u UPPER_Q] [-m {STD,Parkinson,Garman-Klass,Hodges-Tompkins,Rogers-Satchell,Yang-Zhang}] [--is_crypto]

Parameters

NameParameterDescriptionDefaultOptionalChoices
lower_q-l --lower_qThe lower quantile value for calculations.0.25TrueNone
upper_q-u --upper_qThe upper quantile value for calculations.0.75TrueNone
model-m --modelThe model used to calculate realized volatility.STDTrueSTD, Parkinson, Garman-Klass, Hodges-Tompkins, Rogers-Satchell, Yang-Zhang
is_crypto--is_cryptoIf True, volatility is calculated for 365 days instead of 252.FalseTrueNone

On this page