Solution - Simple Forecasting Market

Solution - Simple Forecasting Market#

# Output from previous execution
  SPY
date  
2025-08-31 0.0205
2025-09-30 0.0356
2025-10-31 0.0238
  DP EP CAPE BP T10YR CREDIT VIX
date              
2025-08-31 1.20 3.73 36.21 18.90 4.23 174.16 15.36
2025-09-30 1.17 3.60 37.38 18.30 4.15 164.17 16.28
2025-10-31 1.14 3.52 38.15 17.89 4.08 167.25 17.44
# Output from previous execution
../_images/530f114e1e5906f116b6008972aae73df64c699098a6b5899af39ac8be4d143d.png
# Output from previous execution
  Mean Vol Sharpe Min Max
passive 0.1132 0.1477 0.7665 -0.1652 0.1270
tilt 0.1284 0.1668 0.7698 -0.2480 0.1904
# Output from previous execution
  passive tilt
passive 1.0000 0.8940
tilt 0.8940 1.0000
# Output from previous execution
../_images/a7c905bdb2643e7f28bf730b17999fb02ed5829042df4c982e5f0f121eebb85e.png
# Output from previous execution
../_images/3c64b96cdb13065b9afa7c2a7861b6122a03fcd3681067519ac6f02e8bb4d62b.png
# Output from previous execution
../_images/0c04df60fe62cd414c7414cd8bc5d4f25606cfed3af5d01785dd5fd59a042b24.png
# Output from previous execution
  Mean Vol Sharpe Min Max
passive 0.1128 0.1478 0.7629 -0.1652 0.1270
tilt 0.1283 0.1670 0.7685 -0.2480 0.1904
continuous 0.1299 0.1803 0.7207 -0.2612 0.2068
# Output from previous execution
  passive tilt continuous
passive 1.0000 0.8941 0.9088
tilt 0.8941 1.0000 0.9530
continuous 0.9088 0.9530 1.0000
# Output from previous execution
../_images/d3f360ac17dfa337d9b537e090119abbbaf002924d3f4dcbb8a40ec62f47736d.png
# Output from previous execution
../_images/c8b97f0f9bf512f5ab969a3ca38534dc9b0984e269d444110420e68b69233b1d.png
# Output from previous execution
  EP
alpha -0.0049
beta 0.0027
r-squared 0.0065
# Output from previous execution
  Mean Vol Sharpe Min Max
passive 0.1128 0.1478 0.7629 -0.1652 0.1270
tilt 0.1283 0.1670 0.7685 -0.2480 0.1904
continuous 0.1299 0.1803 0.7207 -0.2612 0.2068
regression 0.0986 0.1207 0.8169 -0.1645 0.1340
# Output from previous execution
  passive tilt continuous regression
passive 1.0000 0.8941 0.9088 0.9332
tilt 0.8941 1.0000 0.9530 0.9523
continuous 0.9088 0.9530 1.0000 0.9917
regression 0.9332 0.9523 0.9917 1.0000
# Output from previous execution
../_images/4baf7efd891a3d35e16197fc3f52a784e2dfdfc18ab422c445de42ec974d9f81.png
# Output from previous execution
../_images/54af5e4a5f8ebc417c1b4adfd29e6ca79fb384e402042efe16cff7e38ac77f6b.png
# Output from previous execution
  DP
alpha -0.0049
beta 0.0076
r-squared 0.0068
# Output from previous execution
  Mean Vol Sharpe Min Max
passive 0.1128 0.1478 0.7629 -0.1652 0.1270
tilt 0.1201 0.1585 0.7576 -0.2480 0.1904
continuous 0.1007 0.1575 0.6391 -0.2656 0.2503
regression 0.0993 0.1166 0.8515 -0.1706 0.1670
# Output from previous execution
  passive tilt continuous regression
passive 1.0000 0.8827 0.8265 0.9152
tilt 0.8827 1.0000 0.9284 0.9272
continuous 0.8265 0.9284 1.0000 0.9474
regression 0.9152 0.9272 0.9474 1.0000
# Output from previous execution
../_images/de5ca20083a8d1d297599dd15b5d89cd6607836d1a5f4c16fdbb1316e31afe97.png