<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Risk Management on Quick Insights</title>
    <link>https://www.yakauleu.com/tags/risk-management/</link>
    <description>Recent content in Risk Management on Quick Insights</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>© 2026 Yauheni Yakauleu</copyright>
    <lastBuildDate>Sat, 21 Nov 2026 09:00:00 +0000</lastBuildDate><atom:link href="https://www.yakauleu.com/tags/risk-management/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Value at Risk Backtesting in Python: Comparing Historical, Parametric, and Monte Carlo Methods</title>
      <link>https://www.yakauleu.com/post/value_at_risk_backtesting/</link>
      <pubDate>Sat, 21 Nov 2026 09:00:00 +0000</pubDate>
      
      <guid>https://www.yakauleu.com/post/value_at_risk_backtesting/</guid>
      <description>&lt;p&gt;Value at Risk (VaR) is the most widely used measure of market risk in finance. It answers a simple question: &lt;em&gt;What is the worst loss I can expect over a given horizon with a certain confidence level?&lt;/em&gt; For example, a 1-day 99% VaR of $1M means that, on average, only 1 out of 100 days should see a loss exceeding $1M.&lt;/p&gt;&#xA;&lt;p&gt;But VaR is only useful if it actually captures real losses at the claimed frequency. This is where &lt;em&gt;backtesting&lt;/em&gt; comes in: we check whether the number of exceedances (days when losses exceeded the VaR forecast) matches the confidence level.&lt;/p&gt;&#xA;&lt;p&gt;In this post, we implement three VaR estimation methods from scratch in NumPy:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Historical VaR&lt;/strong&gt; — ranking past returns and picking the quantile&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Parametric (Delta-Normal) VaR&lt;/strong&gt; — assuming returns are normally distributed&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Monte Carlo VaR&lt;/strong&gt; — simulating future paths from a calibrated model&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;We then backtest each method against a known portfolio and verify that the coverage rates match the claimed confidence levels.&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
