Regulatory Scenario Set
Get a regulator’s published scenario set: the thousands of simulated paths of interest rates, equity returns and inflation that pension funds or insurers must use.
The paths come from a documented and reviewed economic scenario generator. It is a reference to calibrate and validate an own scenario generator against, both for the real-world distribution and for the market-consistent one.
Available is the scenario set of De Nederlandsche Bank (DNB), which Dutch pension funds use for their feasibility test and the transition to the new pension contract: 20,000 scenarios over a horizon of 100 years, generated every quarter with the model the Commissie Parameters 2022 specified, under the real-world measure (the P-set) and the market-consistent measure (the Q-set, arbitrage-free and calibrated to market prices including swaptions).
The variables, as decimals per year of the horizon (year 0 is the end of the quarter the set is for): the annually compounded nominal zero rates “Nominal rate 1Y”, “5Y”, “10Y”, “20Y” and “30Y” and the euro area “Real rate EU 10Y”, derived from the model’s term structure, and the annual “Equity return”, “Inflation EU” and “Inflation NL” (from year 1).
By default the distribution per year is returned: the quantiles of the 20,000 scenarios and their mean. On request every scenario is returned instead (20,000 columns per variable). The set is a large workbook (around 180 MB) that takes a minute or two to download and read the first time; it is cached for 30 days.
See definition: dnb.nl
Also known as: DNB scenarioset, uniform scenario set, CP2022 scenarios, P-set, Q-set, regulatory economic scenario generator.
Example
Install the Finance Toolkit with pip install financetoolkit -U, then call get_scenario_set:
from financetoolkit import Economics
economics = Economics(end_date="2025-12-31")
scenario_set = economics.get_scenario_set(
measure='real_world', variables='Nominal rate 10Y', quantiles=[0.05, 0.5, 0.95]
)
scenario_set['Nominal rate 10Y'].loc[[0, 1, 5, 10, 30, 100]]
Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:
Where does De Nederlandsche Bank's real-world scenario set see the 10-year nominal interest rate today and in 1, 5, 10, 30 and 100 years, at the 5th, 50th and 95th percentiles and on average?
Which returns:
| Horizon | 5% | 50% | 95% | Mean |
|---|---|---|---|---|
| 0 | 0.0371 | 0.0371 | 0.0371 | 0.0371 |
| 1 | 0.0214 | 0.0320 | 0.0438 | 0.0322 |
| 2 | 0.0160 | 0.0299 | 0.0449 | 0.0301 |
| 3 | 0.0131 | 0.0289 | 0.0460 | 0.0292 |
| 4 | 0.0111 | 0.0284 | 0.0469 | 0.0287 |
| 5 | 0.0095 | 0.0277 | 0.0474 | 0.0280 |
| 6 | 0.0078 | 0.0269 | 0.0470 | 0.0272 |
| 7 | 0.0062 | 0.0260 | 0.0467 | 0.0262 |
| 8 | 0.0048 | 0.0248 | 0.0462 | 0.0250 |
| 9 | 0.0035 | 0.0240 | 0.0461 | 0.0243 |
| 10 | 0.0022 | 0.0229 | 0.0448 | 0.0231 |
| 11 | 0.0009 | 0.0218 | 0.0440 | 0.0221 |
| 12 | 0.0000 | 0.0213 | 0.0431 | 0.0213 |
| 13 | -0.0013 | 0.0201 | 0.0426 | 0.0204 |
| 14 | -0.0023 | 0.0194 | 0.0419 | 0.0195 |
| 15 | -0.0018 | 0.0197 | 0.0423 | 0.0199 |
| 16 | -0.0022 | 0.0195 | 0.0418 | 0.0196 |
| 17 | -0.0026 | 0.0189 | 0.0415 | 0.0191 |
| 18 | -0.0035 | 0.0181 | 0.0407 | 0.0183 |
| 19 | -0.0042 | 0.0172 | 0.0403 | 0.0175 |
| 20 | -0.0036 | 0.0183 | 0.0414 | 0.0186 |
| 21 | -0.0036 | 0.0186 | 0.0415 | 0.0187 |
| 22 | -0.0040 | 0.0180 | 0.0409 | 0.0182 |
| 23 | -0.0046 | 0.0172 | 0.0402 | 0.0175 |
| 24 | -0.0053 | 0.0167 | 0.0397 | 0.0168 |
| 25 | -0.0046 | 0.0176 | 0.0405 | 0.0177 |
| 26 | -0.0043 | 0.0177 | 0.0406 | 0.0179 |
| 27 | -0.0045 | 0.0175 | 0.0405 | 0.0177 |
| 28 | -0.0045 | 0.0172 | 0.0402 | 0.0174 |
| 29 | -0.0051 | 0.0169 | 0.0397 | 0.0170 |
| 30 | -0.0037 | 0.0181 | 0.0412 | 0.0184 |
| 31 | -0.0037 | 0.0186 | 0.0417 | 0.0187 |
| 32 | -0.0034 | 0.0184 | 0.0416 | 0.0186 |
| 33 | -0.0043 | 0.0180 | 0.0412 | 0.0182 |
| 34 | -0.0048 | 0.0173 | 0.0406 | 0.0176 |
| 35 | -0.0053 | 0.0168 | 0.0401 | 0.0170 |
| 36 | -0.0058 | 0.0163 | 0.0395 | 0.0165 |
| 37 | -0.0062 | 0.0157 | 0.0389 | 0.0160 |
| 38 | -0.0065 | 0.0152 | 0.0380 | 0.0154 |
| 39 | -0.0075 | 0.0145 | 0.0373 | 0.0147 |
| 40 | -0.0051 | 0.0169 | 0.0401 | 0.0172 |
| 41 | -0.0036 | 0.0185 | 0.0415 | 0.0186 |
| 42 | -0.0030 | 0.0194 | 0.0428 | 0.0196 |
| 43 | -0.0023 | 0.0199 | 0.0435 | 0.0202 |
| 44 | -0.0018 | 0.0204 | 0.0435 | 0.0206 |
| 45 | -0.0015 | 0.0208 | 0.0442 | 0.0210 |
| 46 | -0.0010 | 0.0212 | 0.0446 | 0.0214 |
| 47 | -0.0007 | 0.0216 | 0.0448 | 0.0217 |
| 48 | -0.0004 | 0.0220 | 0.0450 | 0.0221 |
| 49 | -0.0001 | 0.0224 | 0.0455 | 0.0225 |
| 50 | -0.0011 | 0.0212 | 0.0443 | 0.0213 |
| 51 | -0.0017 | 0.0206 | 0.0437 | 0.0207 |
| 52 | -0.0020 | 0.0200 | 0.0432 | 0.0202 |
| 53 | -0.0022 | 0.0198 | 0.0430 | 0.0201 |
| 54 | -0.0022 | 0.0199 | 0.0429 | 0.0202 |
| 55 | -0.0019 | 0.0200 | 0.0430 | 0.0202 |
| 56 | -0.0017 | 0.0199 | 0.0428 | 0.0201 |
| 57 | -0.0021 | 0.0199 | 0.0429 | 0.0201 |
| 58 | -0.0020 | 0.0199 | 0.0429 | 0.0201 |
| 59 | -0.0017 | 0.0198 | 0.0426 | 0.0201 |
| 60 | -0.0021 | 0.0198 | 0.0428 | 0.0200 |
| 61 | -0.0021 | 0.0199 | 0.0426 | 0.0200 |
| 62 | -0.0024 | 0.0199 | 0.0426 | 0.0200 |
| 63 | -0.0026 | 0.0198 | 0.0429 | 0.0200 |
| 64 | -0.0023 | 0.0198 | 0.0430 | 0.0200 |
| 65 | -0.0023 | 0.0198 | 0.0431 | 0.0201 |
| 66 | -0.0022 | 0.0198 | 0.0428 | 0.0200 |
| 67 | -0.0024 | 0.0198 | 0.0427 | 0.0200 |
| 68 | -0.0023 | 0.0198 | 0.0431 | 0.0201 |
| 69 | -0.0021 | 0.0200 | 0.0429 | 0.0200 |
| 70 | -0.0025 | 0.0198 | 0.0429 | 0.0200 |
| 71 | -0.0022 | 0.0198 | 0.0429 | 0.0200 |
| 72 | -0.0022 | 0.0199 | 0.0430 | 0.0201 |
| 73 | -0.0022 | 0.0200 | 0.0428 | 0.0201 |
| 74 | -0.0023 | 0.0199 | 0.0433 | 0.0201 |
| 75 | -0.0024 | 0.0199 | 0.0430 | 0.0201 |
| 76 | -0.0024 | 0.0199 | 0.0431 | 0.0201 |
| 77 | -0.0018 | 0.0199 | 0.0429 | 0.0201 |
| 78 | -0.0019 | 0.0198 | 0.0431 | 0.0202 |
| 79 | -0.0019 | 0.0198 | 0.0433 | 0.0202 |
| 80 | -0.0020 | 0.0200 | 0.0430 | 0.0201 |
| 81 | -0.0022 | 0.0200 | 0.0431 | 0.0202 |
| 82 | -0.0017 | 0.0199 | 0.0431 | 0.0202 |
| 83 | -0.0018 | 0.0201 | 0.0431 | 0.0203 |
| 84 | -0.0017 | 0.0201 | 0.0431 | 0.0203 |
| 85 | -0.0019 | 0.0201 | 0.0429 | 0.0203 |
| 86 | -0.0017 | 0.0200 | 0.0429 | 0.0203 |
| 87 | -0.0016 | 0.0199 | 0.0428 | 0.0202 |
| 88 | -0.0016 | 0.0199 | 0.0430 | 0.0202 |
| 89 | -0.0016 | 0.0199 | 0.0430 | 0.0201 |
| 90 | -0.0021 | 0.0199 | 0.0430 | 0.0201 |
| 91 | -0.0018 | 0.0200 | 0.0433 | 0.0202 |
| 92 | -0.0018 | 0.0200 | 0.0430 | 0.0202 |
| 93 | -0.0018 | 0.0198 | 0.0430 | 0.0202 |
| 94 | -0.0019 | 0.0199 | 0.0431 | 0.0201 |
| 95 | -0.0019 | 0.0198 | 0.0430 | 0.0201 |
| 96 | -0.0020 | 0.0199 | 0.0431 | 0.0201 |
| 97 | -0.0020 | 0.0200 | 0.0428 | 0.0202 |
| 98 | -0.0020 | 0.0198 | 0.0428 | 0.0201 |
| 99 | -0.0023 | 0.0200 | 0.0429 | 0.0201 |
| 100 | -0.0022 | 0.0198 | 0.0430 | 0.0201 |
101 rows
Parameters
get_scenario_set accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
authority | str | The regulator. Options are: “dnb” (De Nederlandsche Bank). Defaults to “dnb”. | "dnb" |
measure | str | The probability measure. Options are: “real_world” (the P-set), “market_consistent” (the Q-set). Defaults to “real_world”. | "market_consistent" |
variables | list[str] | str | None | The variables to include. Options are: “Nominal rate 1Y”, “Nominal rate 5Y”, “Nominal rate 10Y”, “Nominal rate 20Y”, “Nominal rate 30Y”, “Real rate EU 10Y”, “Equity return”, “Inflation EU” and “Inflation NL”. Defaults to None, which includes all of them. | ["Nominal rate 10Y", "Equity return"] |
quantiles | list[float] | None | The quantiles of the distribution per year. Defaults to None, which is [0.01, 0.05, 0.25, 0.5, 0.75, 0.95, 0.99]. | [0.05, 0.5, 0.95] |
scenarios | bool | Whether to return every scenario instead of the distribution. Defaults to False. | True |
rounding | int | None | The number of decimals to round the results to. Defaults to None, which uses the rounding of the Economics class. | 2 |
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 |