Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def calculate_historical_var(returns: np.ndarray, var_level: float = 0.95) -> fl
|
|
| 16 |
"""
|
| 17 |
Calculate the Value at Risk (VaR) using the historical method.
|
| 18 |
|
| 19 |
-
|
| 20 |
returns: Array of daily returns.
|
| 21 |
var_level: VaR level (e.g., 0.95 for 95%).
|
| 22 |
|
|
|
|
| 16 |
"""
|
| 17 |
Calculate the Value at Risk (VaR) using the historical method.
|
| 18 |
|
| 19 |
+
Args:
|
| 20 |
returns: Array of daily returns.
|
| 21 |
var_level: VaR level (e.g., 0.95 for 95%).
|
| 22 |
|