Measuring Financial Risk: Calculating VaR and ES for Interest Rate Swaps with QuantLib Python

A Comprehensive Guide to Historical Simulation for Risk Measurement