Rogers-Satchell Volatility
Rogers-Satchell Volatility is drift-independent, meaning it remains unbiased even when the underlying asset has a non-zero expected return over the period, at the cost of still assuming no overnight jumps.
The formula is as follows:
\[\text{Rogers-Satchell Variance} = \operatorname{Mean}(\ln(H / C) \cdot \ln(H / O) + \ln(L / C) \cdot \ln(L / O))\]Source: Rogers, L.C.G., & Satchell, S.E. (1991). “Estimating Variance from High, Low and Close Prices.” Annals of Applied Probability, 1(4), 504-512.
In the Finance Toolkit this is get_volatility with method="rogers_satchell"; the Volatility page has the function’s full description.
Rogers-Satchell Volatility in Python
Install the Finance Toolkit with:
pip install financetoolkit -U
Then call get_volatility as shown below.
from financetoolkit import Toolkit
toolkit = Toolkit(
["EURUSD", "BTCUSD", "^GSPC", "GCUSD"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2021-01-01",
end_date="2025-12-31",
)
toolkit.risk.get_volatility(method="rogers_satchell", period="yearly")
Which returns:
| Date | EURUSD | BTCUSD | ^GSPC | GCUSD | Benchmark |
|---|---|---|---|---|---|
| 2021 | 0.0525 | 0.8414 | 0.1059 | 0.1523 | 0.1112 |
| 2022 | 0.1024 | 0.5527 | 0.1783 | 0.1596 | 0.1852 |
| 2023 | 0.0732 | 0.3849 | 0.1039 | 0.1376 | 0.1075 |
| 2024 | 0.0599 | 0.4737 | 0.0993 | 0.1479 | 0.1015 |
| 2025 | 0.0745 | 0.395 | 0.1389 | 0.1878 | 0.1392 |
Parameters
get_volatility accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
period | str | The data frequency for returns (weekly, monthly, quarterly, or yearly). Defaults to “quarterly” if the Toolkit is initialised with quarterly=True, otherwise “yearly”. | "quarterly" |
rolling | int | The rolling window size to use for the calculation. If set, Volatility is calculated over a rolling window of this many periods (e.g. period=’monthly’ and rolling=6 gives the rolling 6-month Volatility) instead of one value per period. Only available for method=”close_to_close”. Defaults to None. | 4 |
method | str | Which Volatility estimator to use, one of “close_to_close”, “parkinson”, “garman_klass”, “rogers_satchell” or “yang_zhang”, as described above. Defaults to “close_to_close”. | "yang_zhang" |
rounding | int | None | The number of decimals to round the results to. Defaults to None, which uses the rounding of the Toolkit (4 unless set otherwise). | 2 |
growth | bool | Whether to calculate the growth of the Volatility values over time. Defaults to False. | True |
lag | int | list[int] | The lag to use for the growth calculation. Defaults to 1. | 4 |
standardize | bool | Whether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False. | True |
show_columns | str | list[str] | None | The columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column. | None, which keeps every column |