{"data":{"id":"stress-scenarios","title":"Crisis stress scenarios","description":"Apply sourced approximate crisis shocks to a submitted portfolio, with explicit proxy methods and currency coverage.","endpoint":"/api/v1/public/portfolio-analysis/stress-scenarios","methodology":"https://investboard.com/calculators/api/methodology#stress-scenarios","operationId":"analyzePublicPortfolioStressScenarios","inputSchema":{"type":"object","properties":{"portfolio":{"anyOf":[{"type":"object","properties":{"baseCurrency":{"type":"string","pattern":"^[A-Za-z]{3}$","default":"EUR","description":"Value currency (default EUR)."},"locale":{"type":"string","enum":["de","en","es","it","fr","nl","cs","pl","ru","uk"],"default":"en","description":"Language (default en)."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":50,"description":"Top positions per list (1–100). tailWeight sums the named rows beyond the list. No paging."},"basis":{"type":"string","enum":["weights"],"default":"weights","description":"Fractions summing to 1."},"holdings":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"isin":{"type":"string","pattern":"^[A-Z]{2}[A-Z0-9]{9}[0-9]$","description":"Supplied ISIN."},"weight":{"type":"number","minimum":0,"maximum":1,"exclusiveMinimum":0,"description":"Portfolio fraction (0.6 = 60%)."}},"required":["isin","weight"],"additionalProperties":false},{"type":"object","properties":{"assetClass":{"type":"string","enum":["cash"],"description":"Cash position."},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"Cash denomination."},"weight":{"type":"number","minimum":0,"maximum":1,"exclusiveMinimum":0,"description":"Portfolio fraction (0.6 = 60%)."}},"required":["assetClass","currency","weight"],"additionalProperties":false}]},"minItems":1,"maxItems":25,"description":"Supplied positions."}},"required":["holdings"],"additionalProperties":false},{"type":"object","properties":{"baseCurrency":{"type":"string","pattern":"^[A-Za-z]{3}$","default":"EUR","description":"Value currency (default EUR)."},"locale":{"type":"string","enum":["de","en","es","it","fr","nl","cs","pl","ru","uk"],"default":"en","description":"Language (default en)."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":50,"description":"Top positions per list (1–100). tailWeight sums the named rows beyond the list. No paging."},"basis":{"type":"string","enum":["values"],"description":"Market values in baseCurrency."},"holdings":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"isin":{"type":"string","pattern":"^[A-Z]{2}[A-Z0-9]{9}[0-9]$","description":"Supplied ISIN."},"value":{"type":"number","exclusiveMinimum":0,"maximum":100000000,"description":"Value in baseCurrency."}},"required":["isin","value"],"additionalProperties":false},{"type":"object","properties":{"assetClass":{"type":"string","enum":["cash"],"description":"Cash position."},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"Cash denomination."},"value":{"type":"number","exclusiveMinimum":0,"maximum":100000000,"description":"Value in baseCurrency."}},"required":["assetClass","currency","value"],"additionalProperties":false}]},"minItems":1,"maxItems":25,"description":"Supplied positions."}},"required":["basis","holdings"],"additionalProperties":false}],"description":"Supplied portfolio; same shape as analyze_holdings."},"scenarioKeys":{"type":"array","items":{"type":"string","enum":["gfc_2008","covid_2020","rate_hike_2022","euro_crisis_2011","dotcom_2000"]},"minItems":1,"maxItems":5,"description":"One to five distinct historical scenarios to replay."}},"required":["portfolio","scenarioKeys"],"additionalProperties":false},"resultSchema":{"type":"object","properties":{"model":{"type":"string","enum":["approximate_sector_asset_class_shocks_currency_unknown"]},"scenarios":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","enum":["gfc_2008","covid_2020","rate_hike_2022","euro_crisis_2011","dotcom_2000"]},"name":{"type":"string"},"dateFrom":{"type":"string","format":"date"},"dateTo":{"type":"string","format":"date"},"status":{"type":"string","enum":["ok","unavailable"]},"failure":{"type":["string","null"],"enum":["unresolved_holdings","unsupported_base_currency","missing_currency","missing_scenario_coverage",null]},"returnFraction":{"type":["number","null"]},"preValue":{"type":["number","null"],"minimum":0},"postValue":{"type":["number","null"],"minimum":0},"change":{"type":["number","null"]},"approximate":{"type":"boolean","enum":[true]},"methodology":{"type":"string"},"sources":{"type":"array","items":{"type":"string"},"description":"Source descriptions including URLs, preserved from the maintained scenario registry."},"reviewedAt":{"type":["string","null"],"format":"date"},"positions":{"type":"array","items":{"type":"object","properties":{"isin":{"type":["string","null"],"pattern":"^[A-Z]{2}[A-Z0-9]{9}[0-9]$"},"cashCurrency":{"type":["string","null"]},"weight":{"type":"number","minimum":0,"maximum":1},"assetClass":{"type":"string"},"returnFraction":{"type":"number"},"fxShockApplied":{"type":["number","null"]},"currencyDecomposition":{"type":"string","enum":["unavailable","cash_denomination"]},"method":{"type":"string","enum":["sector_proxy","asset_class_proxy"]},"preValue":{"type":["number","null"],"minimum":0},"postValue":{"type":["number","null"],"minimum":0},"change":{"type":["number","null"]}},"required":["isin","cashCurrency","weight","assetClass","returnFraction","fxShockApplied","currencyDecomposition","method","preValue","postValue","change"],"additionalProperties":false}}},"required":["key","name","dateFrom","dateTo","status","failure","returnFraction","preValue","postValue","change","approximate","methodology","sources","reviewedAt","positions"],"additionalProperties":false}}},"required":["model","scenarios"],"additionalProperties":false},"example":{"portfolio":{"basis":"weights","baseCurrency":"EUR","holdings":[{"isin":"IE00B4L5Y983","weight":0.6},{"isin":"IE00B3XXRP09","weight":0.3},{"assetClass":"cash","currency":"EUR","weight":0.1}],"locale":"en"},"scenarioKeys":["gfc_2008","covid_2020","rate_hike_2022"]},"supportedInBatch":false,"scenarios":[{"key":"gfc_2008","name":{"de":"Finanzkrise 2008","en":"Global Financial Crisis 2008"},"dateFrom":"2007-10-09","dateTo":"2009-03-09","approximate":true,"provenance":{"approximate":true,"methodology":"Headline −0.57 is the S&P 500 peak-to-trough (2007-10-09 close 1565.15 → 2009-03-09 close 676.53, ≈ −56.8%). Sector shocks are rounded approximations of MSCI/GICS sector index peak-to-trough over the same window; asset-class shocks are rounded directional approximations from published cross-asset moves. Currency moves are each currency's move against the euro, computed from the ECB euro foreign exchange reference rates on 2007-10-09 and 2009-03-09 (start rate / end rate - 1, rounded to two decimals; checked 2026-11-11). Crypto has no figure of its own in this window and takes the shares figure as a stand-in, a scenario assumption rather than a measured crypto move. Not a backtest of the user's holdings.","sources":["S&P 500 index, peak 2007-10-09 → trough 2009-03-09 (≈ −56.8%) — https://www.spglobal.com/spdji/en/indices/equity/sp-500/","MSCI World / GICS sector indices, 2007–2009 drawdown — https://www.msci.com/end-of-day-data-search","NBER US recession dating, Dec 2007 – Jun 2009 — https://www.nber.org/research/business-cycle-dating","ECB euro foreign exchange reference rates, 2007-10-09 and 2009-03-09 (currency moves against the euro) · https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html"],"reviewedAt":"2026-05-31","currencyReviewedAt":"2026-11-11"}},{"key":"covid_2020","name":{"de":"COVID-19 Crash 2020","en":"COVID-19 Crash 2020"},"dateFrom":"2020-02-19","dateTo":"2020-03-23","approximate":true,"provenance":{"approximate":true,"methodology":"Headline −0.34 is the S&P 500 peak-to-trough (2020-02-19 close 3386.15 → 2020-03-23 close 2237.40, ≈ −33.9%). Sector shocks are rounded approximations of the GICS sector index drops over the same five-week window (Energy worst on the oil-price collapse); asset-class shocks are rounded directional approximations. Currency moves are each currency's move against the euro, computed from the ECB euro foreign exchange reference rates on 2020-02-19 and 2020-03-23 (start rate / end rate - 1, rounded to two decimals; checked 2026-11-11). Not a backtest of the user's holdings.","sources":["S&P 500 index, peak 2020-02-19 → trough 2020-03-23 (≈ −33.9%) — https://www.spglobal.com/spdji/en/indices/equity/sp-500/","S&P 500 GICS sector total returns, Feb–Mar 2020 — https://www.spglobal.com/spdji/en/index-family/equity/us-equity/sp-sectors/","WTI crude collapse, Mar 2020 (Energy sector driver) — https://www.eia.gov/dnav/pet/hist/RWTCD.htm","ECB euro foreign exchange reference rates, 2020-02-19 and 2020-03-23 (currency moves against the euro) · https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html"],"reviewedAt":"2026-05-31","currencyReviewedAt":"2026-11-11"}},{"key":"rate_hike_2022","name":{"de":"Zinsschock 2022","en":"Rate Hike Shock 2022"},"dateFrom":"2022-01-03","dateTo":"2022-10-12","approximate":true,"provenance":{"approximate":true,"methodology":"Headline −0.25 is the S&P 500 peak-to-trough (2022-01-03 close 4796.56 → 2022-10-12 close 3577.03, ≈ −25.4%). Sector shocks are rounded approximations reflecting the rate-shock dispersion (long-duration Technology/Communication worst, Energy positive); bonds −0.15 approximates the Bloomberg US Aggregate's record 2022 drawdown; the USD move reflects the EUR/USD slide below parity. Currency moves are each currency's move against the euro, computed from the ECB euro foreign exchange reference rates on 2022-01-03 and 2022-10-12 (start rate / end rate - 1, rounded to two decimals; checked 2026-11-11). Not a backtest of the user's holdings.","sources":["S&P 500 index, peak 2022-01-03 → trough 2022-10-12 (≈ −25.4%) — https://www.spglobal.com/spdji/en/indices/equity/sp-500/","Bloomberg US Aggregate Bond Index 2022 total return ≈ −13% (worst on record) — https://www.bloomberg.com/markets/rates-bonds","EUR/USD fell below parity, Sep 2022 — https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/eurofxref-graph-usd.en.html","ECB euro foreign exchange reference rates, 2022-01-03 and 2022-10-12 (currency moves against the euro) · https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html"],"reviewedAt":"2026-05-31","currencyReviewedAt":"2026-11-11"}},{"key":"euro_crisis_2011","name":{"de":"Eurokrise 2011","en":"European Debt Crisis 2011"},"dateFrom":"2011-05-02","dateTo":"2011-10-04","approximate":true,"provenance":{"approximate":true,"methodology":"Headline −0.22 approximates the broad European equity peak-to-trough over the 2011 sovereign-debt sell-off (EURO STOXX 50 ≈ −28% intra-year; S&P 500 ≈ −19% 2011-05-02→2011-10-04). Financials worst on bank/sovereign contagion; CHF positive (safe-haven, pre-SNB-floor). Asset-class shocks are rounded directional approximations. Currency moves are each currency's move against the euro, computed from the ECB euro foreign exchange reference rates on 2011-05-02 and 2011-10-04 (start rate / end rate - 1, rounded to two decimals; checked 2026-11-11). Crypto has no figure of its own in this window and takes the shares figure as a stand-in, a scenario assumption rather than a measured crypto move. Not a backtest of the user's holdings.","sources":["EURO STOXX 50 index, 2011 drawdown — https://www.stoxx.com/index-details?symbol=SX5E","S&P 500 index, peak 2011-05-02 → trough 2011-10-04 (≈ −19%) — https://www.spglobal.com/spdji/en/indices/equity/sp-500/","SNB EUR/CHF 1.20 floor announced 2011-09-06 (CHF safe-haven strength) — https://www.snb.ch/en/mmr/reference/pre_20110906/source/pre_20110906.en.pdf","ECB euro foreign exchange reference rates, 2011-05-02 and 2011-10-04 (currency moves against the euro) · https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html"],"reviewedAt":"2026-05-31","currencyReviewedAt":"2026-11-11"}},{"key":"dotcom_2000","name":{"de":"Dotcom-Blase 2000","en":"Dotcom Bubble 2000"},"dateFrom":"2000-03-10","dateTo":"2002-10-09","approximate":true,"provenance":{"approximate":true,"methodology":"Headline −0.49 is the S&P 500 peak-to-trough (2000-03-24 close 1527.46 → 2002-10-09 close 776.76, ≈ −49.1%). Technology −0.78 approximates the NASDAQ Composite's ≈ −78% collapse (5048.62 → 1114.11); other sector shocks are rounded approximations of the dispersion over the bubble unwind. Slowest recovery in the catalog. Currency moves are each currency's move against the euro, computed from the ECB euro foreign exchange reference rates on 2000-03-10 and 2002-10-09 (start rate / end rate - 1, rounded to two decimals; checked 2026-11-11). Crypto has no figure of its own in this window and takes the shares figure as a stand-in, a scenario assumption rather than a measured crypto move. Not a backtest of the user's holdings.","sources":["S&P 500 index, peak 2000-03-24 → trough 2002-10-09 (≈ −49%) — https://www.spglobal.com/spdji/en/indices/equity/sp-500/","NASDAQ Composite, peak 2000-03-10 5048.62 → trough 2002-10-09 1114.11 (≈ −78%) — https://www.nasdaq.com/market-activity/index/comp","ECB euro foreign exchange reference rates, 2000-03-10 and 2002-10-09 (currency moves against the euro) · https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html"],"reviewedAt":"2026-05-31","currencyReviewedAt":"2026-11-11"}}],"responseSchema":{"type":"object","properties":{"modelVersion":{"type":"string"},"computedAt":{"type":"string","format":"date-time"},"baseCurrency":{"type":"string"},"capability":{"type":"string","enum":["stress-scenarios"]},"analysis":{"type":"object","properties":{"status":{"type":"string","enum":["ok","partial","unavailable"]},"reasons":{"type":"array","items":{"type":"string","enum":["unresolved_holdings","provider_unavailable","incomplete_coverage","no_equities","fewer_than_two_funds"]}},"data":{"type":["object","null"],"properties":{"model":{"type":"string","enum":["approximate_sector_asset_class_shocks_currency_unknown"]},"scenarios":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","enum":["gfc_2008","covid_2020","rate_hike_2022","euro_crisis_2011","dotcom_2000"]},"name":{"type":"string"},"dateFrom":{"type":"string","format":"date"},"dateTo":{"type":"string","format":"date"},"status":{"type":"string","enum":["ok","unavailable"]},"failure":{"type":["string","null"],"enum":["unresolved_holdings","unsupported_base_currency","missing_currency","missing_scenario_coverage",null]},"returnFraction":{"type":["number","null"]},"preValue":{"type":["number","null"],"minimum":0},"postValue":{"type":["number","null"],"minimum":0},"change":{"type":["number","null"]},"approximate":{"type":"boolean","enum":[true]},"methodology":{"type":"string"},"sources":{"type":"array","items":{"type":"string"},"description":"Source descriptions including URLs, preserved from the maintained scenario registry."},"reviewedAt":{"type":["string","null"],"format":"date"},"positions":{"type":"array","items":{"type":"object","properties":{"isin":{"type":["string","null"],"pattern":"^[A-Z]{2}[A-Z0-9]{9}[0-9]$"},"cashCurrency":{"type":["string","null"]},"weight":{"type":"number","minimum":0,"maximum":1},"assetClass":{"type":"string"},"returnFraction":{"type":"number"},"fxShockApplied":{"type":["number","null"]},"currencyDecomposition":{"type":"string","enum":["unavailable","cash_denomination"]},"method":{"type":"string","enum":["sector_proxy","asset_class_proxy"]},"preValue":{"type":["number","null"],"minimum":0},"postValue":{"type":["number","null"],"minimum":0},"change":{"type":["number","null"]}},"required":["isin","cashCurrency","weight","assetClass","returnFraction","fxShockApplied","currencyDecomposition","method","preValue","postValue","change"],"additionalProperties":false}}},"required":["key","name","dateFrom","dateTo","status","failure","returnFraction","preValue","postValue","change","approximate","methodology","sources","reviewedAt","positions"],"additionalProperties":false}}},"required":["model","scenarios"],"additionalProperties":false}},"required":["status","reasons","data"],"additionalProperties":false},"assumptions":{"type":"array","items":{"type":"string"}},"limitations":{"type":"array","items":{"type":"string"}},"links":{"type":"object","properties":{"documentation":{"type":"string","format":"uri"},"catalog":{"type":"string","format":"uri"}},"required":["documentation","catalog"],"additionalProperties":false}},"required":["modelVersion","computedAt","baseCurrency","capability","analysis","assumptions","limitations","links"],"additionalProperties":false}},"error":null,"meta":{}}