Initial public release

This commit is contained in:
kwyvern-gitea
2026-08-12 16:40:51 -07:00
commit ce064d5462
14 changed files with 1769 additions and 0 deletions
+56
View File
@@ -0,0 +1,56 @@
# Regional VIX Gate
Use this package to monitor regional volatility levels and identify volatility breaches.
Historical data shows that returns through the next rebalance have tended to underperform after a regional volatility index crosses above its 95th percentile.
The monitor reports the current levels that users can watch for these breaches.
## Run the regional monitor
Refresh US VIX, EU VSTOXX, and JP Nikkei VI data. Then print the current breach state:
```powershell
.venv\Scripts\python.exe scripts\live\vix_breach_monitor.py
```
Use existing cache files for an offline check:
```powershell
.venv\Scripts\python.exe scripts\live\vix_breach_monitor.py --no-refresh
```
The monitor reports current thresholds and headroom for each region.
## Performance summary
The comparison applies the VIX rule to the same US stock-selection research method that supports Global Live. All rows use the same historical window.
The first row shows the US research baseline. The second row adds the VIX-p95 exposure rule.
| Return stream | Window | CAGR | Sharpe | Sortino | Maximum drawdown | Hit rate |
|---|---|---:|---:|---:|---:|---:|
| US stock-selection research baseline | 2018-01 through 2026-04 | 22.47% | 0.997 | 1.137 | -35.35% | 61.62% |
| US research baseline with VIX gate | 2018-01 through 2026-04 | 22.56% | 1.215 | 2.584 | -13.92% | 61.62% |
| SPY buy-and-hold benchmark | 2018-01 through 2026-04 | 13.56% | 0.796 | 0.775 | -28.62% | 68.69% |
These results apply only to the US baseline. They do not establish EU, JP, CA, or live out-of-sample performance.
The gate returns daily exposure states.
These figures are research results. The artifact does not establish performance after fees, slippage, or market impact.
## Requirements
- Python 3.10 or later
- An EODHD API key for US and EU refreshes
- Access to the Nikkei VI CSV source for JP refreshes
Create a virtual environment. Then install the package dependencies:
```powershell
python -m venv .venv
.venv\Scripts\python.exe -m pip install -r requirements.txt
```
Place the EODHD key in `eodhd_api.key` at the package root. Do not commit or share this file.