{
 "finlab_version": "2.3.8",
 "pandas_version": "3.1.1",
 "data_end": "2026-11-05",
 "us_start": "2016-04-01",
 "tw_start": "2015-01-05",
 "win_rule": "daily Sharpe (no risk-free rate) above QQQ (0050 for Taiwan) dividend-adjusted buy and hold on the same dates",
 "decay": {
  "TQQQ": {
   "calibration": {
    "correlation": 0.9989,
    "slope": 2.958,
    "days_off_by_2pct": 1,
    "days": 2726
   },
   "whole_period": {
    "start": "2016-01-04",
    "end": "2026-11-05",
    "years": 10.817,
    "leverage": 3,
    "underlying_ticker": "QQQ",
    "fund": 22.75878802789413,
    "underlying": 5.38388072865513,
    "k_x_underlying": 16.15164218596539,
    "ideal": 49.193063583687476,
    "simple_gap": 6.607145841928741,
    "gap": -2.393376047088194,
    "volatility": -1.6454516898278269,
    "volatility_approx": -1.61953016763043,
    "costs": -0.7479243572603673,
    "underlying_vol": 0.2230920666166255,
    "gap_per_year": -0.22125119730969364,
    "volatility_per_year": -0.15211072114329138,
    "volatility_approx_per_year": -0.14971445423436108,
    "costs_per_year": -0.06914047616640226,
    "fund_cagr": 0.340249077518632,
    "underlying_cagr": 0.186928515418598
   },
   "years": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016", "2016-01-04", "2016-12-30", 251, 0.183036, 0.094097, 0.28229, 0.211379, -0.099254, -0.101703, -0.078028, -0.076917, -0.023675, 0.160629, 0.000876],
     ["2017", "2016-12-30", "2017-12-29", 251, 1.181132, 0.326645, 0.979936, 1.259611, 0.201196, -0.068116, -0.032768, -0.032663, -0.035349, 0.103157, 0.006879],
     ["2018", "2017-12-29", "2018-12-31", 251, -0.198052, -0.001163, -0.003488, -0.149319, -0.194564, -0.217222, -0.158228, -0.155958, -0.058994, 0.228909, 0.017375],
     ["2019", "2018-12-31", "2019-12-31", 252, 1.338615, 0.389598, 1.168793, 1.476773, 0.169822, -0.137484, -0.080086, -0.079727, -0.057397, 0.161909, 0.020321],
     ["2020", "2019-12-31", "2020-12-31", 253, 1.100743, 0.486188, 1.458563, 1.191214, -0.35782, -0.446352, -0.404187, -0.383428, -0.042165, 0.356329, 0.003988],
     ["2021", "2020-12-31", "2021-12-31", 252, 0.829743, 0.274203, 0.82261, 0.871416, 0.007133, -0.122788, -0.100268, -0.099967, -0.02252, 0.182175, -0.000983],
     ["2022", "2021-12-31", "2022-12-30", 251, -0.790856, -0.325786, -0.977357, -0.775953, 0.186501, -0.382112, -0.313276, -0.309022, -0.068835, 0.321496, 0.014046],
     ["2023", "2022-12-30", "2023-12-29", 250, 1.982632, 0.548527, 1.64558, 2.374494, 0.337052, -0.219105, -0.095666, -0.097083, -0.123439, 0.178658, 0.049437],
     ["2024", "2023-12-29", "2024-12-31", 252, 0.582496, 0.255764, 0.767293, 0.794767, -0.184798, -0.22423, -0.098358, -0.097597, -0.125872, 0.180069, 0.05191],
     ["2025", "2024-12-31", "2025-12-31", 250, 0.343562, 0.207657, 0.622971, 0.500811, -0.279409, -0.270722, -0.160041, -0.165613, -0.110681, 0.235967, 0.041481],
     ["2026", "2025-12-31", "2026-11-05", 213, -0.036988, 0.056841, 0.170522, 0.042173, -0.20751, -0.203541, -0.124545, -0.121556, -0.078997, 0.21939, 0.03061]
    ]
   },
   "quarters": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016Q1", "2016-01-04", "2016-03-31", 60, -0.049107, 0.000212, 0.000636, -0.036598, -0.049743, -0.05099, -0.03792, -0.037259, -0.013069, 0.230313, 0.0],
     ["2016Q2", "2016-03-31", "2016-06-30", 64, -0.056338, -0.012551, -0.037652, -0.056841, -0.018686, -0.020097, -0.020631, -0.02014, 0.000533, 0.163853, 0.000219],
     ["2016Q3", "2016-06-30", "2016-09-30", 64, 0.333333, 0.106727, 0.320182, 0.343386, 0.013151, -0.01654, -0.009029, -0.009031, -0.007511, 0.106671, 0.000656],
     ["2016Q4", "2016-09-30", "2016-12-30", 63, -0.011194, 0.00094, 0.00282, -0.0076, -0.014015, -0.014076, -0.010448, -0.010488, -0.003628, 0.1192, 1e-06],
     ["2017Q1", "2016-12-30", "2017-03-31", 62, 0.388679, 0.119645, 0.358936, 0.398088, 0.029743, -0.010683, -0.003931, -0.003947, -0.006752, 0.067635, 0.00077],
     ["2017Q2", "2017-03-31", "2017-06-30", 63, 0.105978, 0.042582, 0.127746, 0.120183, -0.021768, -0.024371, -0.011609, -0.011366, -0.012762, 0.123597, 0.001927],
     ["2017Q3", "2017-06-30", "2017-09-29", 63, 0.169533, 0.059061, 0.177183, 0.176352, -0.00765, -0.015543, -0.00973, -0.009666, -0.005814, 0.113451, 0.002191],
     ["2017Q4", "2017-09-29", "2017-12-29", 63, 0.214286, 0.073107, 0.219321, 0.226514, -0.005036, -0.017519, -0.007498, -0.007684, -0.01002, 0.100387, 0.001973],
     ["2018Q1", "2017-12-29", "2018-03-29", 61, 0.038062, 0.029757, 0.089272, 0.046046, -0.05121, -0.050614, -0.042952, -0.041913, -0.007662, 0.242047, 0.003449],
     ["2018Q2", "2018-03-29", "2018-06-29", 64, 0.19, 0.07424, 0.222719, 0.21317, -0.032719, -0.040886, -0.021603, -0.021439, -0.019283, 0.168022, 0.00403],
     ["2018Q3", "2018-06-29", "2018-09-28", 63, 0.246499, 0.084318, 0.252954, 0.260429, -0.006455, -0.022515, -0.011401, -0.011447, -0.011114, 0.122744, 0.00438],
     ["2018Q4", "2018-09-28", "2018-12-31", 63, -0.479185, -0.167274, -0.501822, -0.468166, 0.022638, -0.103208, -0.082272, -0.081159, -0.020935, 0.328792, 0.005404],
     ["2019Q1", "2018-12-31", "2019-03-29", 61, 0.531862, 0.166773, 0.500319, 0.551209, 0.031543, -0.036242, -0.023691, -0.024153, -0.012551, 0.179137, 0.005357],
     ["2019Q2", "2019-03-29", "2019-06-28", 63, 0.088858, 0.041703, 0.12511, 0.107406, -0.036253, -0.037443, -0.020551, -0.02026, -0.016891, 0.165298, 0.005873],
     ["2019Q3", "2019-06-28", "2019-09-30", 64, -0.001295, 0.013124, 0.039371, 0.012894, -0.040667, -0.040412, -0.026304, -0.02572, -0.014107, 0.185134, 0.005126],
     ["2019Q4", "2019-09-30", "2019-12-31", 64, 0.403884, 0.128486, 0.385457, 0.42346, 0.018427, -0.023388, -0.009539, -0.009593, -0.013848, 0.108873, 0.003813],
     ["2020Q1", "2019-12-31", "2020-03-31", 62, -0.449168, -0.102558, -0.307674, -0.43322, -0.141494, -0.271705, -0.243163, -0.222442, -0.028542, 0.553156, 0.004435],
     ["2020Q2", "2020-03-31", "2020-06-30", 63, 1.048658, 0.302656, 0.907969, 1.060965, 0.140689, -0.076031, -0.070042, -0.07151, -0.005989, 0.303251, -0.000371],
     ["2020Q3", "2020-06-30", "2020-09-30", 64, 0.339885, 0.123761, 0.371283, 0.345143, -0.031398, -0.057459, -0.053543, -0.051815, -0.003916, 0.260968, -0.000109],
     ["2020Q4", "2020-09-30", "2020-12-31", 64, 0.389367, 0.131263, 0.393789, 0.394541, -0.004422, -0.041156, -0.037439, -0.037661, -0.003717, 0.221731, 3.6e-05],
     ["2021Q1", "2020-12-31", "2021-03-31", 61, 0.00396, 0.01844, 0.05532, 0.010627, -0.05136, -0.050864, -0.044244, -0.04393, -0.00662, 0.247904, -0.000219],
     ["2021Q2", "2021-03-31", "2021-06-30", 63, 0.342244, 0.111893, 0.335679, 0.348632, 0.006565, -0.023849, -0.019101, -0.019153, -0.004748, 0.158679, -0.000328],
     ["2021Q3", "2021-06-30", "2021-09-30", 64, 0.016977, 0.011103, 0.033308, 0.022027, -0.016331, -0.01629, -0.011337, -0.011123, -0.004954, 0.12174, -0.000109],
     ["2021Q4", "2021-09-30", "2021-12-31", 64, 0.335154, 0.112872, 0.338615, 0.343457, -0.003461, -0.031784, -0.025585, -0.025761, -0.006199, 0.183233, -0.000328],
     ["2022Q1", "2021-12-31", "2022-03-31", 62, -0.300553, -0.087623, -0.262869, -0.293257, -0.037684, -0.082359, -0.071982, -0.071342, -0.010377, 0.312758, 0.000241],
     ["2022Q2", "2022-03-31", "2022-06-30", 62, -0.587487, -0.225449, -0.676346, -0.583921, 0.088858, -0.119074, -0.110466, -0.105548, -0.008609, 0.376271, 0.000999],
     ["2022Q3", "2022-06-30", "2022-09-30", 64, -0.195, -0.044755, -0.134264, -0.177594, -0.060736, -0.079552, -0.05816, -0.05681, -0.021392, 0.275071, 0.004371],
     ["2022Q4", "2022-09-30", "2022-12-30", 63, -0.099556, -0.001246, -0.003738, -0.073563, -0.095818, -0.101127, -0.072669, -0.075322, -0.028458, 0.319439, 0.008382],
     ["2023Q1", "2022-12-30", "2023-03-31", 62, 0.643441, 0.207095, 0.621286, 0.693999, 0.022155, -0.067858, -0.037558, -0.038496, -0.0303, 0.224696, 0.010329],
     ["2023Q2", "2023-03-31", "2023-06-30", 62, 0.455577, 0.152673, 0.45802, 0.500177, -0.002443, -0.050849, -0.020668, -0.021236, -0.030181, 0.166823, 0.012032],
     ["2023Q3", "2023-06-30", "2023-09-29", 63, -0.12803, -0.028781, -0.086344, -0.10087, -0.041686, -0.049389, -0.018717, -0.018524, -0.030673, 0.158281, 0.012861],
     ["2023Q4", "2023-09-29", "2023-12-29", 63, 0.42991, 0.145919, 0.437756, 0.476829, -0.007846, -0.051009, -0.018723, -0.018828, -0.032286, 0.155743, 0.013327],
     ["2024Q1", "2023-12-29", "2024-03-28", 61, 0.218435, 0.085642, 0.256925, 0.256807, -0.03849, -0.048947, -0.017939, -0.018213, -0.031007, 0.158107, 0.012869],
     ["2024Q2", "2024-03-28", "2024-06-28", 63, 0.203709, 0.080786, 0.242358, 0.241712, -0.038649, -0.047658, -0.016574, -0.016631, -0.031083, 0.148709, 0.012933],
     ["2024Q3", "2024-06-28", "2024-09-30", 64, -0.014999, 0.020129, 0.060386, 0.018931, -0.075385, -0.074899, -0.041033, -0.040343, -0.033867, 0.231831, 0.013409],
     ["2024Q4", "2024-09-30", "2024-12-31", 64, 0.095423, 0.049124, 0.147373, 0.128687, -0.05195, -0.052727, -0.022812, -0.022411, -0.029915, 0.172379, 0.011719],
     ["2025Q1", "2024-12-31", "2025-03-31", 60, -0.273708, -0.081423, -0.24427, -0.252885, -0.029438, -0.065014, -0.036747, -0.0356, -0.028267, 0.224145, 0.010041],
     ["2025Q2", "2025-03-31", "2025-06-30", 62, 0.452546, 0.177713, 0.53314, 0.493572, -0.080594, -0.117406, -0.089554, -0.096638, -0.027852, 0.361848, 0.010419],
     ["2025Q3", "2025-06-30", "2025-09-30", 64, 0.246985, 0.089591, 0.268772, 0.281656, -0.021788, -0.036678, -0.009253, -0.009296, -0.027425, 0.109167, 0.010618],
     ["2025Q4", "2025-09-30", "2025-12-31", 64, 0.021305, 0.024531, 0.073594, 0.0494, -0.052289, -0.051624, -0.024487, -0.024079, -0.027137, 0.17904, 0.009773],
     ["2026Q1", "2025-12-31", "2026-03-31", 61, -0.208133, -0.059271, -0.177812, -0.187543, -0.03032, -0.050061, -0.024393, -0.024266, -0.025669, 0.183706, 0.008527],
     ["2026Q2", "2026-03-31", "2026-06-30", 62, 0.947918, 0.277265, 0.831795, 0.997782, 0.116123, -0.067402, -0.042125, -0.042114, -0.025277, 0.231885, 0.008787],
     ["2026Q3", "2026-06-30", "2026-09-30", 64, -0.034756, 0.005594, 0.016783, -0.011393, -0.051539, -0.052111, -0.028195, -0.028699, -0.023916, 0.195597, 0.009002],
     ["2026Q4", "2026-09-30", "2026-11-05", 26, -0.353197, -0.125336, -0.376009, -0.350517, 0.022811, -0.033967, -0.029831, -0.026478, -0.004136, 0.287185, 0.003958]
    ]
   },
   "cost_vs_bil": {
    "years": ["2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025"],
    "slope": -1.968,
    "intercept": -0.02782,
    "theory_slope": -2
   }
  },
  "QLD": {
   "calibration": {
    "correlation": 0.9993,
    "slope": 1.997,
    "days_off_by_2pct": 1,
    "days": 2726
   },
   "whole_period": {
    "start": "2016-01-04",
    "end": "2026-11-05",
    "years": 10.817,
    "leverage": 2,
    "underlying_ticker": "QQQ",
    "fund": 14.653023045554225,
    "underlying": 5.38388072865513,
    "k_x_underlying": 10.76776145731026,
    "ideal": 22.639335015109914,
    "simple_gap": 3.8852615882439654,
    "gap": -0.9568882900542643,
    "volatility": -0.5446402917426454,
    "volatility_approx": -0.5398433892101433,
    "costs": -0.41224799831161896,
    "underlying_vol": 0.2230920666166255,
    "gap_per_year": -0.08845775828821519,
    "volatility_per_year": -0.05034825881113229,
    "volatility_approx_per_year": -0.04990481807812036,
    "costs_per_year": -0.03810949947708289,
    "fund_cagr": 0.2895328532706809,
    "underlying_cagr": 0.186928515418598
   },
   "years": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016", "2016-01-04", "2016-12-30", 251, 0.149593, 0.094097, 0.188193, 0.166447, -0.0386, -0.04045, -0.025896, -0.025639, -0.014554, 0.160629, 0.000876],
     ["2017", "2016-12-30", "2017-12-29", 251, 0.699855, 0.326645, 0.653291, 0.740891, 0.046564, -0.034764, -0.01091, -0.010888, -0.023854, 0.103157, 0.006879],
     ["2018", "2017-12-29", "2018-12-31", 251, -0.082411, -0.001163, -0.002325, -0.053332, -0.080085, -0.083679, -0.05248, -0.051986, -0.031198, 0.228909, 0.017375],
     ["2019", "2018-12-31", "2019-12-31", 252, 0.817095, 0.389598, 0.779195, 0.880209, 0.0379, -0.060789, -0.026646, -0.026576, -0.034144, 0.161909, 0.020321],
     ["2020", "2019-12-31", "2020-12-31", 253, 0.888659, 0.486188, 0.972375, 0.93563, -0.083716, -0.156561, -0.131995, -0.127809, -0.024566, 0.356329, 0.003988],
     ["2021", "2020-12-31", "2021-12-31", 252, 0.54656, 0.274203, 0.548407, 0.570302, -0.001847, -0.048609, -0.033375, -0.033322, -0.015235, 0.182175, -0.000983],
     ["2022", "2021-12-31", "2022-12-30", 251, -0.605162, -0.325786, -0.651571, -0.590289, 0.046409, -0.140866, -0.103888, -0.103007, -0.036977, 0.321496, 0.014046],
     ["2023", "2022-12-30", "2023-12-29", 250, 1.177455, 0.548527, 1.097053, 1.322437, 0.080402, -0.096451, -0.031991, -0.032361, -0.06446, 0.178658, 0.049437],
     ["2024", "2023-12-29", "2024-12-31", 252, 0.428121, 0.255764, 0.511529, 0.526212, -0.083408, -0.099129, -0.0327, -0.032532, -0.066429, 0.180069, 0.05191],
     ["2025", "2024-12-31", "2025-12-31", 250, 0.303571, 0.207657, 0.415314, 0.382377, -0.111744, -0.112257, -0.05356, -0.055204, -0.058698, 0.235967, 0.041481],
     ["2026", "2025-12-31", "2026-11-05", 213, 0.027609, 0.056841, 0.113682, 0.071831, -0.086072, -0.083333, -0.0412, -0.040519, -0.042133, 0.21939, 0.03061]
    ]
   },
   "quarters": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016Q1", "2016-01-04", "2016-03-31", 60, -0.01585, 0.000212, 0.000424, -0.012075, -0.016274, -0.016401, -0.012572, -0.01242, -0.003829, 0.230313, 0.0],
     ["2016Q2", "2016-03-31", "2016-06-30", 64, -0.036249, -0.012551, -0.025101, -0.03158, -0.011148, -0.011663, -0.00683, -0.006713, -0.004833, 0.163853, 0.000219],
     ["2016Q3", "2016-06-30", "2016-09-30", 64, 0.21573, 0.106727, 0.213455, 0.221166, 0.002276, -0.00747, -0.003009, -0.00301, -0.004461, 0.106671, 0.000656],
     ["2016Q4", "2016-09-30", "2016-12-30", 63, -0.003032, 0.00094, 0.00188, -0.001604, -0.004912, -0.004916, -0.003485, -0.003496, -0.001431, 0.1192, 1e-06],
     ["2017Q1", "2016-12-30", "2017-03-31", 62, 0.245127, 0.119645, 0.239291, 0.251963, 0.005836, -0.006787, -0.001311, -0.001316, -0.005475, 0.067635, 0.00077],
     ["2017Q2", "2017-03-31", "2017-06-30", 63, 0.074578, 0.042582, 0.085164, 0.082803, -0.010586, -0.011473, -0.003848, -0.003789, -0.007625, 0.123597, 0.001927],
     ["2017Q3", "2017-06-30", "2017-09-29", 63, 0.113731, 0.059061, 0.118122, 0.117986, -0.004391, -0.00705, -0.003237, -0.003222, -0.003813, 0.113451, 0.002191],
     ["2017Q4", "2017-09-29", "2017-12-29", 63, 0.140722, 0.073107, 0.146214, 0.148668, -0.005492, -0.009455, -0.002514, -0.002561, -0.006941, 0.100387, 0.001973],
     ["2018Q1", "2017-12-29", "2018-03-29", 61, 0.040393, 0.029757, 0.059515, 0.045435, -0.019122, -0.019048, -0.014213, -0.013971, -0.004835, 0.242047, 0.003449],
     ["2018Q2", "2018-03-29", "2018-06-29", 64, 0.134313, 0.07424, 0.148479, 0.145731, -0.014166, -0.017199, -0.007183, -0.007146, -0.010016, 0.168022, 0.00403],
     ["2018Q3", "2018-06-29", "2018-09-28", 63, 0.164662, 0.084318, 0.168636, 0.171282, -0.003973, -0.009471, -0.003803, -0.003816, -0.005667, 0.122744, 0.00438],
     ["2018Q4", "2018-09-28", "2018-12-31", 63, -0.332397, -0.167274, -0.334548, -0.325229, 0.002151, -0.037961, -0.02728, -0.027053, -0.01068, 0.328792, 0.005404],
     ["2019Q1", "2018-12-31", "2019-03-29", 61, 0.339027, 0.166773, 0.333546, 0.350609, 0.00548, -0.016541, -0.007928, -0.008051, -0.008613, 0.179137, 0.005357],
     ["2019Q2", "2019-03-29", "2019-06-28", 63, 0.068086, 0.041703, 0.083407, 0.077769, -0.015321, -0.015847, -0.006822, -0.006753, -0.009025, 0.165298, 0.005873],
     ["2019Q3", "2019-06-28", "2019-09-30", 64, 0.0075, 0.013124, 0.026248, 0.017516, -0.018748, -0.018605, -0.008712, -0.008573, -0.009892, 0.185134, 0.005126],
     ["2019Q4", "2019-09-30", "2019-12-31", 64, 0.261065, 0.128486, 0.256971, 0.269432, 0.004093, -0.009797, -0.003184, -0.003198, -0.006613, 0.108873, 0.003813],
     ["2020Q1", "2019-12-31", "2020-03-31", 62, -0.265011, -0.102558, -0.205116, -0.255347, -0.059895, -0.091486, -0.078423, -0.074147, -0.013063, 0.553156, 0.004435],
     ["2020Q2", "2020-03-31", "2020-06-30", 63, 0.648214, 0.302656, 0.605312, 0.657645, 0.042902, -0.029118, -0.023413, -0.023837, -0.005706, 0.303251, -0.000371],
     ["2020Q3", "2020-06-30", "2020-09-30", 64, 0.241603, 0.123761, 0.247522, 0.240714, -0.005919, -0.016959, -0.017675, -0.017272, 0.000717, 0.260968, -0.000109],
     ["2020Q4", "2020-09-30", "2020-12-31", 64, 0.255672, 0.131263, 0.262526, 0.263878, -0.006854, -0.018998, -0.012484, -0.012554, -0.006514, 0.221731, 3.6e-05],
     ["2021Q1", "2020-12-31", "2021-03-31", 61, 0.018068, 0.01844, 0.03688, 0.022076, -0.018812, -0.018637, -0.014708, -0.014643, -0.003929, 0.247904, -0.000219],
     ["2021Q2", "2021-03-31", "2021-06-30", 63, 0.225597, 0.111893, 0.223786, 0.228457, 0.001811, -0.0087, -0.006369, -0.006384, -0.002331, 0.158679, -0.000328],
     ["2021Q3", "2021-06-30", "2021-09-30", 64, 0.013367, 0.011103, 0.022206, 0.018493, -0.008839, -0.008805, -0.00376, -0.003708, -0.005045, 0.12174, -0.000109],
     ["2021Q4", "2021-09-30", "2021-12-31", 64, 0.223138, 0.112872, 0.225743, 0.227953, -0.002605, -0.012468, -0.008539, -0.008587, -0.003929, 0.183233, -0.000328],
     ["2022Q1", "2021-12-31", "2022-03-31", 62, -0.192092, -0.087623, -0.175246, -0.187238, -0.016845, -0.029902, -0.023913, -0.023781, -0.005989, 0.312758, 0.000241],
     ["2022Q2", "2022-03-31", "2022-06-30", 62, -0.424082, -0.225449, -0.450897, -0.421481, 0.026815, -0.040848, -0.036342, -0.035183, -0.004506, 0.376271, 0.000999],
     ["2022Q3", "2022-06-30", "2022-09-30", 64, -0.11492, -0.044755, -0.089509, -0.104897, -0.025411, -0.030504, -0.019242, -0.018937, -0.011262, 0.275071, 0.004371],
     ["2022Q4", "2022-09-30", "2022-12-30", 63, -0.041231, -0.001246, -0.002492, -0.026527, -0.038739, -0.039611, -0.024391, -0.025107, -0.01522, 0.319439, 0.008382],
     ["2023Q1", "2022-12-30", "2023-03-31", 62, 0.414954, 0.207095, 0.41419, 0.43885, 0.000764, -0.029336, -0.01259, -0.012832, -0.016747, 0.224696, 0.010329],
     ["2023Q2", "2023-03-31", "2023-06-30", 62, 0.298507, 0.152673, 0.305346, 0.319475, -0.006839, -0.022952, -0.006933, -0.007079, -0.016019, 0.166823, 0.012032],
     ["2023Q3", "2023-06-30", "2023-09-29", 63, -0.07534, -0.028781, -0.057562, -0.062583, -0.017778, -0.019922, -0.00622, -0.006175, -0.013702, 0.158281, 0.012861],
     ["2023Q4", "2023-09-29", "2023-12-29", 63, 0.281682, 0.145919, 0.291838, 0.304952, -0.010155, -0.02424, -0.006247, -0.006276, -0.017993, 0.155743, 0.013327],
     ["2024Q1", "2023-12-29", "2024-03-28", 61, 0.151781, 0.085642, 0.171284, 0.171567, -0.019502, -0.023033, -0.006, -0.006071, -0.017033, 0.158107, 0.012869],
     ["2024Q2", "2024-03-28", "2024-06-28", 63, 0.142264, 0.080786, 0.161572, 0.161659, -0.019308, -0.022365, -0.005528, -0.005544, -0.016837, 0.148709, 0.012933],
     ["2024Q3", "2024-06-28", "2024-09-30", 64, 0.009335, 0.020129, 0.040258, 0.026598, -0.030923, -0.030566, -0.013607, -0.013448, -0.016959, 0.231831, 0.013409],
     ["2024Q4", "2024-09-30", "2024-12-31", 64, 0.075457, 0.049124, 0.098249, 0.092366, -0.022791, -0.023166, -0.007565, -0.00747, -0.0156, 0.172379, 0.011719],
     ["2025Q1", "2024-12-31", "2025-03-31", 60, -0.17864, -0.081423, -0.162846, -0.166401, -0.015794, -0.026934, -0.012143, -0.011867, -0.014792, 0.224145, 0.010041],
     ["2025Q2", "2025-03-31", "2025-06-30", 62, 0.325933, 0.177713, 0.355427, 0.345738, -0.029493, -0.045033, -0.030207, -0.032213, -0.014826, 0.361848, 0.010419],
     ["2025Q3", "2025-06-30", "2025-09-30", 64, 0.165828, 0.089591, 0.179181, 0.183548, -0.013354, -0.018173, -0.003087, -0.003099, -0.015086, 0.109167, 0.010618],
     ["2025Q4", "2025-09-30", "2025-12-31", 64, 0.026703, 0.024531, 0.049062, 0.041172, -0.022359, -0.022117, -0.008123, -0.008026, -0.013994, 0.17904, 0.009773],
     ["2026Q1", "2025-12-31", "2026-03-31", 61, -0.133466, -0.059271, -0.118542, -0.122182, -0.014924, -0.021054, -0.008116, -0.008089, -0.012938, 0.183706, 0.008527],
     ["2026Q2", "2026-03-31", "2026-06-30", 62, 0.587295, 0.277265, 0.55453, 0.608688, 0.032765, -0.027411, -0.014023, -0.014038, -0.013388, 0.231885, 0.008787],
     ["2026Q3", "2026-06-30", "2026-09-30", 64, -0.011193, 0.005594, 0.011189, 0.001725, -0.022382, -0.022414, -0.009434, -0.009566, -0.01298, 0.195597, 0.009002],
     ["2026Q4", "2026-09-30", "2026-11-05", 26, -0.244433, -0.125336, -0.250673, -0.242293, 0.00624, -0.012455, -0.009627, -0.008826, -0.002828, 0.287185, 0.003958]
    ]
   },
   "cost_vs_bil": {
    "years": ["2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025"],
    "slope": -0.963,
    "intercept": -0.01803,
    "theory_slope": -1
   }
  },
  "SQQQ": {
   "calibration": {
    "correlation": 0.999,
    "slope": -2.964,
    "days_off_by_2pct": 3,
    "days": 2726
   },
   "whole_period": {
    "start": "2016-01-04",
    "end": "2026-11-05",
    "years": 10.817,
    "leverage": -3,
    "underlying_ticker": "QQQ",
    "fund": -0.9996710318694788,
    "underlying": 5.38388072865513,
    "k_x_underlying": -16.15164218596539,
    "ideal": -0.9998524081181707,
    "simple_gap": 15.15197115409591,
    "gap": -2.4582211482530063,
    "volatility": -3.2597311171121692,
    "volatility_approx": -3.23906033526086,
    "costs": 0.8015099688591629,
    "underlying_vol": 0.2230920666166255,
    "gap_per_year": -0.2272456820835501,
    "volatility_per_year": -0.301339780452042,
    "volatility_approx_per_year": -0.29942890846872217,
    "costs_per_year": 0.07409409836849194,
    "fund_cagr": -0.5235308756945991,
    "underlying_cagr": 0.186928515418598
   },
   "years": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016", "2016-01-04", "2016-12-30", 251, -0.342583, 0.094097, -0.28229, -0.344977, -0.060293, -0.14965, -0.153298, -0.153834, 0.003648, 0.160629, 0.000876],
     ["2017", "2016-12-30", "2017-12-29", 251, -0.587181, 0.326645, -0.979936, -0.598801, 0.392755, -0.036786, -0.065338, -0.065326, 0.028553, 0.103157, 0.006879],
     ["2018", "2017-12-29", "2018-12-31", 251, -0.214457, -0.001163, 0.003488, -0.265323, -0.217946, -0.244871, -0.311815, -0.311916, 0.066944, 0.228909, 0.017375],
     ["2019", "2018-12-31", "2019-12-31", 252, -0.659225, 0.389598, -1.168793, -0.682321, 0.509568, -0.08949, -0.159672, -0.159454, 0.070182, 0.161909, 0.020321],
     ["2020", "2019-12-31", "2020-12-31", 253, -0.864022, 0.486188, -1.458563, -0.858859, 0.594541, -0.806618, -0.769353, -0.766855, -0.037265, 0.356329, 0.003988],
     ["2021", "2020-12-31", "2021-12-31", 252, -0.608696, 0.274203, -0.82261, -0.604367, 0.213915, -0.211306, -0.200306, -0.199933, -0.011, 0.182175, -0.000983],
     ["2022", "2021-12-31", "2022-12-30", 251, 0.82363, -0.325786, 0.977357, 0.756683, -0.153727, -0.581792, -0.619194, -0.618044, 0.037402, 0.321496, 0.014046],
     ["2023", "2022-12-30", "2023-12-29", 250, -0.736707, 0.548527, -1.64558, -0.778646, 0.908872, -0.022577, -0.196081, -0.194167, 0.173504, 0.178658, 0.049437],
     ["2024", "2023-12-29", "2024-12-31", 252, -0.497108, 0.255764, -0.767293, -0.584514, 0.270185, -0.004146, -0.195074, -0.195194, 0.190928, 0.180069, 0.05191],
     ["2025", "2024-12-31", "2025-12-31", 250, -0.530791, 0.207657, -0.622971, -0.599024, 0.092181, -0.190659, -0.347808, -0.331226, 0.157148, 0.235967, 0.041481],
     ["2026", "2025-12-31", "2026-11-05", 213, -0.248871, 0.056841, -0.170522, -0.334785, -0.078349, -0.120326, -0.241793, -0.243112, 0.121467, 0.21939, 0.03061]
    ]
   },
   "quarters": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016Q1", "2016-01-04", "2016-03-31", 60, -0.067104, 0.000212, -0.000636, -0.072113, -0.066468, -0.068825, -0.074209, -0.074518, 0.005384, 0.230313, 0.0],
     ["2016Q2", "2016-03-31", "2016-06-30", 64, -0.001622, -0.012551, 0.037652, -0.00206, -0.039274, -0.039514, -0.039952, -0.04028, 0.000438, 0.163853, 0.000219],
     ["2016Q3", "2016-06-30", "2016-09-30", 64, -0.275731, 0.106727, -0.320182, -0.275529, 0.044451, -0.018371, -0.018092, -0.018061, -0.000279, 0.106671, 0.000656],
     ["2016Q4", "2016-09-30", "2016-12-30", 63, -0.02543, 0.00094, -0.00282, -0.023581, -0.02261, -0.02294, -0.021045, -0.020975, -0.001895, 0.1192, 1e-06],
     ["2017Q1", "2016-12-30", "2017-03-31", 62, -0.28914, 0.119645, -0.358936, -0.29316, 0.069796, -0.002244, -0.007915, -0.007894, 0.005671, 0.067635, 0.00077],
     ["2017Q2", "2017-03-31", "2017-06-30", 63, -0.128745, 0.042582, -0.127746, -0.137258, -0.000999, -0.012719, -0.022538, -0.022732, 0.009819, 0.123597, 0.001927],
     ["2017Q3", "2017-06-30", "2017-09-29", 63, -0.169455, 0.059061, -0.177183, -0.174232, 0.007728, -0.013525, -0.019294, -0.019332, 0.005769, 0.113451, 0.002191],
     ["2017Q4", "2017-09-29", "2017-12-29", 63, -0.197459, 0.073107, -0.219321, -0.203291, 0.021863, -0.008297, -0.015591, -0.015368, 0.007294, 0.100387, 0.001973],
     ["2018Q1", "2017-12-29", "2018-03-29", 61, -0.147475, 0.029757, -0.089272, -0.157372, -0.058202, -0.071583, -0.08326, -0.083825, 0.011677, 0.242047, 0.003449],
     ["2018Q2", "2018-03-29", "2018-06-29", 64, -0.214452, 0.07424, -0.222719, -0.227144, 0.008266, -0.026535, -0.042824, -0.042877, 0.016289, 0.168022, 0.00403],
     ["2018Q3", "2018-06-29", "2018-09-28", 63, -0.224947, 0.084318, -0.252954, -0.233421, 0.028006, -0.011971, -0.022964, -0.022894, 0.010993, 0.122744, 0.00438],
     ["2018Q4", "2018-09-28", "2018-12-31", 63, 0.513417, -0.167274, 0.501822, 0.47165, 0.011594, -0.134782, -0.162768, -0.162319, 0.027985, 0.328792, 0.005404],
     ["2019Q1", "2018-12-31", "2019-03-29", 61, -0.391461, 0.166773, -0.500319, -0.400548, 0.108859, -0.033968, -0.049013, -0.048306, 0.015045, 0.179137, 0.005357],
     ["2019Q2", "2019-03-29", "2019-06-28", 63, -0.130097, 0.041703, -0.12511, -0.150351, -0.004987, -0.016802, -0.04036, -0.040521, 0.023558, 0.165298, 0.005873],
     ["2019Q3", "2019-06-28", "2019-09-30", 64, -0.069745, 0.013124, -0.039371, -0.086213, -0.030374, -0.033182, -0.051042, -0.05144, 0.01786, 0.185134, 0.005126],
     ["2019Q4", "2019-09-30", "2019-12-31", 64, -0.307999, 0.128486, -0.385457, -0.317427, 0.077458, -0.005538, -0.019256, -0.019186, 0.013718, 0.108873, 0.003813],
     ["2020Q1", "2019-12-31", "2020-03-31", 62, -0.128414, -0.102558, 0.307674, -0.112844, -0.436088, -0.462061, -0.444355, -0.444884, -0.017706, 0.553156, 0.004435],
     ["2020Q2", "2020-03-31", "2020-06-30", 63, -0.611511, 0.302656, -0.907969, -0.609224, 0.296458, -0.152274, -0.146404, -0.14302, -0.00587, 0.303251, -0.000371],
     ["2020Q3", "2020-06-30", "2020-09-30", 64, -0.369048, 0.123761, -0.371283, -0.36407, 0.002235, -0.110482, -0.102624, -0.10363, -0.007858, 0.260968, -0.000109],
     ["2020Q4", "2020-09-30", "2020-12-31", 64, -0.363522, 0.131263, -0.393789, -0.359799, 0.030267, -0.081802, -0.07597, -0.075321, -0.005832, 0.221731, 3.6e-05],
     ["2021Q1", "2020-12-31", "2021-03-31", 61, -0.135705, 0.01844, -0.05532, -0.133057, -0.080385, -0.091025, -0.087966, -0.087859, -0.003059, 0.247904, -0.000219],
     ["2021Q2", "2021-03-31", "2021-06-30", 63, -0.303354, 0.111893, -0.335679, -0.29997, 0.032325, -0.043286, -0.03844, -0.038306, -0.004846, 0.158679, -0.000328],
     ["2021Q3", "2021-06-30", "2021-09-30", 64, -0.055799, 0.011103, -0.033308, -0.053705, -0.02249, -0.024291, -0.022076, -0.022247, -0.002215, 0.12174, -0.000109],
     ["2021Q4", "2021-09-30", "2021-12-31", 64, -0.311703, 0.112872, -0.338615, -0.311097, 0.026912, -0.052704, -0.051824, -0.051521, -0.00088, 0.183233, -0.000328],
     ["2022Q1", "2021-12-31", "2022-03-31", 62, 0.13367, -0.087623, 0.262869, 0.141405, -0.129199, -0.149646, -0.142847, -0.142685, -0.0068, 0.312758, 0.000241],
     ["2022Q2", "2022-03-31", "2022-06-30", 62, 0.74755, -0.225449, 0.676346, 0.747873, 0.071204, -0.208199, -0.208014, -0.211096, -0.000185, 0.376271, 0.000999],
     ["2022Q3", "2022-06-30", "2022-09-30", 64, 0.042148, -0.044755, 0.134264, 0.024535, -0.092116, -0.096077, -0.113122, -0.113619, 0.017045, 0.275071, 0.004371],
     ["2022Q4", "2022-09-30", "2022-12-30", 63, -0.116735, -0.001246, 0.003738, -0.140557, -0.120473, -0.12787, -0.155212, -0.150644, 0.027341, 0.319439, 0.008382],
     ["2023Q1", "2022-12-30", "2023-03-31", 62, -0.453114, 0.207095, -0.621286, -0.4742, 0.168172, -0.038864, -0.078184, -0.076993, 0.03932, 0.224696, 0.010329],
     ["2023Q2", "2023-03-31", "2023-06-30", 62, -0.347391, 0.152673, -0.45802, -0.374617, 0.110628, -0.000526, -0.04314, -0.042471, 0.042614, 0.166823, 0.012032],
     ["2023Q3", "2023-06-30", "2023-09-29", 63, 0.098999, -0.028781, 0.086344, 0.051991, 0.012655, 0.006789, -0.036926, -0.037048, 0.043715, 0.158281, 0.012861],
     ["2023Q4", "2023-09-29", "2023-12-29", 63, -0.328738, 0.145919, -0.437756, -0.360105, 0.109018, 0.010024, -0.037831, -0.037656, 0.047855, 0.155743, 0.013327],
     ["2024Q1", "2023-12-29", "2024-03-28", 61, -0.208565, 0.085642, -0.256925, -0.246699, 0.04836, 0.012606, -0.036777, -0.036425, 0.049383, 0.158107, 0.012869],
     ["2024Q2", "2024-03-28", "2024-06-28", 63, -0.194424, 0.080786, -0.242358, -0.233895, 0.047933, 0.016867, -0.033371, -0.033262, 0.050238, 0.148709, 0.012933],
     ["2024Q3", "2024-06-28", "2024-09-30", 64, -0.089626, 0.020129, -0.060386, -0.130767, -0.02924, -0.034113, -0.080357, -0.080685, 0.046244, 0.231831, 0.013409],
     ["2024Q4", "2024-09-30", "2024-12-31", 64, -0.133569, 0.049124, -0.147373, -0.171747, 0.013804, 0.000494, -0.044569, -0.044822, 0.045063, 0.172379, 0.011719],
     ["2025Q1", "2024-12-31", "2025-03-31", 60, 0.248248, -0.081423, 0.24427, 0.202562, 0.003978, -0.033048, -0.070335, -0.0712, 0.037287, 0.224145, 0.010041],
     ["2025Q2", "2025-03-31", "2025-06-30", 62, -0.483239, 0.177713, -0.53314, -0.504229, 0.049901, -0.169451, -0.210917, -0.193276, 0.041466, 0.361848, 0.010419],
     ["2025Q3", "2025-06-30", "2025-09-30", 64, -0.209605, 0.089591, -0.268772, -0.241233, 0.059167, 0.022184, -0.018655, -0.018592, 0.040839, 0.109167, 0.010618],
     ["2025Q4", "2025-09-30", "2025-12-31", 64, -0.079695, 0.024531, -0.073594, -0.113617, -0.006101, -0.010344, -0.047901, -0.048158, 0.037557, 0.17904, 0.009773],
     ["2026Q1", "2025-12-31", "2026-03-31", 61, 0.184784, -0.059271, 0.177812, 0.144268, 0.006971, -0.01374, -0.048534, -0.048531, 0.034795, 0.183706, 0.008527],
     ["2026Q2", "2026-03-31", "2026-06-30", 62, -0.541777, 0.277265, -0.831795, -0.559071, 0.290018, -0.046236, -0.084709, -0.084228, 0.038473, 0.231885, 0.008787],
     ["2026Q3", "2026-06-30", "2026-09-30", 64, -0.039186, 0.005594, -0.016783, -0.072099, -0.022403, -0.023238, -0.058094, -0.057397, 0.034856, 0.195597, 0.009002],
     ["2026Q4", "2026-09-30", "2026-11-05", 26, 0.439988, -0.125336, 0.376009, 0.420902, 0.06398, -0.037112, -0.050455, -0.052955, 0.013343, 0.287185, 0.003958]
    ]
   },
   "cost_vs_bil": {
    "years": ["2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025"],
    "slope": 4.124,
    "intercept": -0.01678,
    "theory_slope": 4
   }
  },
  "UPRO": {
   "calibration": {
    "correlation": 0.999,
    "slope": 2.993,
    "days_off_by_2pct": 5,
    "days": 2726
   },
   "whole_period": {
    "start": "2016-01-04",
    "end": "2026-11-05",
    "years": 10.817,
    "leverage": 3,
    "underlying_ticker": "SPY",
    "fund": 12.526620935466097,
    "underlying": 3.3389292207887475,
    "k_x_underlying": 10.016787662366243,
    "ideal": 27.829369520114586,
    "simple_gap": 2.5098332730998543,
    "gap": -1.7982231181459638,
    "volatility": -1.0414881405230476,
    "volatility_approx": -1.0210936913852422,
    "costs": -0.7567349776229162,
    "underlying_vol": 0.17715776226813862,
    "gap_per_year": -0.16623339169948015,
    "volatility_per_year": -0.09627843412025237,
    "volatility_approx_per_year": -0.09439310720069002,
    "costs_per_year": -0.06995495757922776,
    "fund_cagr": 0.2722448243860758,
    "underlying_cagr": 0.14530628994153028
   },
   "years": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016", "2016-01-04", "2016-12-30", 251, 0.366326, 0.135892, 0.407676, 0.392849, -0.04135, -0.070129, -0.050904, -0.050565, -0.019226, 0.130061, 0.000876],
     ["2017", "2016-12-30", "2017-12-29", 251, 0.713866, 0.217003, 0.65101, 0.777457, 0.062856, -0.050423, -0.013991, -0.014005, -0.036432, 0.067433, 0.006879],
     ["2018", "2017-12-29", "2018-12-31", 251, -0.251531, -0.045571, -0.136712, -0.203704, -0.114819, -0.149801, -0.08786, -0.086382, -0.061941, 0.170354, 0.017375],
     ["2019", "2018-12-31", "2019-12-31", 252, 1.023408, 0.312218, 0.936653, 1.153651, 0.086756, -0.110372, -0.047991, -0.0477, -0.062381, 0.125107, 0.020321],
     ["2020", "2019-12-31", "2020-12-31", 253, 0.100599, 0.183732, 0.551196, 0.162993, -0.450598, -0.410162, -0.35502, -0.335157, -0.055142, 0.333944, 0.003988],
     ["2021", "2020-12-31", "2021-12-31", 252, 0.986385, 0.287441, 0.862323, 1.027365, 0.124062, -0.071653, -0.051233, -0.051215, -0.020421, 0.129876, -0.000983],
     ["2022", "2021-12-31", "2022-12-30", 251, -0.568347, -0.181717, -0.545151, -0.540873, -0.023196, -0.238493, -0.176788, -0.17526, -0.061705, 0.242424, 0.014046],
     ["2023", "2022-12-30", "2023-12-29", 250, 0.685804, 0.261895, 0.785686, 0.909385, -0.099882, -0.175602, -0.051064, -0.051371, -0.124538, 0.130746, 0.049437],
     ["2024", "2023-12-29", "2024-12-31", 252, 0.635509, 0.248851, 0.746554, 0.856286, -0.111046, -0.174719, -0.048095, -0.047833, -0.126624, 0.125685, 0.05191],
     ["2025", "2024-12-31", "2025-12-31", 250, 0.318871, 0.177151, 0.531452, 0.4623, -0.21258, -0.212514, -0.109279, -0.112958, -0.103235, 0.194866, 0.041481],
     ["2026", "2025-12-31", "2026-11-05", 213, 0.111505, 0.083312, 0.249936, 0.210224, -0.138431, -0.134354, -0.049264, -0.048646, -0.085091, 0.138678, 0.03061]
    ]
   },
   "quarters": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016Q1", "2016-01-04", "2016-03-31", 60, 0.056056, 0.027638, 0.082915, 0.059518, -0.026859, -0.027249, -0.023975, -0.023935, -0.003273, 0.184411, 0.0],
     ["2016Q2", "2016-03-31", "2016-06-30", 64, 0.052509, 0.024589, 0.073766, 0.060249, -0.021257, -0.021697, -0.01437, -0.014049, -0.007327, 0.136705, 0.000219],
     ["2016Q3", "2016-06-30", "2016-09-30", 64, 0.106599, 0.037793, 0.113379, 0.1098, -0.00678, -0.009998, -0.007109, -0.007038, -0.002888, 0.0964, 0.000656],
     ["2016Q4", "2016-09-30", "2016-12-30", 63, 0.110839, 0.039529, 0.118586, 0.117231, -0.007747, -0.011187, -0.005449, -0.005542, -0.005737, 0.086065, 1e-06],
     ["2017Q1", "2016-12-30", "2017-03-31", 62, 0.173881, 0.05922, 0.177661, 0.184201, -0.00378, -0.012284, -0.003531, -0.00356, -0.008753, 0.068386, 0.00077],
     ["2017Q2", "2017-03-31", "2017-06-30", 63, 0.081875, 0.030708, 0.092123, 0.09045, -0.010248, -0.012041, -0.004146, -0.004127, -0.007895, 0.074362, 0.001927],
     ["2017Q3", "2017-06-30", "2017-09-29", 63, 0.121317, 0.044147, 0.13244, 0.134049, -0.011123, -0.015096, -0.003806, -0.003779, -0.01129, 0.070685, 0.002191],
     ["2017Q4", "2017-09-29", "2017-12-29", 63, 0.203503, 0.0676, 0.202799, 0.21377, 0.000704, -0.011002, -0.002508, -0.00254, -0.008494, 0.056223, 0.001973],
     ["2018Q1", "2017-12-29", "2018-03-29", 61, -0.066605, -0.009958, -0.029874, -0.058023, -0.036731, -0.038903, -0.029751, -0.02865, -0.009152, 0.200271, 0.003449],
     ["2018Q2", "2018-03-29", "2018-06-29", 64, 0.076759, 0.035528, 0.106585, 0.097643, -0.029826, -0.030779, -0.01157, -0.011468, -0.019209, 0.123312, 0.00403],
     ["2018Q3", "2018-06-29", "2018-09-28", 63, 0.222656, 0.076515, 0.229544, 0.242669, -0.006887, -0.02016, -0.003924, -0.003959, -0.016236, 0.070759, 0.00438],
     ["2018Q4", "2018-09-28", "2018-12-31", 63, -0.390905, -0.135215, -0.405644, -0.380249, 0.014739, -0.059959, -0.042616, -0.042305, -0.017343, 0.236822, 0.005404],
     ["2019Q1", "2018-12-31", "2019-03-29", 61, 0.419629, 0.135236, 0.405709, 0.443437, 0.01392, -0.030127, -0.013495, -0.013721, -0.016631, 0.134391, 0.005357],
     ["2019Q2", "2019-03-29", "2019-06-28", 63, 0.10087, 0.042292, 0.126877, 0.120619, -0.026007, -0.028167, -0.010387, -0.010313, -0.01778, 0.117693, 0.005873],
     ["2019Q3", "2019-06-28", "2019-09-30", 64, 0.020679, 0.017565, 0.052696, 0.035544, -0.032016, -0.03177, -0.017312, -0.016886, -0.014458, 0.149962, 0.005126],
     ["2019Q4", "2019-09-30", "2019-12-31", 64, 0.268479, 0.089852, 0.269557, 0.285734, -0.001079, -0.020309, -0.006797, -0.006781, -0.013512, 0.092556, 0.003813],
     ["2020Q1", "2019-12-31", "2020-03-31", 62, -0.604352, -0.194266, -0.582799, -0.588388, -0.021553, -0.279224, -0.239667, -0.2201, -0.039556, 0.548596, 0.004435],
     ["2020Q2", "2020-03-31", "2020-06-30", 63, 0.60492, 0.201649, 0.604947, 0.612344, -2.6e-05, -0.07801, -0.073395, -0.073572, -0.004615, 0.311771, -0.000371],
     ["2020Q3", "2020-06-30", "2020-09-30", 64, 0.260595, 0.090435, 0.271304, 0.268595, -0.010708, -0.028145, -0.021819, -0.021392, -0.006326, 0.167375, -0.000109],
     ["2020Q4", "2020-09-30", "2020-12-31", 64, 0.374962, 0.121204, 0.363613, 0.381364, 0.011349, -0.024784, -0.020139, -0.020094, -0.004645, 0.161014, 3.6e-05],
     ["2021Q1", "2020-12-31", "2021-03-31", 61, 0.17578, 0.063524, 0.190571, 0.181681, -0.014792, -0.022832, -0.017825, -0.017784, -0.005007, 0.156876, -0.000219],
     ["2021Q2", "2021-03-31", "2021-06-30", 63, 0.255258, 0.083641, 0.250923, 0.260643, 0.004335, -0.013639, -0.009358, -0.009386, -0.004281, 0.110833, -0.000328],
     ["2021Q3", "2021-06-30", "2021-09-30", 64, 0.002822, 0.005767, 0.0173, 0.008004, -0.014478, -0.014432, -0.009278, -0.009188, -0.005154, 0.110669, -0.000109],
     ["2021Q4", "2021-09-30", "2021-12-31", 64, 0.342087, 0.110702, 0.332105, 0.350136, 0.009982, -0.02075, -0.014771, -0.014857, -0.005979, 0.138159, -0.000328],
     ["2022Q1", "2021-12-31", "2022-03-31", 62, -0.165348, -0.046177, -0.13853, -0.161102, -0.026818, -0.03891, -0.033836, -0.033699, -0.005074, 0.215149, 0.000241],
     ["2022Q2", "2022-03-31", "2022-06-30", 62, -0.451988, -0.161111, -0.483332, -0.44556, 0.031344, -0.074429, -0.062766, -0.060505, -0.011662, 0.285471, 0.000999],
     ["2022Q3", "2022-06-30", "2022-09-30", 64, -0.18526, -0.049281, -0.147842, -0.170342, -0.037418, -0.053277, -0.035133, -0.03438, -0.018143, 0.21381, 0.004371],
     ["2022Q4", "2022-09-30", "2022-12-30", 63, 0.158298, 0.075669, 0.227007, 0.189789, -0.06871, -0.071877, -0.045053, -0.046676, -0.026825, 0.250637, 0.008382],
     ["2023Q1", "2022-12-30", "2023-03-31", 62, 0.179842, 0.074631, 0.223893, 0.215476, -0.04405, -0.050551, -0.020796, -0.020902, -0.029755, 0.168533, 0.010329],
     ["2023Q2", "2023-03-31", "2023-06-30", 62, 0.232374, 0.086818, 0.260455, 0.270601, -0.028081, -0.040821, -0.010274, -0.010449, -0.030547, 0.117929, 0.012032],
     ["2023Q3", "2023-06-30", "2023-09-29", 63, -0.129979, -0.0322, -0.0966, -0.101396, -0.033379, -0.041048, -0.008724, -0.008637, -0.032324, 0.107881, 0.012861],
     ["2023Q4", "2023-09-29", "2023-12-29", 63, 0.332633, 0.116404, 0.349212, 0.375846, -0.016579, -0.043182, -0.01127, -0.011384, -0.031912, 0.120889, 0.013327],
     ["2024Q1", "2023-12-29", "2024-03-28", 61, 0.291089, 0.103925, 0.311774, 0.333346, -0.020685, -0.041129, -0.008923, -0.00904, -0.032205, 0.10937, 0.012869],
     ["2024Q2", "2024-03-28", "2024-06-28", 63, 0.092296, 0.043795, 0.131386, 0.127912, -0.03909, -0.040308, -0.008223, -0.008225, -0.032086, 0.104961, 0.012933],
     ["2024Q3", "2024-06-28", "2024-09-30", 64, 0.124595, 0.057518, 0.172554, 0.160558, -0.047959, -0.050351, -0.018873, -0.018657, -0.031478, 0.157029, 0.013409],
     ["2024Q4", "2024-09-30", "2024-12-31", 64, 0.031241, 0.024869, 0.074606, 0.063555, -0.043366, -0.042931, -0.012076, -0.011912, -0.030855, 0.125849, 0.011719],
     ["2025Q1", "2024-12-31", "2025-03-31", 60, -0.164277, -0.04267, -0.128011, -0.139266, -0.036266, -0.048636, -0.019147, -0.018877, -0.029489, 0.163584, 0.010041],
     ["2025Q2", "2025-03-31", "2025-06-30", 62, 0.240612, 0.10778, 0.32334, 0.264912, -0.082728, -0.091469, -0.072071, -0.076134, -0.019398, 0.322431, 0.010419],
     ["2025Q3", "2025-06-30", "2025-09-30", 64, 0.221675, 0.081198, 0.243593, 0.256376, -0.021918, -0.033985, -0.005976, -0.006027, -0.028009, 0.087437, 0.010618],
     ["2025Q4", "2025-09-30", "2025-12-31", 64, 0.041235, 0.026625, 0.079876, 0.069024, -0.038641, -0.038424, -0.012085, -0.01192, -0.026339, 0.125871, 0.009773],
     ["2026Q1", "2025-12-31", "2026-03-31", 61, -0.160378, -0.043668, -0.131004, -0.138146, -0.029374, -0.040853, -0.014719, -0.014689, -0.026134, 0.142975, 0.008527],
     ["2026Q2", "2026-03-31", "2026-06-30", 62, 0.465296, 0.151203, 0.45361, 0.503294, 0.011686, -0.040366, -0.014765, -0.01488, -0.025601, 0.138282, 0.008787],
     ["2026Q3", "2026-06-30", "2026-09-30", 64, 0.038394, 0.023771, 0.071312, 0.06344, -0.032919, -0.032803, -0.008969, -0.00907, -0.023834, 0.109792, 0.009002],
     ["2026Q4", "2026-09-30", "2026-11-05", 26, -0.129958, -0.038852, -0.116557, -0.121635, -0.013401, -0.020333, -0.010811, -0.010008, -0.009522, 0.181847, 0.003958]
    ]
   },
   "cost_vs_bil": {
    "years": ["2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025"],
    "slope": -1.882,
    "intercept": -0.03052,
    "theory_slope": -2
   }
  },
  "SSO": {
   "calibration": {
    "correlation": 0.999,
    "slope": 1.998,
    "days_off_by_2pct": 1,
    "days": 2726
   },
   "whole_period": {
    "start": "2016-01-04",
    "end": "2026-11-05",
    "years": 10.817,
    "leverage": 2,
    "underlying_ticker": "SPY",
    "fund": 7.784140112957511,
    "underlying": 3.3389292207887475,
    "k_x_underlying": 6.677858441577495,
    "ideal": 12.342479087945211,
    "simple_gap": 1.1062816713800157,
    "gap": -0.7623073531324471,
    "volatility": -0.3443023268029233,
    "volatility_approx": -0.34036456379508073,
    "costs": -0.41800502632952385,
    "underlying_vol": 0.17715776226813862,
    "gap_per_year": -0.07047008546932379,
    "volatility_per_year": -0.03182838824443751,
    "volatility_approx_per_year": -0.031464369066896675,
    "costs_per_year": -0.03864169722488628,
    "fund_cagr": 0.2224708790475034,
    "underlying_cagr": 0.14530628994153028
   },
   "years": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016", "2016-01-04", "2016-12-30", 251, 0.251531, 0.135892, 0.271784, 0.268589, -0.020253, -0.030469, -0.016931, -0.016855, -0.013538, 0.130061, 0.000876],
     ["2017", "2016-12-30", "2017-12-29", 251, 0.443269, 0.217003, 0.434007, 0.474205, 0.009262, -0.025872, -0.004664, -0.004668, -0.021208, 0.067433, 0.006879],
     ["2018", "2017-12-29", "2018-12-31", 251, -0.145733, -0.045571, -0.091141, -0.115221, -0.054592, -0.064228, -0.029135, -0.028794, -0.035094, 0.170354, 0.017375],
     ["2019", "2018-12-31", "2019-12-31", 252, 0.633919, 0.312218, 0.624435, 0.694643, 0.009484, -0.052456, -0.015965, -0.0159, -0.036491, 0.125107, 0.020321],
     ["2020", "2019-12-31", "2020-12-31", 253, 0.215099, 0.183732, 0.367464, 0.24798, -0.152365, -0.142519, -0.115818, -0.111719, -0.026701, 0.333944, 0.003988],
     ["2021", "2020-12-31", "2021-12-31", 252, 0.604743, 0.287441, 0.574882, 0.62945, 0.029861, -0.03235, -0.01707, -0.017072, -0.015279, 0.129876, -0.000983],
     ["2022", "2021-12-31", "2022-12-30", 251, -0.38974, -0.181717, -0.363434, -0.368611, -0.026306, -0.092776, -0.058739, -0.05842, -0.034037, 0.242424, 0.014046],
     ["2023", "2022-12-30", "2023-12-29", 250, 0.466074, 0.261895, 0.523791, 0.565472, -0.057717, -0.082642, -0.017042, -0.017124, -0.065599, 0.130746, 0.049437],
     ["2024", "2023-12-29", "2024-12-31", 252, 0.435106, 0.248851, 0.497703, 0.534869, -0.062597, -0.08321, -0.016003, -0.015944, -0.067206, 0.125685, 0.05191],
     ["2025", "2024-12-31", "2025-12-31", 250, 0.261792, 0.177151, 0.354301, 0.335916, -0.092509, -0.093661, -0.036576, -0.037653, -0.057084, 0.194866, 0.041481],
     ["2026", "2025-12-31", "2026-11-05", 213, 0.102876, 0.083312, 0.166624, 0.154523, -0.063748, -0.062125, -0.016358, -0.016215, -0.045766, 0.138678, 0.03061]
    ]
   },
   "quarters": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016Q1", "2016-01-04", "2016-03-31", 60, 0.045528, 0.027638, 0.055277, 0.047642, -0.009749, -0.010005, -0.007985, -0.007978, -0.00202, 0.184411, 0.0],
     ["2016Q2", "2016-03-31", "2016-06-30", 64, 0.040223, 0.024589, 0.049177, 0.044797, -0.008954, -0.009147, -0.00476, -0.004683, -0.004387, 0.136705, 0.000219],
     ["2016Q3", "2016-06-30", "2016-09-30", 64, 0.070881, 0.037793, 0.075586, 0.074472, -0.004705, -0.005711, -0.002363, -0.002346, -0.003348, 0.0964, 0.000656],
     ["2016Q4", "2016-09-30", "2016-12-30", 63, 0.074579, 0.039529, 0.079058, 0.078651, -0.004478, -0.005606, -0.001824, -0.001847, -0.003782, 0.086065, 1e-06],
     ["2017Q1", "2016-12-30", "2017-03-31", 62, 0.115678, 0.05922, 0.11844, 0.120625, -0.002763, -0.005604, -0.001179, -0.001187, -0.004425, 0.068386, 0.00077],
     ["2017Q2", "2017-03-31", "2017-06-30", 63, 0.054677, 0.030708, 0.061415, 0.060893, -0.006738, -0.007256, -0.00138, -0.001376, -0.005876, 0.074362, 0.001927],
     ["2017Q3", "2017-06-30", "2017-09-29", 63, 0.083306, 0.044147, 0.088293, 0.088863, -0.004987, -0.006382, -0.001266, -0.00126, -0.005116, 0.070685, 0.002191],
     ["2017Q4", "2017-09-29", "2017-12-29", 63, 0.132238, 0.0676, 0.1352, 0.138814, -0.002962, -0.00663, -0.000839, -0.000847, -0.005791, 0.056223, 0.001973],
     ["2018Q1", "2017-12-29", "2018-03-29", 61, -0.034435, -0.009958, -0.019916, -0.029389, -0.014519, -0.015026, -0.009814, -0.00955, -0.005212, 0.200271, 0.003449],
     ["2018Q2", "2018-03-29", "2018-06-29", 64, 0.056315, 0.035528, 0.071057, 0.068202, -0.014741, -0.015037, -0.003847, -0.003823, -0.01119, 0.123312, 0.00403],
     ["2018Q3", "2018-06-29", "2018-09-28", 63, 0.147023, 0.076515, 0.153029, 0.157365, -0.006006, -0.010287, -0.001311, -0.00132, -0.008976, 0.070759, 0.00438],
     ["2018Q4", "2018-09-28", "2018-12-31", 63, -0.269792, -0.135215, -0.270429, -0.262663, 0.000637, -0.023879, -0.014163, -0.014102, -0.009716, 0.236822, 0.005404],
     ["2019Q1", "2018-12-31", "2019-03-29", 61, 0.271123, 0.135236, 0.270473, 0.282956, 0.00065, -0.013781, -0.004515, -0.004574, -0.009266, 0.134391, 0.005357],
     ["2019Q2", "2019-03-29", "2019-06-28", 63, 0.071537, 0.042292, 0.084585, 0.082627, -0.013048, -0.013751, -0.003455, -0.003438, -0.010296, 0.117693, 0.005873],
     ["2019Q3", "2019-06-28", "2019-09-30", 64, 0.019683, 0.017565, 0.03513, 0.029522, -0.015448, -0.015334, -0.005731, -0.005629, -0.009603, 0.149962, 0.005126],
     ["2019Q4", "2019-09-30", "2019-12-31", 64, 0.176443, 0.089852, 0.179705, 0.185092, -0.003262, -0.009589, -0.002264, -0.00226, -0.007325, 0.092556, 0.003813],
     ["2020Q1", "2019-12-31", "2020-03-31", 62, -0.408974, -0.194266, -0.388533, -0.399182, -0.020442, -0.093892, -0.077459, -0.073367, -0.016432, 0.548596, 0.004435],
     ["2020Q2", "2020-03-31", "2020-06-30", 63, 0.406475, 0.201649, 0.403298, 0.409125, 0.003177, -0.026303, -0.024421, -0.024524, -0.001882, 0.311771, -0.000371],
     ["2020Q3", "2020-06-30", "2020-09-30", 64, 0.174552, 0.090435, 0.180869, 0.180478, -0.006317, -0.012265, -0.007233, -0.007131, -0.005033, 0.167375, -0.000109],
     ["2020Q4", "2020-09-30", "2020-12-31", 64, 0.244517, 0.121204, 0.242409, 0.248698, 0.002108, -0.010059, -0.006705, -0.006698, -0.003354, 0.161014, 3.6e-05],
     ["2021Q1", "2020-12-31", "2021-03-31", 61, 0.120753, 0.063524, 0.127048, 0.124389, -0.006294, -0.009174, -0.005936, -0.005928, -0.003239, 0.156876, -0.000219],
     ["2021Q2", "2021-03-31", "2021-06-30", 63, 0.166536, 0.083641, 0.167282, 0.170619, -0.000746, -0.006614, -0.003121, -0.003129, -0.003493, 0.110833, -0.000328],
     ["2021Q3", "2021-06-30", "2021-09-30", 64, 0.004021, 0.005767, 0.011533, 0.008451, -0.007512, -0.007487, -0.003085, -0.003063, -0.004402, 0.110669, -0.000109],
     ["2021Q4", "2021-09-30", "2021-12-31", 64, 0.222515, 0.110702, 0.221404, 0.227592, 0.001111, -0.009074, -0.004929, -0.004952, -0.004145, 0.138159, -0.000328],
     ["2022Q1", "2021-12-31", "2022-03-31", 62, -0.102983, -0.046177, -0.092354, -0.100409, -0.010629, -0.014126, -0.011261, -0.011233, -0.002865, 0.215149, 0.000241],
     ["2022Q2", "2022-03-31", "2022-06-30", 62, -0.315757, -0.161111, -0.322221, -0.310687, 0.006464, -0.02809, -0.020707, -0.020168, -0.007382, 0.285471, 0.000999],
     ["2022Q3", "2022-06-30", "2022-09-30", 64, -0.115367, -0.049281, -0.098561, -0.10659, -0.016806, -0.02151, -0.011637, -0.01146, -0.009874, 0.21381, 0.004371],
     ["2022Q4", "2022-09-30", "2022-12-30", 63, 0.123935, 0.075669, 0.151338, 0.139685, -0.027403, -0.02905, -0.015134, -0.015559, -0.013916, 0.250637, 0.008382],
     ["2023Q1", "2022-12-30", "2023-03-31", 62, 0.129105, 0.074631, 0.149262, 0.146847, -0.020157, -0.02253, -0.006939, -0.006967, -0.015591, 0.168533, 0.010329],
     ["2023Q2", "2023-03-31", "2023-06-30", 62, 0.158566, 0.086818, 0.173637, 0.17712, -0.015071, -0.019326, -0.003438, -0.003483, -0.015888, 0.117929, 0.012032],
     ["2023Q3", "2023-06-30", "2023-09-29", 63, -0.082187, -0.0322, -0.0644, -0.066075, -0.017787, -0.020302, -0.0029, -0.002879, -0.017402, 0.107881, 0.012861],
     ["2023Q4", "2023-09-29", "2023-12-29", 63, 0.221088, 0.116404, 0.232808, 0.241674, -0.01172, -0.020484, -0.003765, -0.003795, -0.016718, 0.120889, 0.013327],
     ["2024Q1", "2023-12-29", "2024-03-28", 61, 0.194269, 0.103925, 0.207849, 0.215019, -0.01358, -0.020209, -0.002983, -0.003013, -0.017225, 0.10937, 0.012869],
     ["2024Q2", "2024-03-28", "2024-06-28", 63, 0.067983, 0.043795, 0.087591, 0.086527, -0.019608, -0.019956, -0.002741, -0.002742, -0.017215, 0.104961, 0.012933],
     ["2024Q3", "2024-06-28", "2024-09-30", 64, 0.093908, 0.057518, 0.115036, 0.111354, -0.021128, -0.022093, -0.00627, -0.006219, -0.015823, 0.157029, 0.013409],
     ["2024Q4", "2024-09-30", "2024-12-31", 64, 0.028577, 0.024869, 0.049737, 0.046153, -0.021161, -0.020953, -0.004009, -0.003971, -0.016944, 0.125849, 0.011719],
     ["2025Q1", "2024-12-31", "2025-03-31", 60, -0.103547, -0.04267, -0.085341, -0.089328, -0.018206, -0.022094, -0.006357, -0.006292, -0.015737, 0.163584, 0.010041],
     ["2025Q2", "2025-03-31", "2025-06-30", 62, 0.183044, 0.10778, 0.21556, 0.197823, -0.032516, -0.036625, -0.02421, -0.025378, -0.012416, 0.322431, 0.010419],
     ["2025Q3", "2025-06-30", "2025-09-30", 64, 0.149511, 0.081198, 0.162395, 0.166657, -0.012884, -0.016802, -0.001996, -0.002009, -0.014806, 0.087437, 0.010618],
     ["2025Q4", "2025-09-30", "2025-12-31", 64, 0.035013, 0.026625, 0.053251, 0.049738, -0.018237, -0.01814, -0.004013, -0.003973, -0.014127, 0.125871, 0.009773],
     ["2026Q1", "2025-12-31", "2026-03-31", 61, -0.10236, -0.043668, -0.087336, -0.089901, -0.015024, -0.018686, -0.004902, -0.004896, -0.013784, 0.142975, 0.008527],
     ["2026Q2", "2026-03-31", "2026-06-30", 62, 0.301327, 0.151203, 0.302407, 0.318753, -0.00108, -0.018231, -0.004929, -0.00496, -0.013302, 0.138282, 0.008787],
     ["2026Q3", "2026-06-30", "2026-09-30", 64, 0.030664, 0.023771, 0.047542, 0.04497, -0.016878, -0.016783, -0.002997, -0.003023, -0.013785, 0.109792, 0.009002],
     ["2026Q4", "2026-09-30", "2026-11-05", 26, -0.083946, -0.038852, -0.077705, -0.079451, -0.006242, -0.008426, -0.00353, -0.003336, -0.004896, 0.181847, 0.003958]
    ]
   },
   "cost_vs_bil": {
    "years": ["2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025"],
    "slope": -0.971,
    "intercept": -0.01821,
    "theory_slope": -1
   }
  },
  "SOXL": {
   "calibration": {
    "correlation": 0.9975,
    "slope": 2.955,
    "days_off_by_2pct": 10,
    "days": 2726
   },
   "whole_period": {
    "start": "2016-01-04",
    "end": "2026-11-05",
    "years": 10.817,
    "leverage": 3,
    "underlying_ticker": "SOXX",
    "fund": 25.036284209080822,
    "underlying": 13.844411443561544,
    "k_x_underlying": 41.533234330684635,
    "ideal": 60.712918415040576,
    "simple_gap": -16.496950121603813,
    "gap": -4.833379270296868,
    "volatility": -3.9703770983199345,
    "volatility_approx": -3.879070418660539,
    "costs": -0.8630021719769343,
    "underlying_vol": 0.34524692538291896,
    "gap_per_year": -0.44681275719545516,
    "volatility_per_year": -0.3670341264771179,
    "volatility_approx_per_year": -0.3585934502943712,
    "costs_per_year": -0.07977863071833728,
    "fund_cagr": 0.351638545121445,
    "underlying_cagr": 0.2832254402905854
   },
   "years": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016", "2016-01-04", "2016-12-30", 251, 1.317932, 0.399858, 1.199574, 1.353042, 0.118359, -0.168437, -0.153403, -0.150806, -0.015033, 0.223932, 0.000876],
     ["2017", "2016-12-30", "2017-12-29", 251, 1.414069, 0.397742, 1.193227, 1.487583, 0.220841, -0.123262, -0.093264, -0.091413, -0.029998, 0.173846, 0.006879],
     ["2018", "2017-12-29", "2018-12-31", 251, -0.390908, -0.064781, -0.194342, -0.355059, -0.196566, -0.294863, -0.237674, -0.231618, -0.057189, 0.278963, 0.017375],
     ["2019", "2018-12-31", "2019-12-31", 252, 2.321064, 0.624435, 1.873305, 2.48794, 0.447759, -0.255195, -0.206169, -0.206899, -0.049026, 0.261085, 0.020321],
     ["2020", "2019-12-31", "2020-12-31", 253, 0.700078, 0.527249, 1.581748, 0.820279, -0.88167, -0.73973, -0.671415, -0.625353, -0.068315, 0.455353, 0.003988],
     ["2021", "2020-12-31", "2021-12-31", 252, 1.188348, 0.440959, 1.322877, 1.279665, -0.134529, -0.312779, -0.271898, -0.270977, -0.040882, 0.300024, -0.000983],
     ["2022", "2021-12-31", "2022-12-30", 251, -0.856597, -0.350874, -1.052623, -0.844848, 0.196027, -0.645706, -0.566961, -0.562714, -0.078745, 0.434295, 0.014046],
     ["2023", "2022-12-30", "2023-12-29", 250, 2.269755, 0.671298, 2.013893, 2.688163, 0.255861, -0.356086, -0.235673, -0.243654, -0.120413, 0.284526, 0.049437],
     ["2024", "2023-12-29", "2024-12-31", 252, -0.123409, 0.129246, 0.387737, -0.003902, -0.511145, -0.496364, -0.368558, -0.359047, -0.127805, 0.34645, 0.05191],
     ["2025", "2024-12-31", "2025-12-31", 250, 0.548685, 0.4073, 1.221899, 0.759123, -0.673214, -0.587612, -0.460203, -0.46933, -0.127409, 0.397011, 0.041481],
     ["2026", "2025-12-31", "2026-11-05", 213, -0.028712, 0.316186, 0.948557, 0.126431, -0.977268, -0.853346, -0.705159, -0.667259, -0.148186, 0.513371, 0.03061]
    ]
   },
   "quarters": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016Q1", "2016-01-04", "2016-03-31", 60, 0.046512, 0.034914, 0.104742, 0.048887, -0.05823, -0.057492, -0.055225, -0.054236, -0.002268, 0.277638, 0.0],
     ["2016Q2", "2016-03-31", "2016-06-30", 64, 0.033333, 0.025167, 0.0755, 0.033147, -0.042167, -0.041776, -0.041957, -0.040281, 0.000181, 0.231614, 0.000219],
     ["2016Q3", "2016-06-30", "2016-09-30", 64, 0.725806, 0.21178, 0.635341, 0.735202, 0.090465, -0.030577, -0.025148, -0.025632, -0.005429, 0.17823, 0.000656],
     ["2016Q4", "2016-09-30", "2016-12-30", 63, 0.242007, 0.088833, 0.266499, 0.251379, -0.024492, -0.038591, -0.031074, -0.030658, -0.007517, 0.202513, 1e-06],
     ["2017Q1", "2016-12-30", "2017-03-31", 62, 0.370079, 0.118273, 0.354819, 0.378891, 0.015259, -0.020489, -0.014077, -0.014116, -0.006412, 0.136272, 0.00077],
     ["2017Q2", "2017-03-31", "2017-06-30", 63, 0.04023, 0.0267, 0.080099, 0.046733, -0.039869, -0.039606, -0.033374, -0.032041, -0.006232, 0.208195, 0.001927],
     ["2017Q3", "2017-06-30", "2017-09-29", 63, 0.414365, 0.134884, 0.404651, 0.426995, 0.009714, -0.03291, -0.024019, -0.024175, -0.00889, 0.177915, 0.002191],
     ["2017Q4", "2017-09-29", "2017-12-29", 63, 0.197604, 0.072716, 0.218147, 0.207784, -0.020542, -0.030257, -0.021793, -0.021082, -0.008464, 0.167963, 0.001973],
     ["2018Q1", "2017-12-29", "2018-03-29", 61, 0.108814, 0.062568, 0.187703, 0.120082, -0.078889, -0.078774, -0.068663, -0.067714, -0.010111, 0.307316, 0.003449],
     ["2018Q2", "2018-03-29", "2018-06-29", 64, -0.072658, -0.00677, -0.020309, -0.059366, -0.052349, -0.055055, -0.040823, -0.039713, -0.014231, 0.230111, 0.00403],
     ["2018Q3", "2018-06-29", "2018-09-28", 63, 0.096524, 0.042839, 0.128516, 0.108628, -0.031992, -0.033695, -0.022717, -0.022528, -0.010978, 0.174318, 0.00438],
     ["2018Q4", "2018-09-28", "2018-12-31", 63, -0.459786, -0.150253, -0.450759, -0.447842, -0.009027, -0.12734, -0.105471, -0.101663, -0.021869, 0.369278, 0.005404],
     ["2019Q1", "2018-12-31", "2019-03-29", 61, 0.655074, 0.211349, 0.634047, 0.669691, 0.021027, -0.071358, -0.062565, -0.063489, -0.008793, 0.293372, 0.005357],
     ["2019Q2", "2019-03-29", "2019-06-28", 63, 0.080135, 0.051184, 0.153553, 0.097435, -0.073417, -0.072666, -0.056776, -0.056845, -0.01589, 0.277107, 0.005873],
     ["2019Q3", "2019-06-28", "2019-09-30", 64, 0.149753, 0.07032, 0.210961, 0.16025, -0.061208, -0.064327, -0.055239, -0.054315, -0.009089, 0.268419, 0.005126],
     ["2019Q4", "2019-09-30", "2019-12-31", 64, 0.615762, 0.191902, 0.575706, 0.6406, 0.040056, -0.046844, -0.031589, -0.03225, -0.015255, 0.202374, 0.003813],
     ["2020Q1", "2019-12-31", "2020-03-31", 62, -0.654731, -0.179945, -0.539836, -0.636822, -0.114895, -0.468279, -0.417708, -0.366357, -0.050571, 0.709406, 0.004435],
     ["2020Q2", "2020-03-31", "2020-06-30", 63, 0.986756, 0.322867, 0.968601, 0.99529, 0.018155, -0.152901, -0.148615, -0.153835, -0.004286, 0.449906, -0.000371],
     ["2020Q3", "2020-06-30", "2020-09-30", 64, 0.34502, 0.128761, 0.386283, 0.359346, -0.041263, -0.066953, -0.056358, -0.055131, -0.010595, 0.269158, -0.000109],
     ["2020Q4", "2020-09-30", "2020-12-31", 64, 0.842631, 0.247237, 0.741711, 0.847915, 0.10092, -0.051598, -0.048734, -0.05003, -0.002864, 0.251838, 3.6e-05],
     ["2021Q1", "2020-12-31", "2021-03-31", 61, 0.229202, 0.12031, 0.36093, 0.236316, -0.131728, -0.134451, -0.12868, -0.127315, -0.005771, 0.4207, -0.000219],
     ["2021Q2", "2021-03-31", "2021-06-30", 63, 0.165663, 0.072588, 0.217765, 0.171651, -0.052102, -0.056934, -0.05181, -0.051259, -0.005124, 0.26277, -0.000328],
     ["2021Q3", "2021-06-30", "2021-09-30", 64, -0.101033, -0.016025, -0.048074, -0.077565, -0.052959, -0.058045, -0.032275, -0.031858, -0.02577, 0.206081, -0.000109],
     ["2021Q4", "2021-09-30", "2021-12-31", 64, 0.698932, 0.218698, 0.656094, 0.706112, 0.042838, -0.063349, -0.059132, -0.060546, -0.004217, 0.279337, -0.000328],
     ["2022Q1", "2021-12-31", "2022-03-31", 62, -0.429687, -0.125719, -0.377157, -0.426589, -0.05253, -0.158509, -0.153092, -0.15133, -0.005417, 0.455627, 0.000241],
     ["2022Q2", "2022-03-31", "2022-06-30", 62, -0.661753, -0.260134, -0.780401, -0.655799, 0.118648, -0.18012, -0.162674, -0.156759, -0.017447, 0.459159, 0.000999],
     ["2022Q3", "2022-06-30", "2022-09-30", 64, -0.321358, -0.083358, -0.250073, -0.307872, -0.071285, -0.126548, -0.106872, -0.103687, -0.019676, 0.37141, 0.004371],
     ["2022Q4", "2022-09-30", "2022-12-30", 63, 0.095395, 0.094774, 0.284321, 0.13578, -0.188927, -0.180528, -0.144324, -0.150938, -0.036205, 0.451264, 0.008382],
     ["2023Q1", "2022-12-30", "2023-03-31", 62, 0.89529, 0.281003, 0.84301, 0.947322, 0.052281, -0.103559, -0.076476, -0.080203, -0.027083, 0.325438, 0.010329],
     ["2023Q2", "2023-03-31", "2023-06-30", 62, 0.359097, 0.142349, 0.427046, 0.403427, -0.067949, -0.092438, -0.060342, -0.064697, -0.032097, 0.296168, 0.012032],
     ["2023Q3", "2023-06-30", "2023-09-29", 63, -0.238753, -0.062909, -0.188728, -0.217539, -0.050025, -0.077872, -0.050386, -0.049334, -0.027486, 0.258132, 0.012861],
     ["2023Q4", "2023-09-29", "2023-12-29", 63, 0.667491, 0.218774, 0.656323, 0.724726, 0.011168, -0.082217, -0.048469, -0.04942, -0.033748, 0.253412, 0.013327],
     ["2024Q1", "2023-12-29", "2024-03-28", 61, 0.48311, 0.177658, 0.532974, 0.531738, -0.049864, -0.096442, -0.06418, -0.06592, -0.032262, 0.300321, 0.012869],
     ["2024Q2", "2024-03-28", "2024-06-28", 63, 0.192986, 0.093062, 0.279185, 0.229542, -0.086199, -0.090489, -0.060306, -0.059857, -0.030183, 0.283664, 0.012933],
     ["2024Q3", "2024-06-28", "2024-09-30", 64, -0.336303, -0.062774, -0.188323, -0.312673, -0.14798, -0.215436, -0.180453, -0.172044, -0.034983, 0.478865, 0.013409],
     ["2024Q4", "2024-09-30", "2024-12-31", 64, -0.253519, -0.06399, -0.191971, -0.230495, -0.061548, -0.093997, -0.063619, -0.061226, -0.030377, 0.285377, 0.011719],
     ["2025Q1", "2024-12-31", "2025-03-31", 60, -0.414124, -0.125649, -0.376947, -0.394925, -0.037177, -0.131827, -0.099582, -0.091437, -0.032245, 0.359413, 0.010041],
     ["2025Q2", "2025-03-31", "2025-06-30", 62, 0.578764, 0.271229, 0.813688, 0.635063, -0.234924, -0.263311, -0.228272, -0.247977, -0.035039, 0.579876, 0.010419],
     ["2025Q3", "2025-06-30", "2025-09-30", 64, 0.387903, 0.138194, 0.414583, 0.431094, -0.02668, -0.060535, -0.02989, -0.030231, -0.030646, 0.197933, 0.010618],
     ["2025Q4", "2025-09-30", "2025-12-31", 64, 0.206372, 0.112399, 0.337196, 0.242465, -0.130824, -0.131939, -0.102459, -0.099686, -0.02948, 0.36327, 0.009773],
     ["2026Q1", "2025-12-31", "2026-03-31", 61, 0.1399, 0.092017, 0.27605, 0.170792, -0.13615, -0.133138, -0.106398, -0.10565, -0.02674, 0.38359, 0.008527],
     ["2026Q2", "2026-03-31", "2026-06-30", 62, 4.557129, 0.950491, 2.851472, 4.695238, 1.705657, -0.289161, -0.264613, -0.262477, -0.024549, 0.572447, 0.008787],
     ["2026Q3", "2026-06-30", "2026-09-30", 64, -0.445276, -0.111976, -0.335927, -0.417962, -0.109349, -0.233017, -0.184951, -0.180701, -0.048066, 0.490352, 0.009002],
     ["2026Q4", "2026-09-30", "2026-11-05", 26, -0.72359, -0.304145, -0.912434, -0.709757, 0.188844, -0.198029, -0.149198, -0.11843, -0.048831, 0.593819, 0.003958]
    ]
   },
   "cost_vs_bil": {
    "years": ["2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025"],
    "slope": -1.771,
    "intercept": -0.03827,
    "theory_slope": -2
   }
  },
  "TECL": {
   "calibration": {
    "correlation": 0.9979,
    "slope": 2.95,
    "days_off_by_2pct": 3,
    "days": 2726
   },
   "whole_period": {
    "start": "2016-01-04",
    "end": "2026-11-05",
    "years": 10.817,
    "leverage": 3,
    "underlying_ticker": "XLK",
    "fund": 38.27888629386727,
    "underlying": 7.627438825246962,
    "k_x_underlying": 22.882316475740886,
    "ideal": 84.50741948671256,
    "simple_gap": 15.39656981812638,
    "gap": -2.794155925808619,
    "volatility": -2.016239906085354,
    "volatility_approx": -1.983771640824317,
    "costs": -0.7779160197232651,
    "underlying_vol": 0.24686332335523561,
    "gap_per_year": -0.25830054780035655,
    "volatility_per_year": -0.18638754817810316,
    "volatility_approx_per_year": -0.18338607978273214,
    "costs_per_year": -0.0719129996222534,
    "fund_cagr": 0.40400637297127906,
    "underlying_cagr": 0.22043839071274252
   },
   "years": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016", "2016-01-04", "2016-12-30", 251, 0.429799, 0.165158, 0.495475, 0.473954, -0.065676, -0.101037, -0.070623, -0.070115, -0.030414, 0.153133, 0.000876],
     ["2017", "2016-12-30", "2017-12-29", 251, 1.250649, 0.342696, 1.028088, 1.341352, 0.222561, -0.07282, -0.03331, -0.033109, -0.03951, 0.103744, 0.006879],
     ["2018", "2017-12-29", "2018-12-31", 251, -0.240431, -0.016764, -0.050292, -0.193499, -0.190139, -0.224286, -0.164333, -0.161683, -0.059954, 0.233077, 0.017375],
     ["2019", "2018-12-31", "2019-12-31", 252, 1.856318, 0.498721, 1.496164, 2.045193, 0.360153, -0.164304, -0.100273, -0.099213, -0.064031, 0.180267, 0.020321],
     ["2020", "2019-12-31", "2020-12-31", 253, 0.693212, 0.435994, 1.307981, 0.772222, -0.614768, -0.558943, -0.513337, -0.486701, -0.045606, 0.401816, 0.003988],
     ["2021", "2020-12-31", "2021-12-31", 252, 1.128381, 0.347507, 1.042521, 1.187659, 0.08586, -0.139407, -0.111937, -0.112293, -0.02747, 0.192821, -0.000983],
     ["2022", "2021-12-31", "2022-12-30", 251, -0.743159, -0.277337, -0.83201, -0.726769, 0.088851, -0.384864, -0.323001, -0.321748, -0.061863, 0.328347, 0.014046],
     ["2023", "2022-12-30", "2023-12-29", 250, 2.031251, 0.560163, 1.680489, 2.427032, 0.350762, -0.225396, -0.102676, -0.104488, -0.122719, 0.18543, 0.049437],
     ["2024", "2023-12-29", "2024-12-31", 252, 0.361353, 0.216326, 0.648979, 0.549733, -0.287626, -0.279026, -0.149423, -0.147776, -0.129603, 0.221948, 0.05191],
     ["2025", "2024-12-31", "2025-12-31", 250, 0.38453, 0.245957, 0.737871, 0.550414, -0.35334, -0.334351, -0.22119, -0.226925, -0.113161, 0.276198, 0.041481],
     ["2026", "2025-12-31", "2026-11-05", 213, 0.063856, 0.131873, 0.39562, 0.1566, -0.331764, -0.309722, -0.226138, -0.219721, -0.083584, 0.294814, 0.03061]
    ]
   },
   "quarters": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016Q1", "2016-01-04", "2016-03-31", 60, 0.12894, 0.05449, 0.16347, 0.135437, -0.03453, -0.037893, -0.032154, -0.032074, -0.005739, 0.213123, 0.0],
     ["2016Q2", "2016-03-31", "2016-06-30", 64, -0.073604, -0.0173, -0.0519, -0.067909, -0.021704, -0.024099, -0.01797, -0.017508, -0.006129, 0.152744, 0.000219],
     ["2016Q3", "2016-06-30", "2016-09-30", 64, 0.328767, 0.106001, 0.318003, 0.340523, 0.010764, -0.018001, -0.009192, -0.009211, -0.008809, 0.107832, 0.000656],
     ["2016Q4", "2016-09-30", "2016-12-30", 63, 0.028866, 0.016637, 0.049912, 0.038933, -0.021046, -0.021044, -0.011307, -0.011322, -0.009737, 0.123764, 1e-06],
     ["2017Q1", "2016-12-30", "2017-03-31", 62, 0.342685, 0.106802, 0.320405, 0.350255, 0.022281, -0.009752, -0.00413, -0.004157, -0.005622, 0.070915, 0.00077],
     ["2017Q2", "2017-03-31", "2017-06-30", 63, 0.073134, 0.030398, 0.091194, 0.082011, -0.01806, -0.019252, -0.011014, -0.010711, -0.008238, 0.120195, 0.001927],
     ["2017Q3", "2017-06-30", "2017-09-29", 63, 0.246175, 0.083887, 0.25166, 0.261714, -0.005485, -0.021581, -0.009189, -0.009177, -0.012392, 0.10954, 0.002191],
     ["2017Q4", "2017-09-29", "2017-12-29", 63, 0.253431, 0.086223, 0.258669, 0.27016, -0.005239, -0.022236, -0.008977, -0.009064, -0.013258, 0.108733, 0.001973],
     ["2018Q1", "2017-12-29", "2018-03-29", 61, 0.019608, 0.02603, 0.078089, 0.03166, -0.058481, -0.057671, -0.045921, -0.044805, -0.011751, 0.250301, 0.003449],
     ["2018Q2", "2018-03-29", "2018-06-29", 64, 0.167453, 0.065837, 0.19751, 0.18742, -0.030057, -0.036456, -0.019497, -0.01949, -0.016959, 0.16033, 0.00403],
     ["2018Q3", "2018-06-29", "2018-09-28", 63, 0.255197, 0.088032, 0.264095, 0.273887, -0.008899, -0.025819, -0.011039, -0.011049, -0.01478, 0.120378, 0.00438],
     ["2018Q4", "2018-09-28", "2018-12-31", 63, -0.491627, -0.173647, -0.520941, -0.483187, 0.029314, -0.10434, -0.087876, -0.086338, -0.016464, 0.339071, 0.005404],
     ["2019Q1", "2018-12-31", "2019-03-29", 61, 0.635762, 0.197745, 0.593236, 0.664573, 0.042526, -0.049214, -0.031754, -0.031628, -0.01746, 0.204707, 0.005357],
     ["2019Q2", "2019-03-29", "2019-06-28", 63, 0.1443, 0.058342, 0.175026, 0.157859, -0.030726, -0.035317, -0.023538, -0.02329, -0.011779, 0.176965, 0.005873],
     ["2019Q3", "2019-06-28", "2019-09-30", 64, 0.052165, 0.035288, 0.105864, 0.075167, -0.053699, -0.053189, -0.031563, -0.030802, -0.021626, 0.202411, 0.005126],
     ["2019Q4", "2019-09-30", "2019-12-31", 64, 0.450315, 0.142008, 0.426024, 0.469537, 0.024291, -0.026584, -0.013417, -0.013493, -0.013167, 0.129813, 0.003813],
     ["2020Q1", "2019-12-31", "2020-03-31", 62, -0.518564, -0.118634, -0.355903, -0.507279, -0.162661, -0.352134, -0.328965, -0.301768, -0.023169, 0.644337, 0.004435],
     ["2020Q2", "2020-03-31", "2020-06-30", 63, 1.004303, 0.303591, 0.910774, 1.024003, 0.093529, -0.100073, -0.090292, -0.092863, -0.009781, 0.347476, -0.000371],
     ["2020Q3", "2020-06-30", "2020-09-30", 64, 0.31301, 0.1192, 0.357599, 0.324177, -0.044589, -0.065519, -0.05705, -0.054996, -0.008469, 0.269072, -0.000109],
     ["2020Q4", "2020-09-30", "2020-12-31", 64, 0.336416, 0.116728, 0.350184, 0.342024, -0.013768, -0.041218, -0.03703, -0.037074, -0.004187, 0.220414, 3.6e-05],
     ["2021Q1", "2020-12-31", "2021-03-31", 61, 0.016482, 0.02365, 0.070949, 0.027292, -0.054467, -0.053776, -0.043197, -0.043223, -0.010578, 0.245863, -0.000219],
     ["2021Q2", "2021-03-31", "2021-06-30", 63, 0.346079, 0.113743, 0.341228, 0.350887, 0.004852, -0.025982, -0.022416, -0.022508, -0.003565, 0.172317, -0.000328],
     ["2021Q3", "2021-06-30", "2021-09-30", 64, 0.018339, 0.013054, 0.039161, 0.024606, -0.020823, -0.020735, -0.0146, -0.014375, -0.006135, 0.138392, -0.000109],
     ["2021Q4", "2021-09-30", "2021-12-31", 64, 0.527519, 0.166708, 0.500125, 0.538544, 0.027394, -0.038914, -0.031723, -0.032186, -0.007191, 0.203284, -0.000328],
     ["2022Q1", "2021-12-31", "2022-03-31", 62, -0.287487, -0.084231, -0.252694, -0.28454, -0.034792, -0.074982, -0.070855, -0.071012, -0.004127, 0.312091, 0.000241],
     ["2022Q2", "2022-03-31", "2022-06-30", 62, -0.543132, -0.198175, -0.594524, -0.536973, 0.051392, -0.120767, -0.107376, -0.103099, -0.01339, 0.373111, 0.000999],
     ["2022Q3", "2022-06-30", "2022-09-30", 64, -0.23477, -0.063319, -0.189957, -0.222272, -0.044813, -0.071342, -0.055141, -0.053835, -0.0162, 0.267547, 0.004371],
     ["2022Q4", "2022-09-30", "2022-12-30", 63, 0.031069, 0.0507, 0.1521, 0.060501, -0.121031, -0.117774, -0.089629, -0.093802, -0.028145, 0.356112, 0.008382],
     ["2023Q1", "2022-12-30", "2023-03-31", 62, 0.686278, 0.216264, 0.648792, 0.733711, 0.037485, -0.064828, -0.037087, -0.038053, -0.027741, 0.222889, 0.010329],
     ["2023Q2", "2023-03-31", "2023-06-30", 62, 0.454092, 0.153663, 0.46099, 0.496285, -0.006897, -0.054445, -0.025841, -0.026787, -0.028604, 0.188254, 0.012032],
     ["2023Q3", "2023-06-30", "2023-09-29", 63, -0.202332, -0.055051, -0.165154, -0.174415, -0.037178, -0.056189, -0.021789, -0.021447, -0.0344, 0.16993, 0.012861],
     ["2023Q4", "2023-09-29", "2023-12-29", 63, 0.549812, 0.176671, 0.530012, 0.600167, 0.0198, -0.049933, -0.017959, -0.018201, -0.031975, 0.151286, 0.013327],
     ["2024Q1", "2023-12-29", "2024-03-28", 61, 0.203014, 0.083865, 0.251594, 0.241726, -0.04858, -0.056769, -0.025096, -0.02537, -0.031673, 0.187145, 0.012869],
     ["2024Q2", "2024-03-28", "2024-06-28", 63, 0.216347, 0.088184, 0.264551, 0.254786, -0.048204, -0.057677, -0.026565, -0.026682, -0.031113, 0.188782, 0.012933],
     ["2024Q3", "2024-06-28", "2024-09-30", 64, -0.10115, -0.000331, -0.000993, -0.068011, -0.100157, -0.105646, -0.069441, -0.067976, -0.036205, 0.301043, 0.013409],
     ["2024Q4", "2024-09-30", "2024-12-31", 64, 0.035036, 0.031613, 0.094839, 0.067212, -0.059803, -0.058934, -0.028321, -0.027748, -0.030613, 0.19214, 0.011719],
     ["2025Q1", "2024-12-31", "2025-03-31", 60, -0.351344, -0.110461, -0.331382, -0.333561, -0.019961, -0.081697, -0.054652, -0.052174, -0.027045, 0.27101, 0.010041],
     ["2025Q2", "2025-03-31", "2025-06-30", 62, 0.601689, 0.22847, 0.68541, 0.651788, -0.08372, -0.146249, -0.11545, -0.124556, -0.0308, 0.41002, 0.010419],
     ["2025Q3", "2025-06-30", "2025-09-30", 64, 0.329023, 0.114424, 0.343273, 0.364198, -0.01425, -0.04057, -0.014447, -0.014553, -0.026123, 0.13652, 0.010618],
     ["2025Q4", "2025-09-30", "2025-12-31", 64, 0.002714, 0.023111, 0.069333, 0.032418, -0.066619, -0.065834, -0.036641, -0.035643, -0.029194, 0.21788, 0.009773],
     ["2026Q1", "2025-12-31", "2026-03-31", 61, -0.262532, -0.075762, -0.227286, -0.244813, -0.035246, -0.068176, -0.044433, -0.044284, -0.023743, 0.248288, 0.008527],
     ["2026Q2", "2026-03-31", "2026-06-30", 62, 1.668859, 0.435259, 1.305778, 1.737339, 0.36308, -0.102386, -0.077051, -0.076073, -0.025335, 0.308923, 0.008787],
     ["2026Q3", "2026-06-30", "2026-09-30", 64, 0.00974, 0.028615, 0.085845, 0.031969, -0.076105, -0.074947, -0.053171, -0.054938, -0.021776, 0.270488, 0.009002],
     ["2026Q4", "2026-09-30", "2026-11-05", 26, -0.464691, -0.170473, -0.511418, -0.457833, 0.046727, -0.064213, -0.051484, -0.044426, -0.01273, 0.369888, 0.003958]
    ]
   },
   "cost_vs_bil": {
    "years": ["2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025"],
    "slope": -1.944,
    "intercept": -0.03042,
    "theory_slope": -2
   }
  },
  "TNA": {
   "calibration": {
    "correlation": 0.9989,
    "slope": 2.968,
    "days_off_by_2pct": 3,
    "days": 2726
   },
   "whole_period": {
    "start": "2016-01-04",
    "end": "2026-11-05",
    "years": 10.817,
    "leverage": 3,
    "underlying_ticker": "IWM",
    "fund": 0.8579741978737832,
    "underlying": 1.8249017448225442,
    "k_x_underlying": 5.474705234467633,
    "ideal": 3.001626181523032,
    "simple_gap": -4.616731036593849,
    "gap": -2.4959339969472203,
    "volatility": -1.728719926315801,
    "volatility_approx": -1.6758764986610286,
    "costs": -0.7672140706314192,
    "underlying_vol": 0.22715856648445562,
    "gap_per_year": -0.23073197624016856,
    "volatility_per_year": -0.15980829839749885,
    "volatility_approx_per_year": -0.15492328600975025,
    "costs_per_year": -0.07092367784266972,
    "fund_cagr": 0.058938827701590535,
    "underlying_cagr": 0.10075879870410631
   },
   "years": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016", "2016-01-04", "2016-12-30", 251, 0.709361, 0.244861, 0.734583, 0.748932, -0.025222, -0.120952, -0.098067, -0.097707, -0.022885, 0.180575, 0.000876],
     ["2017", "2016-12-30", "2017-12-29", 251, 0.391381, 0.145861, 0.437582, 0.442493, -0.046201, -0.078172, -0.042095, -0.042016, -0.036076, 0.11847, 0.006879],
     ["2018", "2017-12-29", "2018-12-31", 251, -0.398934, -0.11109, -0.33327, -0.363045, -0.065665, -0.155774, -0.097778, -0.095967, -0.057995, 0.179453, 0.017375],
     ["2019", "2018-12-31", "2019-12-31", 252, 0.718888, 0.25393, 0.761791, 0.824023, -0.042903, -0.137171, -0.077805, -0.077417, -0.059367, 0.160252, 0.020321],
     ["2020", "2019-12-31", "2020-12-31", 253, -0.078254, 0.200295, 0.600886, 0.005678, -0.67914, -0.629188, -0.542041, -0.49165, -0.087147, 0.40448, 0.003988],
     ["2021", "2020-12-31", "2021-12-31", 252, 0.2787, 0.145392, 0.436175, 0.300555, -0.157475, -0.161396, -0.144449, -0.144501, -0.016947, 0.219675, -0.000983],
     ["2022", "2021-12-31", "2022-12-30", 251, -0.62477, -0.204795, -0.614384, -0.603409, -0.010386, -0.292752, -0.237384, -0.235448, -0.055369, 0.281008, 0.014046],
     ["2023", "2022-12-30", "2023-12-29", 250, 0.261994, 0.168387, 0.505161, 0.417243, -0.243167, -0.23418, -0.118159, -0.119719, -0.11602, 0.200655, 0.049437],
     ["2024", "2023-12-29", "2024-12-31", 252, 0.072142, 0.113908, 0.341725, 0.214946, -0.269583, -0.253966, -0.128925, -0.129002, -0.125041, 0.207618, 0.05191],
     ["2025", "2024-12-31", "2025-12-31", 250, 0.098124, 0.126583, 0.37975, 0.225599, -0.281626, -0.263965, -0.154139, -0.155052, -0.109826, 0.228521, 0.041481],
     ["2026", "2025-12-31", "2026-11-05", 213, 0.150673, 0.108405, 0.325215, 0.247184, -0.174541, -0.168418, -0.087878, -0.087397, -0.080541, 0.185881, 0.03061]
    ]
   },
   "quarters": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016Q1", "2016-01-04", "2016-03-31", 60, -0.019939, 0.008713, 0.026138, -0.012413, -0.046077, -0.046165, -0.038515, -0.038337, -0.00765, 0.233591, 0.0],
     ["2016Q2", "2016-03-31", "2016-06-30", 64, 0.086552, 0.03932, 0.117961, 0.093353, -0.031409, -0.032692, -0.026452, -0.025987, -0.00624, 0.185835, 0.000219],
     ["2016Q3", "2016-06-30", "2016-09-30", 64, 0.266899, 0.089197, 0.267592, 0.272067, -0.000692, -0.01975, -0.01568, -0.01554, -0.00407, 0.142253, 0.000656],
     ["2016Q4", "2016-09-30", "2016-12-30", 63, 0.267034, 0.090178, 0.270535, 0.27329, -0.003501, -0.022345, -0.017419, -0.017843, -0.004925, 0.153817, 1e-06],
     ["2017Q1", "2016-12-30", "2017-03-31", 62, 0.04567, 0.022437, 0.06731, 0.054255, -0.02164, -0.021908, -0.013732, -0.013664, -0.008176, 0.137023, 0.00077],
     ["2017Q2", "2017-03-31", "2017-06-30", 63, 0.054074, 0.025022, 0.075065, 0.064012, -0.020991, -0.021479, -0.012095, -0.012013, -0.009383, 0.127397, 0.001927],
     ["2017Q3", "2017-06-30", "2017-09-29", 63, 0.164126, 0.05867, 0.176009, 0.175726, -0.011884, -0.019069, -0.009154, -0.009152, -0.009915, 0.110354, 0.002191],
     ["2017Q4", "2017-09-29", "2017-12-29", 63, 0.084377, 0.032765, 0.098296, 0.093744, -0.01392, -0.015715, -0.007114, -0.007188, -0.008601, 0.098317, 0.001973],
     ["2018Q1", "2017-12-29", "2018-03-29", 61, -0.041696, -0.001781, -0.005344, -0.030521, -0.036352, -0.037242, -0.025647, -0.024879, -0.011594, 0.186627, 0.003449],
     ["2018Q2", "2018-03-29", "2018-06-29", 64, 0.220077, 0.078641, 0.235922, 0.238929, -0.015845, -0.02819, -0.012857, -0.012765, -0.015333, 0.129002, 0.00403],
     ["2018Q3", "2018-06-29", "2018-09-28", 63, 0.089632, 0.035666, 0.106997, 0.102936, -0.017365, -0.019293, -0.007157, -0.007121, -0.012136, 0.097789, 0.00438],
     ["2018Q4", "2018-09-28", "2018-12-31", 63, -0.528207, -0.202858, -0.608573, -0.51919, 0.080366, -0.071048, -0.052116, -0.051202, -0.018932, 0.257488, 0.005404],
     ["2019Q1", "2018-12-31", "2019-03-29", 61, 0.452126, 0.146389, 0.439168, 0.474343, 0.012958, -0.036823, -0.021639, -0.021703, -0.015184, 0.170381, 0.005357],
     ["2019Q2", "2019-03-29", "2019-06-28", 63, 0.022442, 0.019299, 0.057896, 0.038074, -0.035454, -0.03515, -0.019977, -0.019828, -0.015173, 0.163804, 0.005873],
     ["2019Q3", "2019-06-28", "2019-09-30", 64, -0.106564, -0.023279, -0.069837, -0.092643, -0.036727, -0.042018, -0.026556, -0.026152, -0.015461, 0.18667, 0.005126],
     ["2019Q4", "2019-09-30", "2019-12-31", 64, 0.295809, 0.098675, 0.296026, 0.313485, -0.000217, -0.02318, -0.009632, -0.009735, -0.013549, 0.111387, 0.003813],
     ["2020Q1", "2019-12-31", "2020-03-31", 62, -0.770107, -0.30647, -0.919409, -0.752929, 0.149302, -0.37226, -0.300197, -0.249534, -0.072062, 0.580238, 0.004435],
     ["2020Q2", "2020-03-31", "2020-06-30", 63, 0.655644, 0.255052, 0.765156, 0.670285, -0.109512, -0.177341, -0.168537, -0.167776, -0.008804, 0.472347, -0.000371],
     ["2020Q3", "2020-06-30", "2020-09-30", 64, 0.117196, 0.050276, 0.150827, 0.11833, -0.033631, -0.036336, -0.035322, -0.035238, -0.001014, 0.216323, -0.000109],
     ["2020Q4", "2020-09-30", "2020-12-31", 64, 1.167651, 0.312979, 0.938937, 1.179095, 0.228714, -0.043252, -0.037986, -0.039102, -0.005266, 0.217438, 3.6e-05],
     ["2021Q1", "2020-12-31", "2021-03-31", 61, 0.349668, 0.12897, 0.38691, 0.359212, -0.037242, -0.064058, -0.057012, -0.057151, -0.007046, 0.280771, -0.000219],
     ["2021Q2", "2021-03-31", "2021-06-30", 63, 0.093621, 0.039726, 0.119179, 0.095662, -0.025558, -0.027379, -0.025514, -0.025356, -0.001865, 0.185022, -0.000328],
     ["2021Q3", "2021-06-30", "2021-09-30", 64, -0.153131, -0.043398, -0.130193, -0.148979, -0.022938, -0.033107, -0.028217, -0.028446, -0.00489, 0.1945, -0.000109],
     ["2021Q4", "2021-09-30", "2021-12-31", 64, 0.02296, 0.020049, 0.060148, 0.026183, -0.037187, -0.036852, -0.033706, -0.033548, -0.003146, 0.211401, -0.000328],
     ["2022Q1", "2021-12-31", "2022-03-31", 62, -0.256755, -0.075438, -0.226313, -0.251405, -0.030442, -0.061425, -0.054253, -0.054169, -0.007173, 0.272529, 0.000241],
     ["2022Q2", "2022-03-31", "2022-06-30", 62, -0.479282, -0.17272, -0.51816, -0.476405, 0.038878, -0.083711, -0.0782, -0.074828, -0.005511, 0.317732, 0.000999],
     ["2022Q3", "2022-06-30", "2022-09-30", 64, -0.121646, -0.021109, -0.063328, -0.105222, -0.058319, -0.0657, -0.047174, -0.046904, -0.018526, 0.250054, 0.004371],
     ["2022Q4", "2022-09-30", "2022-12-30", 63, 0.103808, 0.062078, 0.186234, 0.130799, -0.082426, -0.081916, -0.057757, -0.059548, -0.024159, 0.28348, 0.008382],
     ["2023Q1", "2022-12-30", "2023-03-31", 62, 0.01731, 0.026961, 0.080882, 0.044651, -0.063572, -0.062649, -0.036128, -0.035556, -0.026521, 0.221115, 0.010329],
     ["2023Q2", "2023-03-31", "2023-06-30", 62, 0.102933, 0.052572, 0.157715, 0.136867, -0.054782, -0.055736, -0.025432, -0.025924, -0.030304, 0.188395, 0.012032],
     ["2023Q3", "2023-06-30", "2023-09-29", 63, -0.185159, -0.051742, -0.155227, -0.161035, -0.029932, -0.045376, -0.016199, -0.016082, -0.029177, 0.14705, 0.012861],
     ["2023Q4", "2023-09-29", "2023-12-29", 63, 0.380328, 0.139869, 0.419607, 0.422393, -0.039279, -0.070419, -0.0404, -0.042158, -0.030019, 0.236412, 0.013327],
     ["2024Q1", "2023-12-29", "2024-03-28", 61, 0.088715, 0.050411, 0.151234, 0.123785, -0.062519, -0.062548, -0.030843, -0.030487, -0.031705, 0.206103, 0.012869],
     ["2024Q2", "2024-03-28", "2024-06-28", 63, -0.141944, -0.032532, -0.097596, -0.112185, -0.044348, -0.053867, -0.019773, -0.019501, -0.034094, 0.162368, 0.012933],
     ["2024Q3", "2024-06-28", "2024-09-30", 64, 0.210075, 0.09248, 0.27744, 0.246004, -0.067364, -0.074668, -0.045409, -0.045453, -0.029259, 0.245006, 0.013409],
     ["2024Q4", "2024-09-30", "2024-12-31", 64, -0.051559, 0.003321, 0.009964, -0.022691, -0.061523, -0.062883, -0.0329, -0.033561, -0.029983, 0.211526, 0.011719],
     ["2025Q1", "2024-12-31", "2025-03-31", 60, -0.299159, -0.095124, -0.285372, -0.27849, -0.013788, -0.055603, -0.026538, -0.026162, -0.029065, 0.191304, 0.010041],
     ["2025Q2", "2025-03-31", "2025-06-30", 62, 0.151483, 0.084663, 0.253988, 0.18621, -0.102505, -0.102757, -0.073043, -0.073638, -0.029713, 0.317522, 0.010419],
     ["2025Q3", "2025-06-30", "2025-09-30", 64, 0.350938, 0.12446, 0.37338, 0.387454, -0.022442, -0.05111, -0.024438, -0.025239, -0.026671, 0.180914, 0.010618],
     ["2025Q4", "2025-09-30", "2025-12-31", 64, 0.007255, 0.020788, 0.062364, 0.03211, -0.055109, -0.054496, -0.030119, -0.030014, -0.024377, 0.199943, 0.009773],
     ["2026Q1", "2025-12-31", "2026-03-31", 61, -0.03053, 0.009256, 0.027767, -0.004595, -0.058298, -0.058646, -0.032246, -0.032397, -0.0264, 0.212934, 0.008527],
     ["2026Q2", "2026-03-31", "2026-06-30", 62, 0.704102, 0.214481, 0.643442, 0.741248, 0.06066, -0.049912, -0.028348, -0.028685, -0.021564, 0.191988, 0.008787],
     ["2026Q3", "2026-06-30", "2026-09-30", 64, -0.230757, -0.072653, -0.217959, -0.212847, -0.012798, -0.036066, -0.01305, -0.013001, -0.023016, 0.130383, 0.009002],
     ["2026Q4", "2026-09-30", "2026-11-05", 26, -0.094562, -0.024866, -0.074598, -0.085863, -0.019964, -0.023795, -0.014234, -0.013314, -0.009561, 0.211026, 0.003958]
    ]
   },
   "cost_vs_bil": {
    "years": ["2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025"],
    "slope": -1.696,
    "intercept": -0.03595,
    "theory_slope": -2
   }
  },
  "UDOW": {
   "calibration": {
    "correlation": 0.9986,
    "slope": 2.949,
    "days_off_by_2pct": 2,
    "days": 2726
   },
   "whole_period": {
    "start": "2016-01-04",
    "end": "2026-11-05",
    "years": 10.817,
    "leverage": 3,
    "underlying_ticker": "DIA",
    "fund": 7.982774008521094,
    "underlying": 2.7106870436956774,
    "k_x_underlying": 8.132061131087031,
    "ideal": 17.74179267408335,
    "simple_gap": -0.14928712256593712,
    "gap": -1.7383423951167396,
    "volatility": -1.0028952068245611,
    "volatility_approx": -0.9727377516056024,
    "costs": -0.7354471882921785,
    "underlying_vol": 0.17294971914452748,
    "gap_per_year": -0.1606978296292804,
    "volatility_per_year": -0.09271078214225582,
    "volatility_approx_per_year": -0.08992293228342325,
    "costs_per_year": -0.06798704748702457,
    "fund_cagr": 0.2250004776040766,
    "underlying_cagr": 0.12886535897465312
   },
   "years": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016", "2016-01-04", "2016-12-30", 251, 0.545589, 0.182091, 0.546272, 0.576691, -0.000683, -0.066449, -0.046526, -0.046285, -0.019923, 0.124212, 0.000876],
     ["2017", "2016-12-30", "2017-12-29", 251, 0.991162, 0.2808, 0.842399, 1.073752, 0.148763, -0.053736, -0.013095, -0.013174, -0.040641, 0.064622, 0.006879],
     ["2018", "2017-12-29", "2018-12-31", 251, -0.239065, -0.037401, -0.112202, -0.190892, -0.126863, -0.158854, -0.097469, -0.09569, -0.061385, 0.179304, 0.017375],
     ["2019", "2018-12-31", "2019-12-31", 252, 0.752756, 0.250144, 0.750433, 0.86238, 0.002323, -0.108588, -0.047922, -0.047526, -0.060665, 0.125268, 0.020321],
     ["2020", "2019-12-31", "2020-12-31", 253, -0.171692, 0.096105, 0.288315, -0.141885, -0.460007, -0.46366, -0.428306, -0.399814, -0.035354, 0.364927, 0.003988],
     ["2021", "2020-12-31", "2021-12-31", 252, 0.654535, 0.208349, 0.625048, 0.685297, 0.029487, -0.064246, -0.045824, -0.045709, -0.018421, 0.123055, -0.000983],
     ["2022", "2021-12-31", "2022-12-30", 251, -0.323883, -0.070128, -0.210383, -0.284873, -0.113499, -0.173264, -0.117171, -0.116379, -0.056093, 0.197717, 0.014046],
     ["2023", "2022-12-30", "2023-12-29", 250, 0.3276, 0.160257, 0.480771, 0.502576, -0.15317, -0.162551, -0.038743, -0.038874, -0.123808, 0.114091, 0.049437],
     ["2024", "2023-12-29", "2024-12-31", 252, 0.284822, 0.148212, 0.444635, 0.456584, -0.159813, -0.163997, -0.038523, -0.03865, -0.125474, 0.113364, 0.05191],
     ["2025", "2024-12-31", "2025-12-31", 250, 0.244509, 0.147044, 0.441133, 0.390888, -0.196624, -0.192824, -0.081623, -0.082865, -0.111201, 0.16692, 0.041481],
     ["2026", "2025-12-31", "2026-11-05", 213, 0.112609, 0.082162, 0.246486, 0.208268, -0.133877, -0.130175, -0.047694, -0.047772, -0.08248, 0.137427, 0.03061]
    ]
   },
   "quarters": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016Q1", "2016-01-04", "2016-03-31", 60, 0.086586, 0.037859, 0.113578, 0.093457, -0.026992, -0.02844, -0.022136, -0.02207, -0.006303, 0.176928, 0.0],
     ["2016Q2", "2016-03-31", "2016-06-30", 64, 0.043433, 0.019695, 0.059084, 0.046753, -0.015651, -0.015994, -0.012817, -0.012559, -0.003177, 0.129289, 0.000219],
     ["2016Q3", "2016-06-30", "2016-09-30", 64, 0.073563, 0.027488, 0.082463, 0.077597, -0.0089, -0.010367, -0.006617, -0.006574, -0.00375, 0.09336, 0.000656],
     ["2016Q4", "2016-09-30", "2016-12-30", 63, 0.269807, 0.08709, 0.261271, 0.278335, 0.008536, -0.011649, -0.004956, -0.005081, -0.006693, 0.080157, 1e-06],
     ["2017Q1", "2016-12-30", "2017-03-31", 62, 0.146461, 0.050621, 0.151864, 0.155807, -0.005403, -0.011466, -0.003347, -0.003379, -0.008119, 0.066985, 0.00077],
     ["2017Q2", "2017-03-31", "2017-06-30", 63, 0.119205, 0.039299, 0.117896, 0.118504, 0.00131, -0.003019, -0.003646, -0.003641, 0.000627, 0.069527, 0.001927],
     ["2017Q3", "2017-06-30", "2017-09-29", 63, 0.147929, 0.055497, 0.166491, 0.172557, -0.018562, -0.024076, -0.002848, -0.002844, -0.021227, 0.060509, 0.002191],
     ["2017Q4", "2017-09-29", "2017-12-29", 63, 0.351832, 0.111316, 0.333949, 0.368044, 0.017883, -0.015175, -0.003254, -0.00331, -0.011921, 0.061303, 0.001973],
     ["2018Q1", "2017-12-29", "2018-03-29", 61, -0.099463, -0.019352, -0.058057, -0.089328, -0.041406, -0.046138, -0.034946, -0.033449, -0.011192, 0.21637, 0.003449],
     ["2018Q2", "2018-03-29", "2018-06-29", 64, 0.001301, 0.010407, 0.031221, 0.016439, -0.02992, -0.029759, -0.014754, -0.014629, -0.015005, 0.139624, 0.00403],
     ["2018Q3", "2018-06-29", "2018-09-28", 63, 0.288083, 0.095182, 0.285545, 0.306741, 0.002538, -0.019606, -0.005224, -0.005307, -0.014382, 0.081529, 0.00438],
     ["2018Q4", "2018-09-28", "2018-12-31", 63, -0.344855, -0.112946, -0.338838, -0.331081, -0.006017, -0.063351, -0.042544, -0.042304, -0.020806, 0.237686, 0.005404],
     ["2019Q1", "2018-12-31", "2019-03-29", 61, 0.355439, 0.117325, 0.351976, 0.375337, 0.003463, -0.028688, -0.014115, -0.014283, -0.014573, 0.138246, 0.005357],
     ["2019Q2", "2019-03-29", "2019-06-28", 63, 0.067835, 0.031563, 0.09469, 0.08624, -0.026854, -0.027593, -0.010504, -0.010425, -0.017089, 0.118555, 0.005873],
     ["2019Q3", "2019-06-28", "2019-09-30", 64, 0.023754, 0.018437, 0.055312, 0.039245, -0.031558, -0.031332, -0.016313, -0.015848, -0.015019, 0.14527, 0.005126],
     ["2019Q4", "2019-09-30", "2019-12-31", 64, 0.182883, 0.065002, 0.195006, 0.199542, -0.012123, -0.020975, -0.00699, -0.00697, -0.013985, 0.095056, 0.003813],
     ["2020Q1", "2019-12-31", "2020-03-31", 62, -0.662528, -0.226125, -0.678374, -0.656038, 0.015846, -0.31724, -0.298191, -0.269597, -0.019049, 0.606869, 0.004435],
     ["2020Q2", "2020-03-31", "2020-06-30", 63, 0.503349, 0.182611, 0.547832, 0.51374, -0.044483, -0.095478, -0.08859, -0.08873, -0.006888, 0.343608, -0.000371],
     ["2020Q3", "2020-06-30", "2020-09-30", 64, 0.238065, 0.081906, 0.245718, 0.240957, -0.007653, -0.022623, -0.02029, -0.020169, -0.002333, 0.162699, -0.000109],
     ["2020Q4", "2020-09-30", "2020-12-31", 64, 0.318715, 0.107006, 0.321018, 0.32809, -0.002302, -0.028319, -0.021235, -0.021318, -0.007084, 0.16653, 3.6e-05],
     ["2021Q1", "2020-12-31", "2021-03-31", 61, 0.252537, 0.084501, 0.253502, 0.258375, -0.000965, -0.018188, -0.013538, -0.013566, -0.00465, 0.136066, -0.000219],
     ["2021Q2", "2021-03-31", "2021-06-30", 63, 0.13926, 0.048773, 0.14632, 0.14353, -0.007059, -0.012484, -0.008743, -0.008728, -0.003741, 0.108027, -0.000328],
     ["2021Q3", "2021-06-30", "2021-09-30", 64, -0.05884, -0.014923, -0.044768, -0.053826, -0.014071, -0.015536, -0.010223, -0.010103, -0.005313, 0.116017, -0.000109],
     ["2021Q4", "2021-09-30", "2021-12-31", 64, 0.231966, 0.078477, 0.23543, 0.237791, -0.003464, -0.018037, -0.01332, -0.013311, -0.004717, 0.131798, -0.000328],
     ["2022Q1", "2021-12-31", "2022-03-31", 62, -0.140803, -0.041087, -0.12326, -0.136732, -0.017543, -0.025893, -0.021166, -0.021132, -0.004727, 0.170299, 0.000241],
     ["2022Q2", "2022-03-31", "2022-06-30", 62, -0.323521, -0.107972, -0.323915, -0.31787, 0.000393, -0.048083, -0.039762, -0.038664, -0.00832, 0.229061, 0.000999],
     ["2022Q3", "2022-06-30", "2022-09-30", 64, -0.210225, -0.061961, -0.185884, -0.19556, -0.024341, -0.044115, -0.025717, -0.025043, -0.018398, 0.18212, 0.004371],
     ["2022Q4", "2022-09-30", "2022-12-30", 63, 0.472896, 0.158896, 0.476688, 0.509651, -0.003792, -0.055173, -0.030525, -0.031539, -0.024648, 0.203043, 0.008382],
     ["2023Q1", "2022-12-30", "2023-03-31", 62, -0.016193, 0.009088, 0.027265, 0.011936, -0.043457, -0.043467, -0.015276, -0.015155, -0.028191, 0.14443, 0.010329],
     ["2023Q2", "2023-03-31", "2023-06-30", 62, 0.078008, 0.038917, 0.116752, 0.111597, -0.038744, -0.039423, -0.00874, -0.008896, -0.030683, 0.110206, 0.012032],
     ["2023Q3", "2023-06-30", "2023-09-29", 63, -0.096487, -0.021098, -0.063293, -0.067638, -0.033194, -0.037494, -0.006064, -0.006035, -0.03143, 0.090274, 0.012861],
     ["2023Q4", "2023-09-29", "2023-12-29", 63, 0.385482, 0.130589, 0.391766, 0.432688, -0.006284, -0.042167, -0.008663, -0.008789, -0.033504, 0.104462, 0.013327],
     ["2024Q1", "2023-12-29", "2024-03-28", 61, 0.147306, 0.060247, 0.18074, 0.185184, -0.033434, -0.038088, -0.005607, -0.005635, -0.032481, 0.087439, 0.012869],
     ["2024Q2", "2024-03-28", "2024-06-28", 63, -0.073604, -0.012496, -0.037487, -0.044529, -0.036117, -0.038731, -0.007828, -0.00777, -0.030903, 0.10256, 0.012933],
     ["2024Q3", "2024-06-28", "2024-09-30", 64, 0.226393, 0.086394, 0.259181, 0.265995, -0.032788, -0.044514, -0.012733, -0.012685, -0.031781, 0.128306, 0.013409],
     ["2024Q4", "2024-09-30", "2024-12-31", 64, -0.014317, 0.009459, 0.028377, 0.016015, -0.042694, -0.042664, -0.012356, -0.01256, -0.030309, 0.129377, 0.011719],
     ["2025Q1", "2024-12-31", "2025-03-31", 60, -0.068034, -0.009455, -0.028364, -0.041608, -0.03967, -0.04196, -0.013999, -0.013881, -0.027961, 0.140569, 0.010041],
     ["2025Q2", "2025-03-31", "2025-06-30", 62, 0.080482, 0.053774, 0.161322, 0.112434, -0.080841, -0.079727, -0.050584, -0.051852, -0.029143, 0.266751, 0.010419],
     ["2025Q3", "2025-06-30", "2025-09-30", 64, 0.138735, 0.056449, 0.169348, 0.170487, -0.030613, -0.034823, -0.007321, -0.007421, -0.027502, 0.098475, 0.010618],
     ["2025Q4", "2025-09-30", "2025-12-31", 64, 0.085321, 0.040183, 0.120549, 0.114572, -0.035228, -0.036314, -0.009719, -0.009711, -0.026595, 0.113324, 0.009773],
     ["2026Q1", "2025-12-31", "2026-03-31", 61, -0.131029, -0.032521, -0.097562, -0.10847, -0.033468, -0.041263, -0.015633, -0.015633, -0.02563, 0.147725, 0.008527],
     ["2026Q2", "2026-03-31", "2026-06-30", 62, 0.401042, 0.132076, 0.396229, 0.432755, 0.004813, -0.034944, -0.012561, -0.012849, -0.022383, 0.128966, 0.008787],
     ["2026Q3", "2026-06-30", "2026-09-30", 64, -0.09971, -0.023163, -0.06949, -0.077399, -0.03022, -0.034731, -0.01025, -0.010204, -0.02448, 0.116516, 0.009002],
     ["2026Q4", "2026-09-30", "2026-11-05", 26, 0.015089, 0.01147, 0.034409, 0.025278, -0.019321, -0.019237, -0.00925, -0.009085, -0.009987, 0.174534, 0.003958]
    ]
   },
   "cost_vs_bil": {
    "years": ["2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025"],
    "slope": -2.045,
    "intercept": -0.02475,
    "theory_slope": -2
   }
  },
  "CURE": {
   "calibration": {
    "correlation": 0.9982,
    "slope": 2.984,
    "days_off_by_2pct": 2,
    "days": 2726
   },
   "whole_period": {
    "start": "2016-01-04",
    "end": "2026-11-05",
    "years": 10.817,
    "leverage": 3,
    "underlying_ticker": "XLV",
    "fund": 4.7162255533608635,
    "underlying": 2.126193008306004,
    "k_x_underlying": 6.378579024918013,
    "ideal": 11.247142721655628,
    "simple_gap": -1.6623534715571493,
    "gap": -1.6761391996911446,
    "volatility": -0.9141552564078022,
    "volatility_approx": -0.9049993252192765,
    "costs": -0.7619839432833424,
    "underlying_vol": 0.16685534001500224,
    "gap_per_year": -0.1549475709178901,
    "volatility_per_year": -0.08450738247056717,
    "volatility_approx_per_year": -0.08366097944066679,
    "costs_per_year": -0.07044018844732292,
    "fund_cagr": 0.174869329212064,
    "underlying_cagr": 0.11111961343071974
   },
   "years": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016", "2016-01-04", "2016-12-30", 251, -0.124206, -0.009751, -0.029252, -0.093457, -0.094954, -0.103229, -0.068722, -0.068644, -0.034507, 0.15187, 0.000876],
     ["2017", "2016-12-30", "2017-12-29", 251, 0.693241, 0.217691, 0.653073, 0.764435, 0.040168, -0.064225, -0.023039, -0.023191, -0.041186, 0.08735, 0.006879],
     ["2018", "2017-12-29", "2018-12-31", 251, 0.028074, 0.062838, 0.188514, 0.094129, -0.16044, -0.155141, -0.09287, -0.091266, -0.062271, 0.175049, 0.017375],
     ["2019", "2018-12-31", "2019-12-31", 252, 0.55672, 0.204447, 0.613342, 0.655419, -0.056622, -0.115481, -0.054008, -0.053648, -0.061473, 0.133426, 0.020321],
     ["2020", "2019-12-31", "2020-12-31", 253, 0.04934, 0.133407, 0.40022, 0.094622, -0.350881, -0.327523, -0.285275, -0.278576, -0.042248, 0.304536, 0.003988],
     ["2021", "2020-12-31", "2021-12-31", 252, 0.882962, 0.260356, 0.781067, 0.91956, 0.101895, -0.061336, -0.042086, -0.042094, -0.01925, 0.117731, -0.000983],
     ["2022", "2021-12-31", "2022-12-30", 251, -0.20505, -0.020858, -0.062575, -0.157513, -0.142475, -0.166239, -0.10816, -0.107477, -0.058079, 0.190032, 0.014046],
     ["2023", "2022-12-30", "2023-12-29", 250, -0.094306, 0.020619, 0.061856, 0.022001, -0.156161, -0.16028, -0.039465, -0.0394, -0.120815, 0.115276, 0.049437],
     ["2024", "2023-12-29", "2024-12-31", 252, -0.084749, 0.024679, 0.074036, 0.037779, -0.158784, -0.161693, -0.036054, -0.035792, -0.125639, 0.109429, 0.05191],
     ["2025", "2024-12-31", "2025-12-31", 250, 0.225471, 0.144963, 0.434889, 0.372064, -0.209418, -0.202791, -0.0898, -0.088709, -0.112991, 0.172727, 0.041481],
     ["2026", "2025-12-31", "2026-11-05", 213, 0.509492, 0.209239, 0.627716, 0.640987, -0.118225, -0.1582, -0.074675, -0.076203, -0.083525, 0.173102, 0.03061]
    ]
   },
   "quarters": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016Q1", "2016-01-04", "2016-03-31", 60, -0.137865, -0.03831, -0.11493, -0.133876, -0.022935, -0.031154, -0.026537, -0.026333, -0.004617, 0.193403, 0.0],
     ["2016Q2", "2016-03-31", "2016-06-30", 64, 0.166175, 0.062286, 0.186857, 0.177564, -0.020681, -0.027539, -0.01782, -0.017872, -0.009718, 0.15355, 0.000219],
     ["2016Q3", "2016-06-30", "2016-09-30", 64, 0.007583, 0.009469, 0.028406, 0.019751, -0.020823, -0.020718, -0.008714, -0.008615, -0.012004, 0.107139, 0.000656],
     ["2016Q4", "2016-09-30", "2016-12-30", 63, -0.135466, -0.03977, -0.11931, -0.128376, -0.016156, -0.023817, -0.01565, -0.015826, -0.008167, 0.14611, 1e-06],
     ["2017Q1", "2016-12-30", "2017-03-31", 62, 0.250272, 0.082549, 0.247647, 0.260668, 0.002625, -0.014594, -0.006313, -0.006396, -0.008281, 0.091523, 0.00077],
     ["2017Q2", "2017-03-31", "2017-06-30", 63, 0.210038, 0.069849, 0.209547, 0.218254, 0.000491, -0.011901, -0.005134, -0.005157, -0.006767, 0.081761, 0.001927],
     ["2017Q3", "2017-06-30", "2017-09-29", 63, 0.090626, 0.03523, 0.105689, 0.102774, -0.015063, -0.017118, -0.00604, -0.006063, -0.011078, 0.090178, 0.002191],
     ["2017Q4", "2017-09-29", "2017-12-29", 63, 0.026218, 0.015618, 0.046855, 0.04179, -0.020637, -0.020612, -0.005552, -0.005576, -0.01506, 0.086814, 0.001973],
     ["2018Q1", "2017-12-29", "2018-03-29", 61, -0.07618, -0.012026, -0.036079, -0.065075, -0.040101, -0.042941, -0.030992, -0.029655, -0.011949, 0.203748, 0.003449],
     ["2018Q2", "2018-03-29", "2018-06-29", 64, 0.056349, 0.029098, 0.087295, 0.073552, -0.030946, -0.031231, -0.015077, -0.014954, -0.016154, 0.140989, 0.00403],
     ["2018Q3", "2018-06-29", "2018-09-28", 63, 0.470333, 0.144506, 0.433519, 0.490883, 0.036814, -0.019431, -0.005552, -0.005654, -0.01388, 0.080431, 0.00438],
     ["2018Q4", "2018-09-28", "2018-12-31", 63, -0.283504, -0.08663, -0.259891, -0.268818, -0.023613, -0.061538, -0.04125, -0.041003, -0.020289, 0.234733, 0.005404],
     ["2019Q1", "2018-12-31", "2019-03-29", 61, 0.169896, 0.064501, 0.193504, 0.186931, -0.023608, -0.030604, -0.016148, -0.016315, -0.014456, 0.150159, 0.005357],
     ["2019Q2", "2019-03-29", "2019-06-28", 63, 0.009354, 0.013992, 0.041975, 0.028259, -0.032621, -0.032373, -0.013817, -0.013485, -0.018556, 0.135102, 0.005873],
     ["2019Q3", "2019-06-28", "2019-09-30", 64, -0.094821, -0.023081, -0.069243, -0.080609, -0.025578, -0.029568, -0.01399, -0.013647, -0.015579, 0.134789, 0.005126],
     ["2019Q4", "2019-09-30", "2019-12-31", 64, 0.456415, 0.142217, 0.426651, 0.475298, 0.029764, -0.022935, -0.010053, -0.010202, -0.012882, 0.111665, 0.003813],
     ["2020Q1", "2019-12-31", "2020-03-31", 62, -0.457373, -0.125923, -0.37777, -0.446749, -0.079603, -0.207571, -0.188181, -0.1811, -0.01939, 0.498657, 0.004435],
     ["2020Q2", "2020-03-31", "2020-06-30", 63, 0.363765, 0.134515, 0.403546, 0.377826, -0.03978, -0.068367, -0.058109, -0.057948, -0.010258, 0.278063, -0.000371],
     ["2020Q3", "2020-06-30", "2020-09-30", 64, 0.160516, 0.058336, 0.175008, 0.165212, -0.014492, -0.021229, -0.01719, -0.017229, -0.004039, 0.150833, -0.000109],
     ["2020Q4", "2020-09-30", "2020-12-31", 64, 0.221867, 0.079947, 0.239841, 0.232373, -0.017974, -0.030356, -0.021794, -0.022299, -0.008562, 0.171249, 3.6e-05],
     ["2021Q1", "2020-12-31", "2021-03-31", 61, 0.084524, 0.032631, 0.097894, 0.08643, -0.01337, -0.01519, -0.013433, -0.013304, -0.001757, 0.136178, -0.000219],
     ["2021Q2", "2021-03-31", "2021-06-30", 63, 0.252125, 0.083052, 0.249156, 0.260234, 0.002969, -0.014507, -0.008052, -0.008141, -0.006455, 0.102981, -0.000328],
     ["2021Q3", "2021-06-30", "2021-09-30", 64, 0.027154, 0.014314, 0.042942, 0.033442, -0.015788, -0.015846, -0.009743, -0.009695, -0.006103, 0.113629, -0.000109],
     ["2021Q4", "2021-09-30", "2021-12-31", 64, 0.349956, 0.111031, 0.333093, 0.356633, 0.016863, -0.015793, -0.010859, -0.010953, -0.004934, 0.117844, -0.000328],
     ["2022Q1", "2021-12-31", "2022-03-31", 62, -0.099899, -0.024643, -0.07393, -0.091764, -0.025969, -0.030393, -0.021395, -0.021537, -0.008997, 0.172126, 0.000241],
     ["2022Q2", "2022-03-31", "2022-06-30", 62, -0.209448, -0.060023, -0.18007, -0.201229, -0.029379, -0.049324, -0.03898, -0.038025, -0.010344, 0.228378, 0.000999],
     ["2022Q3", "2022-06-30", "2022-09-30", 64, -0.179049, -0.051815, -0.155446, -0.167965, -0.023603, -0.037673, -0.024262, -0.023915, -0.013411, 0.178143, 0.004371],
     ["2022Q4", "2022-09-30", "2022-12-30", 63, 0.360821, 0.126347, 0.37904, 0.395727, -0.018219, -0.04885, -0.023523, -0.024, -0.025327, 0.177599, 0.008382],
     ["2023Q1", "2022-12-30", "2023-03-31", 62, -0.159069, -0.043366, -0.130097, -0.135406, -0.028972, -0.040243, -0.012493, -0.012386, -0.02775, 0.13014, 0.010329],
     ["2023Q2", "2023-03-31", "2023-06-30", 62, 0.047495, 0.029487, 0.088462, 0.081428, -0.040967, -0.040781, -0.008901, -0.008962, -0.031881, 0.11081, 0.012032],
     ["2023Q3", "2023-06-30", "2023-09-29", 63, -0.11055, -0.02608, -0.07824, -0.08327, -0.03231, -0.037873, -0.007664, -0.007684, -0.03021, 0.101835, 0.012861],
     ["2023Q4", "2023-09-29", "2023-12-29", 63, 0.155973, 0.064077, 0.192232, 0.19234, -0.036259, -0.041382, -0.010407, -0.010368, -0.030975, 0.117406, 0.013327],
     ["2024Q1", "2023-12-29", "2024-03-28", 61, 0.236664, 0.087135, 0.261404, 0.277048, -0.024741, -0.03822, -0.006085, -0.006196, -0.032134, 0.090454, 0.012869],
     ["2024Q2", "2024-03-28", "2024-06-28", 63, -0.066739, -0.009563, -0.028688, -0.035647, -0.038051, -0.040244, -0.007472, -0.007426, -0.032772, 0.100283, 0.012933],
     ["2024Q3", "2024-06-28", "2024-09-30", 64, 0.142982, 0.060692, 0.182075, 0.179748, -0.039093, -0.043123, -0.011463, -0.011316, -0.03166, 0.121888, 0.013409],
     ["2024Q4", "2024-09-30", "2024-12-31", 64, -0.306181, -0.102802, -0.308407, -0.285714, 0.002227, -0.040106, -0.011034, -0.010854, -0.029072, 0.117308, 0.011719],
     ["2025Q1", "2024-12-31", "2025-03-31", 60, 0.158956, 0.065422, 0.196267, 0.19583, -0.037312, -0.042595, -0.011274, -0.011445, -0.031321, 0.126457, 0.010041],
     ["2025Q2", "2025-03-31", "2025-06-30", 62, -0.25774, -0.072441, -0.217322, -0.23694, -0.040417, -0.072459, -0.044823, -0.043077, -0.027637, 0.242922, 0.010419],
     ["2025Q3", "2025-06-30", "2025-09-30", 64, 0.06374, 0.037217, 0.111651, 0.094833, -0.047911, -0.047832, -0.019022, -0.019041, -0.02881, 0.159026, 0.010618],
     ["2025Q4", "2025-09-30", "2025-12-31", 64, 0.339196, 0.117013, 0.351039, 0.373405, -0.011843, -0.039905, -0.014681, -0.015146, -0.025224, 0.139265, 0.009773],
     ["2026Q1", "2025-12-31", "2026-03-31", 61, -0.17657, -0.049017, -0.14705, -0.154019, -0.02952, -0.043501, -0.016483, -0.016495, -0.027018, 0.151453, 0.008527],
     ["2026Q2", "2026-03-31", "2026-06-30", 62, 0.231337, 0.086924, 0.260771, 0.257888, -0.029434, -0.041953, -0.02062, -0.021233, -0.021334, 0.169519, 0.008787],
     ["2026Q3", "2026-06-30", "2026-09-30", 64, 0.157146, 0.065549, 0.196647, 0.182016, -0.0395, -0.044513, -0.023248, -0.023682, -0.021265, 0.176897, 0.009002],
     ["2026Q4", "2026-09-30", "2026-11-05", 26, 0.286586, 0.09791, 0.29373, 0.304605, -0.007144, -0.028233, -0.014325, -0.014791, -0.013908, 0.214794, 0.003958]
    ]
   },
   "cost_vs_bil": {
    "years": ["2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025"],
    "slope": -1.973,
    "intercept": -0.02756,
    "theory_slope": -2
   }
  },
  "LABU": {
   "calibration": {
    "correlation": 0.9983,
    "slope": 2.979,
    "days_off_by_2pct": 7,
    "days": 2718
   },
   "whole_period": {
    "start": "2016-01-04",
    "end": "2026-11-05",
    "years": 10.817,
    "leverage": 3,
    "underlying_ticker": "XBI",
    "fund": -0.859123395067401,
    "underlying": 1.2237473382397446,
    "k_x_underlying": 3.6712420147192337,
    "ideal": -0.6659221210314457,
    "simple_gap": -4.530365409786635,
    "gap": -4.357452203170546,
    "volatility": -3.4939624317049125,
    "volatility_approx": -3.4468854557266044,
    "costs": -0.8634897714656327,
    "underlying_vol": 0.3258658417755453,
    "gap_per_year": -0.4028165646364554,
    "volatility_per_year": -0.322992858690256,
    "volatility_approx_per_year": -0.3186409152028996,
    "costs_per_year": -0.07982370594619935,
    "fund_cagr": -0.16571200755760884,
    "underlying_cagr": 0.07667757600581893
   },
   "years": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016", "2016-01-04", "2016-12-30", 251, -0.58846, -0.124932, -0.374795, -0.57617, -0.213664, -0.487487, -0.458062, -0.453476, -0.029426, 0.390326, 0.000876],
     ["2017", "2016-12-30", "2017-12-29", 251, 1.490973, 0.437714, 1.313143, 1.561136, 0.17783, -0.17649, -0.148713, -0.150696, -0.027777, 0.223672, 0.006879],
     ["2018", "2017-12-29", "2018-12-31", 251, -0.57605, -0.152751, -0.458252, -0.544127, -0.117798, -0.360858, -0.28826, -0.284394, -0.072598, 0.309031, 0.017375],
     ["2019", "2018-12-31", "2019-12-31", 252, 0.755073, 0.325638, 0.976913, 0.893444, -0.221841, -0.283171, -0.207283, -0.209029, -0.075887, 0.263732, 0.020321],
     ["2020", "2019-12-31", "2020-12-31", 253, 0.746609, 0.483318, 1.449955, 0.916097, -0.703347, -0.625169, -0.532555, -0.505607, -0.092614, 0.409424, 0.003988],
     ["2021", "2020-12-31", "2021-12-31", 252, -0.641541, -0.2045, -0.613501, -0.629321, -0.02804, -0.339587, -0.306064, -0.304557, -0.033523, 0.319057, -0.000983],
     ["2022", "2021-12-31", "2022-12-30", 251, -0.803611, -0.258664, -0.775991, -0.787421, -0.02762, -0.729755, -0.650537, -0.638454, -0.079219, 0.463003, 0.014046],
     ["2023", "2022-12-30", "2023-12-29", 250, -0.134149, 0.075992, 0.227977, -0.01808, -0.362126, -0.363772, -0.237975, -0.239086, -0.125797, 0.283908, 0.049437],
     ["2024", "2023-12-29", "2024-12-31", 252, -0.260233, 0.010043, 0.03013, -0.152806, -0.290362, -0.331399, -0.195804, -0.193957, -0.135594, 0.25476, 0.05191],
     ["2025", "2024-12-31", "2025-12-31", 250, 0.791688, 0.35882, 1.076459, 1.003664, -0.284771, -0.336691, -0.224872, -0.22341, -0.111819, 0.273658, 0.041481],
     ["2026", "2025-12-31", "2026-11-05", 213, 0.308865, 0.218244, 0.654732, 0.416792, -0.345867, -0.323071, -0.243836, -0.244222, -0.079235, 0.310566, 0.03061]
    ]
   },
   "quarters": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016Q1", "2016-01-04", "2016-03-31", 60, -0.63959, -0.2375, -0.712501, -0.633717, 0.072911, -0.207053, -0.190888, -0.179547, -0.016165, 0.501495, 0.0],
     ["2016Q2", "2016-03-31", "2016-06-30", 64, 0.029176, 0.047747, 0.143241, 0.034257, -0.114065, -0.111168, -0.106243, -0.107521, -0.004925, 0.378288, 0.000219],
     ["2016Q3", "2016-06-30", "2016-09-30", 64, 0.728207, 0.226364, 0.679092, 0.73411, 0.049115, -0.065076, -0.061667, -0.061669, -0.00341, 0.2817, 0.000656],
     ["2016Q4", "2016-09-30", "2016-12-30", 63, -0.358007, -0.106846, -0.320537, -0.354836, -0.03747, -0.10419, -0.099264, -0.104739, -0.004926, 0.375914, 1e-06],
     ["2017Q1", "2016-12-30", "2017-03-31", 62, 0.524114, 0.171812, 0.515435, 0.529743, 0.008679, -0.05424, -0.050553, -0.051492, -0.003687, 0.262767, 0.00077],
     ["2017Q2", "2017-03-31", "2017-06-30", 63, 0.321249, 0.114776, 0.344328, 0.329401, -0.023079, -0.047383, -0.041232, -0.041906, -0.006151, 0.23646, 0.001927],
     ["2017Q3", "2017-06-30", "2017-09-29", 63, 0.355591, 0.12216, 0.366479, 0.369351, -0.010888, -0.041528, -0.031428, -0.031495, -0.0101, 0.20429, 0.002191],
     ["2017Q4", "2017-09-29", "2017-12-29", 63, -0.087488, -0.019218, -0.057654, -0.080306, -0.029835, -0.03334, -0.025499, -0.025803, -0.00784, 0.186934, 0.001973],
     ["2018Q1", "2017-12-29", "2018-03-29", 61, 0.020039, 0.03435, 0.103051, 0.033941, -0.083013, -0.08148, -0.067943, -0.067063, -0.013538, 0.306185, 0.003449],
     ["2018Q2", "2018-03-29", "2018-06-29", 64, 0.195782, 0.085681, 0.257044, 0.21756, -0.061262, -0.067823, -0.049774, -0.049563, -0.018049, 0.25607, 0.00403],
     ["2018Q3", "2018-06-29", "2018-09-28", 63, -0.018829, 0.007913, 0.023739, 0.001072, -0.042569, -0.042655, -0.022575, -0.022443, -0.02008, 0.174351, 0.00438],
     ["2018Q4", "2018-09-28", "2018-12-31", 63, -0.645756, -0.251455, -0.754364, -0.638263, 0.108607, -0.1689, -0.147969, -0.145325, -0.020932, 0.438576, 0.005404],
     ["2019Q1", "2018-12-31", "2019-03-29", 61, 0.825501, 0.261882, 0.785645, 0.865692, 0.039856, -0.095957, -0.074179, -0.076332, -0.021778, 0.320507, 0.005357],
     ["2019Q2", "2019-03-29", "2019-06-28", 63, -0.161134, -0.031257, -0.093771, -0.142969, -0.067363, -0.080436, -0.059014, -0.058333, -0.021422, 0.281071, 0.005873],
     ["2019Q3", "2019-06-28", "2019-09-30", 64, -0.384151, -0.130624, -0.391873, -0.370998, 0.007722, -0.064814, -0.04368, -0.042896, -0.021134, 0.236838, 0.005126],
     ["2019Q4", "2019-09-30", "2019-12-31", 64, 0.861, 0.247355, 0.742066, 0.882626, 0.118934, -0.041963, -0.030409, -0.031467, -0.011553, 0.19687, 0.003813],
     ["2020Q1", "2019-12-31", "2020-03-31", 62, -0.608, -0.185785, -0.557355, -0.584418, -0.050645, -0.319901, -0.261483, -0.225652, -0.058419, 0.555769, 0.004435],
     ["2020Q2", "2020-03-31", "2020-06-30", 63, 1.636202, 0.445852, 1.337555, 1.647978, 0.298648, -0.136756, -0.132299, -0.136815, -0.004457, 0.418909, -0.000371],
     ["2020Q3", "2020-06-30", "2020-09-30", 64, -0.098788, -0.003854, -0.011563, -0.0827, -0.087226, -0.09243, -0.074735, -0.076178, -0.017695, 0.318695, -0.000109],
     ["2020Q4", "2020-09-30", "2020-12-31", 64, 0.875444, 0.264878, 0.794634, 0.898167, 0.08081, -0.076082, -0.064038, -0.066962, -0.012044, 0.292404, 3.6e-05],
     ["2021Q1", "2020-12-31", "2021-03-31", 61, -0.214179, -0.036178, -0.108534, -0.20938, -0.105645, -0.130481, -0.124392, -0.121817, -0.006089, 0.412947, -0.000219],
     ["2021Q2", "2021-03-31", "2021-06-30", 63, -0.066776, -0.001843, -0.005529, -0.058775, -0.061248, -0.063577, -0.055039, -0.055452, -0.008538, 0.274089, -0.000328],
     ["2021Q3", "2021-06-30", "2021-09-30", 64, -0.249151, -0.071566, -0.214697, -0.243184, -0.034454, -0.063784, -0.055868, -0.056372, -0.007916, 0.273677, -0.000109],
     ["2021Q4", "2021-09-30", "2021-12-31", 64, -0.349005, -0.109379, -0.328136, -0.341818, -0.020869, -0.081746, -0.070766, -0.070916, -0.01098, 0.306396, -0.000328],
     ["2022Q1", "2021-12-31", "2022-03-31", 62, -0.564722, -0.197213, -0.59164, -0.56021, 0.026918, -0.172772, -0.162458, -0.159811, -0.010314, 0.466461, 0.000241],
     ["2022Q2", "2022-03-31", "2022-06-30", 62, -0.569879, -0.173676, -0.521028, -0.559091, -0.048851, -0.271383, -0.246611, -0.233832, -0.024772, 0.566102, 0.000999],
     ["2022Q3", "2022-06-30", "2022-09-30", 64, 0.040059, 0.067995, 0.203985, 0.057467, -0.163926, -0.158072, -0.141474, -0.142413, -0.016598, 0.435183, 0.004371],
     ["2022Q4", "2022-09-30", "2022-12-30", 63, 0.008559, 0.046394, 0.139183, 0.036715, -0.130624, -0.127528, -0.099994, -0.102398, -0.027534, 0.372132, 0.008382],
     ["2023Q1", "2022-12-30", "2023-03-31", 62, -0.305516, -0.081807, -0.245422, -0.274574, -0.060095, -0.108543, -0.064953, -0.063336, -0.04359, 0.294694, 0.010329],
     ["2023Q2", "2023-03-31", "2023-06-30", 62, 0.207287, 0.091753, 0.275259, 0.232788, -0.067972, -0.074978, -0.054075, -0.055647, -0.020903, 0.275684, 0.012032],
     ["2023Q3", "2023-06-30", "2023-09-29", 63, -0.356118, -0.122356, -0.367067, -0.342471, 0.010949, -0.048698, -0.027725, -0.027428, -0.020973, 0.190098, 0.012861],
     ["2023Q4", "2023-09-29", "2023-12-29", 63, 0.603852, 0.223017, 0.66905, 0.669859, -0.065198, -0.131554, -0.091223, -0.092675, -0.040331, 0.350043, 0.013327],
     ["2024Q1", "2023-12-29", "2024-03-28", 61, 0.089492, 0.062717, 0.188151, 0.124565, -0.098659, -0.096775, -0.065091, -0.066363, -0.031684, 0.304224, 0.012869],
     ["2024Q2", "2024-03-28", "2024-06-28", 63, -0.144156, -0.021778, -0.065333, -0.106307, -0.078823, -0.089612, -0.046339, -0.046088, -0.043274, 0.249857, 0.012933],
     ["2024Q3", "2024-06-28", "2024-09-30", 64, 0.134873, 0.065852, 0.197557, 0.167624, -0.062684, -0.064804, -0.036353, -0.036285, -0.02845, 0.219261, 0.013409],
     ["2024Q4", "2024-09-30", "2024-12-31", 64, -0.300917, -0.088435, -0.265305, -0.278049, -0.035612, -0.080208, -0.048022, -0.045221, -0.032187, 0.244628, 0.011719],
     ["2025Q1", "2024-12-31", "2025-03-31", 60, -0.321601, -0.099436, -0.298308, -0.301235, -0.023293, -0.073817, -0.044238, -0.042998, -0.029579, 0.246049, 0.010041],
     ["2025Q2", "2025-03-31", "2025-06-30", 62, -0.063118, 0.022655, 0.067966, -0.034175, -0.131084, -0.132405, -0.101981, -0.099565, -0.030425, 0.37014, 0.010419],
     ["2025Q3", "2025-06-30", "2025-09-30", 64, 0.646867, 0.208579, 0.625737, 0.697302, 0.02113, -0.069461, -0.039295, -0.04041, -0.030166, 0.226881, 0.010618],
     ["2025Q4", "2025-09-30", "2025-12-31", 64, 0.711724, 0.220795, 0.662386, 0.749186, 0.049337, -0.061007, -0.039358, -0.040437, -0.02165, 0.226405, 0.009773],
     ["2026Q1", "2025-12-31", "2026-03-31", 61, 0.042035, 0.047568, 0.142705, 0.071857, -0.10067, -0.098239, -0.070022, -0.072941, -0.028217, 0.319188, 0.008527],
     ["2026Q2", "2026-03-31", "2026-06-22", 56, 0.384852, 0.143021, 0.429063, 0.408792, -0.044212, -0.075432, -0.058292, -0.058491, -0.01714, 0.296056, 0.008016],
     ["2026Q3", "2026-06-22", "2026-09-30", 70, 0.155558, 0.081037, 0.24311, 0.181896, -0.087551, -0.089177, -0.066641, -0.066938, -0.022536, 0.284738, 0.009773],
     ["2026Q4", "2026-09-30", "2026-11-05", 26, -0.215095, -0.058853, -0.17656, -0.206142, -0.038535, -0.060223, -0.048882, -0.045852, -0.011341, 0.391125, 0.003958]
    ]
   },
   "cost_vs_bil": {
    "years": ["2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025"],
    "slope": -1.67,
    "intercept": -0.04664,
    "theory_slope": -2
   }
  },
  "YINN": {
   "calibration": {
    "correlation": 0.9979,
    "slope": 2.951,
    "days_off_by_2pct": 4,
    "days": 2726
   },
   "whole_period": {
    "start": "2016-01-04",
    "end": "2026-11-05",
    "years": 10.817,
    "leverage": 3,
    "underlying_ticker": "FXI",
    "fund": -0.9041063190767525,
    "underlying": 0.3192827871396058,
    "k_x_underlying": 0.9578483614188174,
    "ideal": -0.7912104993673611,
    "simple_gap": -1.86195468049557,
    "gap": -3.1757799291914326,
    "volatility": -2.397693446138045,
    "volatility_approx": -2.4271132922013106,
    "costs": -0.7780864830533873,
    "underlying_vol": 0.27349918293117775,
    "gap_per_year": -0.2935790690228323,
    "volatility_per_year": -0.22165031123506504,
    "volatility_approx_per_year": -0.2243699741873552,
    "costs_per_year": -0.07192875778776728,
    "fund_cagr": -0.19485616974607534,
    "underlying_cagr": 0.02594578840506867
   },
   "years": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016", "2016-01-04", "2016-12-30", 251, -0.064335, 0.044516, 0.133549, -0.035335, -0.197884, -0.197159, -0.166636, -0.164911, -0.030523, 0.23535, 0.000876],
     ["2017", "2016-12-30", "2017-12-29", 251, 1.298098, 0.362161, 1.086483, 1.372483, 0.211615, -0.095135, -0.06328, -0.06369, -0.031855, 0.144878, 0.006879],
     ["2018", "2017-12-29", "2018-12-31", 251, -0.484692, -0.132604, -0.397811, -0.455764, -0.086882, -0.236213, -0.181595, -0.178869, -0.054619, 0.24505, 0.017375],
     ["2019", "2018-12-31", "2019-12-31", 252, 0.289649, 0.148657, 0.44597, 0.379424, -0.156322, -0.16141, -0.094113, -0.093294, -0.067296, 0.176429, 0.020321],
     ["2020", "2019-12-31", "2020-12-31", 253, -0.078134, 0.089274, 0.267822, -0.057334, -0.345956, -0.33789, -0.315577, -0.304829, -0.022313, 0.318647, 0.003988],
     ["2021", "2020-12-31", "2021-12-31", 252, -0.585547, -0.200489, -0.601466, -0.582114, 0.015919, -0.209533, -0.201282, -0.200061, -0.00825, 0.258473, -0.000983],
     ["2022", "2021-12-31", "2022-12-30", 251, -0.71959, -0.206652, -0.619957, -0.703673, -0.099634, -0.577024, -0.521811, -0.562688, -0.055213, 0.434723, 0.014046],
     ["2023", "2022-12-30", "2023-12-29", 250, -0.531698, -0.118755, -0.356264, -0.456222, -0.175434, -0.379384, -0.229956, -0.232, -0.149428, 0.279703, 0.049437],
     ["2024", "2023-12-29", "2024-12-31", 252, 0.360017, 0.289499, 0.868498, 0.556468, -0.50848, -0.455264, -0.320342, -0.328486, -0.134922, 0.330987, 0.05191],
     ["2025", "2024-12-31", "2025-12-31", 250, 0.541458, 0.289315, 0.867945, 0.751936, -0.326487, -0.329605, -0.201612, -0.196348, -0.127993, 0.256718, 0.041481],
     ["2026", "2025-12-31", "2026-11-05", 213, -0.361993, -0.080643, -0.24193, -0.297938, -0.120063, -0.197163, -0.10149, -0.101937, -0.095673, 0.20091, 0.03061]
    ]
   },
   "quarters": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016Q1", "2016-01-04", "2016-03-31", 60, -0.104934, -0.011127, -0.033382, -0.09582, -0.071552, -0.077289, -0.067158, -0.066986, -0.010131, 0.30882, 0.0],
     ["2016Q2", "2016-03-31", "2016-06-30", 64, 0.006978, 0.02071, 0.062131, 0.011281, -0.055153, -0.054543, -0.050279, -0.048734, -0.004264, 0.254808, 0.000219],
     ["2016Q3", "2016-06-30", "2016-09-30", 64, 0.322938, 0.110754, 0.332262, 0.336013, -0.009324, -0.035262, -0.025428, -0.025587, -0.009834, 0.182673, 0.000656],
     ["2016Q4", "2016-09-30", "2016-12-30", 63, -0.215296, -0.068347, -0.20504, -0.210341, -0.010256, -0.030066, -0.023771, -0.023604, -0.006294, 0.178021, 1e-06],
     ["2017Q1", "2016-12-30", "2017-03-31", 62, 0.335113, 0.108902, 0.326707, 0.347596, 0.008406, -0.021096, -0.01179, -0.01192, -0.009306, 0.125201, 0.00077],
     ["2017Q2", "2017-03-31", "2017-06-30", 63, 0.093, 0.036291, 0.108873, 0.100466, -0.015873, -0.018018, -0.011211, -0.011264, -0.006807, 0.123169, 0.001927],
     ["2017Q3", "2017-06-30", "2017-09-29", 63, 0.331656, 0.109041, 0.327122, 0.339907, 0.004534, -0.024063, -0.017885, -0.017779, -0.006177, 0.152827, 0.002191],
     ["2017Q4", "2017-09-29", "2017-12-29", 63, 0.182601, 0.068823, 0.20647, 0.193967, -0.023869, -0.031959, -0.022394, -0.022727, -0.009565, 0.174563, 0.001973],
     ["2018Q1", "2017-12-29", "2018-03-29", 61, -0.002352, 0.023175, 0.069526, 0.003662, -0.071877, -0.071087, -0.065077, -0.062936, -0.00601, 0.296704, 0.003449],
     ["2018Q2", "2018-03-29", "2018-06-29", 64, -0.251621, -0.078152, -0.234456, -0.237836, -0.017164, -0.04572, -0.027468, -0.02709, -0.018252, 0.189078, 0.00403],
     ["2018Q3", "2018-06-29", "2018-09-28", 63, -0.056141, -0.003491, -0.010472, -0.046136, -0.045669, -0.047288, -0.036743, -0.03655, -0.010545, 0.222527, 0.00438],
     ["2018Q4", "2018-09-28", "2018-12-31", 63, -0.268759, -0.077159, -0.231476, -0.254127, -0.037284, -0.072119, -0.052307, -0.052294, -0.019812, 0.265555, 0.005404],
     ["2019Q1", "2018-12-31", "2019-03-29", 61, 0.393912, 0.132805, 0.398414, 0.414389, -0.004502, -0.041975, -0.027391, -0.027612, -0.014584, 0.193663, 0.005357],
     ["2019Q2", "2019-03-29", "2019-06-28", 63, -0.111437, -0.024155, -0.072465, -0.095114, -0.038972, -0.044795, -0.026593, -0.026174, -0.018203, 0.188242, 0.005873],
     ["2019Q3", "2019-06-28", "2019-09-30", 64, -0.228322, -0.069441, -0.208324, -0.213284, -0.019998, -0.043277, -0.023978, -0.023219, -0.019299, 0.175126, 0.005126],
     ["2019Q4", "2019-09-30", "2019-12-31", 64, 0.34931, 0.116633, 0.3499, 0.36999, -0.00059, -0.031362, -0.016152, -0.01629, -0.01521, 0.144641, 0.003813],
     ["2020Q1", "2019-12-31", "2020-03-31", 62, -0.473564, -0.139583, -0.418749, -0.465087, -0.054816, -0.190612, -0.174638, -0.158193, -0.015974, 0.465644, 0.004435],
     ["2020Q2", "2020-03-31", "2020-06-30", 63, 0.132927, 0.06642, 0.199261, 0.143508, -0.066334, -0.068118, -0.058822, -0.058378, -0.009295, 0.280604, -0.000371],
     ["2020Q3", "2020-06-30", "2020-09-30", 64, 0.110518, 0.057935, 0.173804, 0.122374, -0.063285, -0.064128, -0.053509, -0.059132, -0.010619, 0.280306, -0.000109],
     ["2020Q4", "2020-09-30", "2020-12-31", 64, 0.391856, 0.122124, 0.366372, 0.373088, 0.025484, -0.015032, -0.028608, -0.029126, 0.013576, 0.194766, 3.6e-05],
     ["2021Q1", "2020-12-31", "2021-03-31", 61, -0.041404, 0.004954, 0.014861, -0.046713, -0.056265, -0.05711, -0.062664, -0.062187, 0.005554, 0.295035, -0.000219],
     ["2021Q2", "2021-03-31", "2021-06-30", 63, -0.037201, -0.003826, -0.011477, -0.033518, -0.025723, -0.026411, -0.022594, -0.022446, -0.003817, 0.174388, -0.000328],
     ["2021Q3", "2021-06-30", "2021-09-30", 64, -0.448332, -0.159724, -0.479171, -0.446491, 0.03084, -0.072734, -0.069404, -0.068178, -0.003331, 0.298749, -0.000109],
     ["2021Q4", "2021-09-30", "2021-12-31", 64, -0.185998, -0.049568, -0.148703, -0.180562, -0.037295, -0.053278, -0.046621, -0.047249, -0.006657, 0.250766, -0.000328],
     ["2022Q1", "2021-12-31", "2022-03-31", 62, -0.445316, -0.126025, -0.378075, -0.446911, -0.06724, -0.185245, -0.188126, -0.234283, 0.002881, 0.56743, 0.000241],
     ["2022Q2", "2022-03-31", "2022-06-30", 62, 0.068255, 0.065415, 0.196244, 0.085034, -0.127989, -0.124066, -0.108482, -0.107355, -0.015584, 0.383918, 0.000999],
     ["2022Q3", "2022-06-30", "2022-09-30", 64, -0.587752, -0.237393, -0.712179, -0.57951, 0.124427, -0.073093, -0.053296, -0.051879, -0.019797, 0.254698, 0.004371],
     ["2022Q4", "2022-09-30", "2022-12-30", 63, 0.147925, 0.117237, 0.351711, 0.174296, -0.203785, -0.194619, -0.171907, -0.169171, -0.022713, 0.477443, 0.008382],
     ["2023Q1", "2022-12-30", "2023-03-31", 62, 0.033305, 0.043463, 0.130389, 0.063019, -0.097084, -0.094872, -0.066521, -0.068523, -0.028351, 0.306865, 0.010329],
     ["2023Q2", "2023-03-31", "2023-06-30", 62, -0.274129, -0.069084, -0.207253, -0.237208, -0.066876, -0.105623, -0.056011, -0.055703, -0.049613, 0.27649, 0.012032],
     ["2023Q3", "2023-06-30", "2023-09-29", 63, -0.154074, -0.024274, -0.072821, -0.123785, -0.081253, -0.093604, -0.058424, -0.05927, -0.03518, 0.28335, 0.012861],
     ["2023Q4", "2023-09-29", "2023-12-29", 63, -0.261916, -0.070217, -0.210652, -0.234643, -0.051264, -0.085285, -0.049, -0.048504, -0.036285, 0.255823, 0.013327],
     ["2024Q1", "2023-12-29", "2024-03-28", 61, -0.08598, 0.001665, 0.004994, -0.057179, -0.090974, -0.094893, -0.063869, -0.064972, -0.031024, 0.30158, 0.012869],
     ["2024Q2", "2024-03-28", "2024-06-28", 63, 0.177142, 0.083226, 0.249679, 0.220034, -0.072538, -0.076743, -0.040953, -0.041889, -0.035789, 0.237205, 0.012933],
     ["2024Q3", "2024-06-28", "2024-09-30", 64, 0.65312, 0.222778, 0.668334, 0.703207, -0.015214, -0.100711, -0.070863, -0.080652, -0.029849, 0.323529, 0.013409],
     ["2024Q4", "2024-09-30", "2024-12-31", 64, -0.235362, -0.028077, -0.084231, -0.20554, -0.151132, -0.182918, -0.144657, -0.140973, -0.03826, 0.433546, 0.011719],
     ["2025Q1", "2024-12-31", "2025-03-31", 60, 0.48819, 0.177398, 0.532194, 0.543194, -0.044005, -0.092361, -0.056067, -0.057088, -0.036294, 0.281341, 0.010041],
     ["2025Q2", "2025-03-31", "2025-06-30", 62, -0.005805, 0.039901, 0.119704, 0.026083, -0.125509, -0.123199, -0.091628, -0.086203, -0.031571, 0.344259, 0.010419],
     ["2025Q3", "2025-06-30", "2025-09-30", 64, 0.324793, 0.119151, 0.357454, 0.366869, -0.032661, -0.056456, -0.025189, -0.025579, -0.031267, 0.182354, 0.010618],
     ["2025Q4", "2025-09-30", "2025-12-31", 64, -0.213581, -0.059075, -0.177226, -0.190554, -0.036355, -0.057589, -0.028728, -0.027477, -0.028861, 0.190888, 0.009773],
     ["2026Q1", "2025-12-31", "2026-03-31", 61, -0.22809, -0.062418, -0.187255, -0.205528, -0.040835, -0.065533, -0.036723, -0.036703, -0.02881, 0.226165, 0.008527],
     ["2026Q2", "2026-03-31", "2026-06-30", 62, -0.339975, -0.113453, -0.34036, -0.322901, 0.000385, -0.054213, -0.028673, -0.028333, -0.02554, 0.195253, 0.008787],
     ["2026Q3", "2026-06-30", "2026-09-30", 64, 0.184311, 0.076923, 0.230769, 0.220997, -0.046458, -0.053163, -0.022656, -0.02291, -0.030507, 0.173686, 0.009002],
     ["2026Q4", "2026-09-30", "2026-11-05", 26, 0.057384, 0.027043, 0.081129, 0.068882, -0.023745, -0.024254, -0.013438, -0.013991, -0.010815, 0.216065, 0.003958]
    ]
   },
   "cost_vs_bil": {
    "years": ["2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025"],
    "slope": -2.666,
    "intercept": -0.01301,
    "theory_slope": -2
   }
  },
  "EDC": {
   "calibration": {
    "correlation": 0.9982,
    "slope": 2.957,
    "days_off_by_2pct": 3,
    "days": 2726
   },
   "whole_period": {
    "start": "2016-01-04",
    "end": "2026-11-05",
    "years": 10.817,
    "leverage": 3,
    "underlying_ticker": "EEM",
    "fund": 0.3198367922200389,
    "underlying": 1.328459283847478,
    "k_x_underlying": 3.985377851542434,
    "ideal": 1.878079319750635,
    "simple_gap": -3.665541059322395,
    "gap": -2.2581123051638787,
    "volatility": -1.4784972230554212,
    "volatility_approx": -1.4354470556329644,
    "costs": -0.7796150821084574,
    "underlying_vol": 0.21025855643167482,
    "gap_per_year": -0.20874699226019713,
    "volatility_per_year": -0.13667692597577627,
    "volatility_approx_per_year": -0.1326972333160334,
    "costs_per_year": -0.07207006628442086,
    "fund_cagr": 0.025985607575764735,
    "underlying_cagr": 0.0812670743029884
   },
   "years": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016", "2016-01-04", "2016-12-30", 251, 0.247403, 0.139876, 0.419627, 0.281117, -0.172224, -0.171694, -0.145025, -0.142696, -0.026668, 0.218746, 0.000876],
     ["2017", "2016-12-30", "2017-12-29", 251, 1.386226, 0.372785, 1.118355, 1.472374, 0.267871, -0.080811, -0.045346, -0.045648, -0.035466, 0.122127, 0.006879],
     ["2018", "2017-12-29", "2018-12-31", 251, -0.498769, -0.153133, -0.4594, -0.470249, -0.039369, -0.192052, -0.136711, -0.134974, -0.055341, 0.212764, 0.017375],
     ["2019", "2018-12-31", "2019-12-31", 252, 0.439378, 0.181999, 0.545998, 0.540591, -0.10662, -0.137411, -0.069456, -0.068698, -0.067955, 0.151206, 0.020321],
     ["2020", "2019-12-31", "2020-12-31", 253, 0.061251, 0.170335, 0.511006, 0.093325, -0.449755, -0.412422, -0.382647, -0.346604, -0.029775, 0.339632, 0.003988],
     ["2021", "2020-12-31", "2021-12-31", 252, -0.208072, -0.036151, -0.108452, -0.186627, -0.099621, -0.122825, -0.096105, -0.095309, -0.02672, 0.17859, -0.000983],
     ["2022", "2021-12-31", "2022-12-30", 251, -0.602462, -0.205555, -0.616666, -0.574548, 0.014204, -0.232129, -0.164269, -0.166694, -0.06786, 0.236314, 0.014046],
     ["2023", "2022-12-30", "2023-12-29", 250, 0.074317, 0.089895, 0.269686, 0.206085, -0.195369, -0.18656, -0.070866, -0.071192, -0.115694, 0.154847, 0.049437],
     ["2024", "2023-12-29", "2024-12-31", 252, -0.020481, 0.064973, 0.194918, 0.124327, -0.215399, -0.209541, -0.071663, -0.071775, -0.137878, 0.154913, 0.05191],
     ["2025", "2024-12-31", "2025-12-31", 250, 0.944981, 0.339762, 1.019286, 1.192205, -0.074306, -0.212224, -0.092568, -0.09323, -0.119656, 0.176258, 0.041481],
     ["2026", "2025-12-31", "2026-11-05", 213, -0.101235, 0.0667, 0.200099, -0.010081, -0.301334, -0.300443, -0.203841, -0.198628, -0.096602, 0.280443, 0.03061]
    ]
   },
   "quarters": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016Q1", "2016-01-04", "2016-03-31", 60, 0.235127, 0.0939, 0.281699, 0.24492, -0.046572, -0.058073, -0.050176, -0.050359, -0.007897, 0.266482, 0.0],
     ["2016Q2", "2016-03-31", "2016-06-30", 64, -0.014908, 0.011074, 0.033223, -0.00996, -0.048131, -0.048061, -0.04305, -0.041061, -0.00501, 0.23394, 0.000219],
     ["2016Q3", "2016-06-30", "2016-09-30", 64, 0.257082, 0.08993, 0.26979, 0.263449, -0.012709, -0.029548, -0.024496, -0.02435, -0.005052, 0.178768, 0.000656],
     ["2016Q4", "2016-09-30", "2016-12-30", 63, -0.184442, -0.05442, -0.16326, -0.177308, -0.021182, -0.036012, -0.027303, -0.026926, -0.008709, 0.190551, 1e-06],
     ["2017Q1", "2016-12-30", "2017-03-31", 62, 0.394209, 0.125107, 0.375321, 0.407622, 0.018888, -0.021308, -0.011733, -0.011952, -0.009575, 0.124502, 0.00077],
     ["2017Q2", "2017-03-31", "2017-06-30", 63, 0.160174, 0.05569, 0.16707, 0.16326, -0.006896, -0.014014, -0.011357, -0.011379, -0.002657, 0.123342, 0.001927],
     ["2017Q3", "2017-06-30", "2017-09-29", 63, 0.237042, 0.082629, 0.247886, 0.255041, -0.010844, -0.025453, -0.011008, -0.010962, -0.014445, 0.120109, 0.002191],
     ["2017Q4", "2017-09-29", "2017-12-29", 63, 0.192549, 0.067561, 0.202683, 0.203076, -0.010134, -0.020037, -0.011248, -0.011356, -0.008789, 0.122856, 0.001973],
     ["2018Q1", "2017-12-29", "2018-03-29", 61, 0.01709, 0.024618, 0.073854, 0.028439, -0.056764, -0.056014, -0.044917, -0.044067, -0.011097, 0.248244, 0.003449],
     ["2018Q2", "2018-03-29", "2018-06-29", 64, -0.286622, -0.096601, -0.289803, -0.277614, 0.003181, -0.032971, -0.020423, -0.020174, -0.012548, 0.162158, 0.00403],
     ["2018Q3", "2018-06-29", "2018-09-28", 63, -0.067532, -0.009462, -0.028387, -0.051597, -0.039145, -0.041398, -0.024454, -0.024046, -0.016945, 0.180491, 0.00438],
     ["2018Q4", "2018-09-28", "2018-12-31", 63, -0.259159, -0.076361, -0.229082, -0.24815, -0.030077, -0.061669, -0.046917, -0.046687, -0.014751, 0.250843, 0.005404],
     ["2019Q1", "2018-12-31", "2019-03-29", 61, 0.278477, 0.098822, 0.296467, 0.298748, -0.01799, -0.037048, -0.021316, -0.021448, -0.015732, 0.171372, 0.005357],
     ["2019Q2", "2019-03-29", "2019-06-28", 63, -0.017246, 0.007371, 0.022112, 0.002993, -0.039358, -0.039427, -0.019043, -0.018691, -0.020385, 0.159109, 0.005873],
     ["2019Q3", "2019-06-28", "2019-09-30", 64, -0.166944, -0.047541, -0.142624, -0.152342, -0.02432, -0.036529, -0.019152, -0.018474, -0.017376, 0.15653, 0.005126],
     ["2019Q4", "2019-09-30", "2019-12-31", 64, 0.375192, 0.121126, 0.363378, 0.395225, 0.011814, -0.024407, -0.009945, -0.010086, -0.014462, 0.112279, 0.003813],
     ["2020Q1", "2019-12-31", "2020-03-31", 62, -0.665795, -0.239358, -0.718074, -0.661171, 0.05228, -0.275222, -0.261481, -0.224417, -0.01374, 0.552587, 0.004435],
     ["2020Q2", "2020-03-31", "2020-06-30", 63, 0.512311, 0.178566, 0.535698, 0.525243, -0.023386, -0.079256, -0.070741, -0.070884, -0.008515, 0.306652, -0.000371],
     ["2020Q3", "2020-06-30", "2020-09-30", 64, 0.294924, 0.102526, 0.307577, 0.301639, -0.012653, -0.034359, -0.029186, -0.029875, -0.005173, 0.197928, -0.000109],
     ["2020Q4", "2020-09-30", "2020-12-31", 64, 0.621509, 0.184098, 0.552293, 0.62532, 0.069216, -0.023586, -0.021238, -0.021428, -0.002348, 0.163433, 3.6e-05],
     ["2021Q1", "2020-12-31", "2021-03-31", 61, 0.052438, 0.03232, 0.096961, 0.056093, -0.044524, -0.044318, -0.040851, -0.040731, -0.003467, 0.238581, -0.000219],
     ["2021Q2", "2021-03-31", "2021-06-30", 63, 0.092318, 0.038421, 0.115263, 0.102544, -0.022946, -0.024802, -0.015483, -0.015342, -0.009319, 0.143812, -0.000328],
     ["2021Q3", "2021-06-30", "2021-09-30", 64, -0.260622, -0.086491, -0.259474, -0.255289, -0.001148, -0.030559, -0.023372, -0.023076, -0.007187, 0.174066, -0.000109],
     ["2021Q4", "2021-09-30", "2021-12-31", 64, -0.068305, -0.015743, -0.047229, -0.061999, -0.021076, -0.023145, -0.016399, -0.016159, -0.006746, 0.146747, -0.000328],
     ["2022Q1", "2021-12-31", "2022-03-31", 62, -0.257811, -0.075742, -0.227226, -0.251462, -0.030585, -0.06186, -0.053341, -0.05641, -0.008519, 0.278133, 0.000241],
     ["2022Q2", "2022-03-31", "2022-06-30", 62, -0.318024, -0.104122, -0.312365, -0.311487, -0.005659, -0.052909, -0.043369, -0.042156, -0.00954, 0.23947, 0.000999],
     ["2022Q3", "2022-06-30", "2022-09-30", 64, -0.372528, -0.130175, -0.390524, -0.357553, 0.017996, -0.047668, -0.024083, -0.023576, -0.023585, 0.17403, 0.004371],
     ["2022Q4", "2022-09-30", "2022-12-30", 63, 0.251704, 0.103035, 0.309106, 0.284953, -0.057402, -0.069692, -0.043475, -0.044552, -0.026216, 0.244219, 0.008382],
     ["2023Q1", "2022-12-30", "2023-03-31", 62, 0.077374, 0.041161, 0.123483, 0.105049, -0.046109, -0.046483, -0.02112, -0.021172, -0.025363, 0.170373, 0.010329],
     ["2023Q2", "2023-03-31", "2023-06-30", 62, -0.013145, 0.010426, 0.031277, 0.016288, -0.044422, -0.044348, -0.014958, -0.014989, -0.029389, 0.143629, 0.012032],
     ["2023Q3", "2023-06-30", "2023-09-29", 63, -0.163015, -0.040698, -0.122093, -0.133164, -0.040922, -0.053302, -0.018258, -0.018224, -0.035043, 0.156826, 0.012861],
     ["2023Q4", "2023-09-29", "2023-12-29", 63, 0.207244, 0.079959, 0.239876, 0.238918, -0.032631, -0.042428, -0.016529, -0.016807, -0.025898, 0.149536, 0.013327],
     ["2024Q1", "2023-12-29", "2024-03-28", 61, 0.012191, 0.021636, 0.064909, 0.052491, -0.052718, -0.0521, -0.013057, -0.012996, -0.039042, 0.134744, 0.012869],
     ["2024Q2", "2024-03-28", "2024-06-28", 63, 0.08686, 0.043937, 0.13181, 0.123334, -0.04495, -0.045704, -0.012696, -0.012702, -0.033008, 0.130684, 0.012933],
     ["2024Q3", "2024-06-28", "2024-09-30", 64, 0.170199, 0.076779, 0.230336, 0.214439, -0.060137, -0.064747, -0.027639, -0.02813, -0.037109, 0.192666, 0.013409],
     ["2024Q4", "2024-09-30", "2024-12-31", 64, -0.239118, -0.072654, -0.217963, -0.216949, -0.021155, -0.04699, -0.018271, -0.017947, -0.028719, 0.153627, 0.011719],
     ["2025Q1", "2024-12-31", "2025-03-31", 60, 0.081898, 0.044955, 0.134864, 0.118854, -0.052966, -0.053203, -0.019616, -0.01967, -0.033588, 0.16687, 0.010041],
     ["2025Q2", "2025-03-31", "2025-06-30", 62, 0.282322, 0.114445, 0.343336, 0.321682, -0.061014, -0.076398, -0.046165, -0.046885, -0.030233, 0.252319, 0.010419],
     ["2025Q3", "2025-06-30", "2025-09-30", 64, 0.308073, 0.106965, 0.320896, 0.344785, -0.012823, -0.036312, -0.008632, -0.008755, -0.02768, 0.104923, 0.010618],
     ["2025Q4", "2025-09-30", "2025-12-31", 64, 0.071766, 0.039292, 0.117876, 0.102372, -0.04611, -0.046311, -0.018155, -0.01792, -0.028156, 0.154225, 0.009773],
     ["2026Q1", "2025-12-31", "2026-03-31", 61, 0.032979, 0.038019, 0.114056, 0.062922, -0.081077, -0.079494, -0.05092, -0.049812, -0.028575, 0.263806, 0.008527],
     ["2026Q2", "2026-03-31", "2026-06-30", 62, 0.591523, 0.211029, 0.633086, 0.638082, -0.041563, -0.109719, -0.080884, -0.079377, -0.028835, 0.326364, 0.008787],
     ["2026Q3", "2026-06-30", "2026-09-30", 64, -0.135938, -0.023681, -0.071042, -0.111946, -0.064896, -0.074214, -0.046825, -0.046531, -0.027389, 0.249049, 0.009002],
     ["2026Q4", "2026-09-30", "2026-11-05", 26, -0.367302, -0.130858, -0.392574, -0.359789, 0.025272, -0.037016, -0.025212, -0.022908, -0.011804, 0.264126, 0.003958]
    ]
   },
   "cost_vs_bil": {
    "years": ["2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025"],
    "slope": -2.111,
    "intercept": -0.02586,
    "theory_slope": -2
   }
  },
  "TMF": {
   "calibration": {
    "correlation": 0.9975,
    "slope": 2.939,
    "days_off_by_2pct": 4,
    "days": 2726
   },
   "whole_period": {
    "start": "2016-01-04",
    "end": "2026-11-05",
    "years": 10.817,
    "leverage": 3,
    "underlying_ticker": "TLT",
    "fund": -0.8080029487719349,
    "underlying": -0.08163834173585804,
    "k_x_underlying": -0.24491502520757413,
    "ideal": -0.6142904321788808,
    "simple_gap": -0.5630879235643608,
    "gap": -1.394783257177176,
    "volatility": -0.697178599612434,
    "volatility_approx": -0.6961857980262793,
    "costs": -0.6976046575647422,
    "underlying_vol": 0.1464935972345248,
    "gap_per_year": -0.12893814409708304,
    "volatility_per_year": -0.06444937898104672,
    "volatility_approx_per_year": -0.0643576012848945,
    "costs_per_year": -0.06448876511603632,
    "fund_cagr": -0.14148972279914174,
    "underlying_cagr": -0.007841918294548833
   },
   "years": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016", "2016-01-04", "2016-12-30", 251, -0.053276, 0.004547, 0.013641, -0.036011, -0.066917, -0.068358, -0.050285, -0.049772, -0.018072, 0.129316, 0.000876],
     ["2017", "2016-12-30", "2017-12-29", 251, 0.227357, 0.091814, 0.275442, 0.265341, -0.048084, -0.058658, -0.02818, -0.028212, -0.030478, 0.097185, 0.006879],
     ["2018", "2017-12-29", "2018-12-31", 251, -0.110131, -0.016077, -0.048232, -0.071523, -0.0619, -0.068058, -0.025586, -0.025571, -0.042472, 0.092688, 0.017375],
     ["2019", "2018-12-31", "2019-12-31", 252, 0.347402, 0.141206, 0.423619, 0.424072, -0.076217, -0.09808, -0.042737, -0.042795, -0.055342, 0.11935, 0.020321],
     ["2020", "2019-12-31", "2020-12-31", 253, 0.389622, 0.181521, 0.544562, 0.434932, -0.15494, -0.171375, -0.139289, -0.139889, -0.032086, 0.215608, 0.003988],
     ["2021", "2020-12-31", "2021-12-31", 252, -0.198044, -0.046023, -0.138069, -0.180083, -0.059974, -0.079354, -0.057205, -0.057439, -0.022148, 0.138625, -0.000983],
     ["2022", "2021-12-31", "2022-12-30", 251, -0.725908, -0.312447, -0.93734, -0.713338, 0.211432, -0.170445, -0.125605, -0.124695, -0.04484, 0.203457, 0.014046],
     ["2023", "2022-12-30", "2023-12-29", 250, -0.129725, 0.027672, 0.083016, -0.018322, -0.212741, -0.220834, -0.10038, -0.100652, -0.120455, 0.184247, 0.049437],
     ["2024", "2023-12-29", "2024-12-31", 252, -0.359303, -0.080585, -0.241754, -0.268536, -0.117549, -0.193146, -0.060655, -0.060209, -0.132491, 0.141872, 0.05191],
     ["2025", "2024-12-31", "2025-12-31", 250, -0.029865, 0.042473, 0.12742, 0.08576, -0.157285, -0.155109, -0.042508, -0.042243, -0.1126, 0.119336, 0.041481],
     ["2026", "2025-12-31", "2026-11-05", 213, -0.165949, -0.023094, -0.069281, -0.090483, -0.096668, -0.111367, -0.024748, -0.02471, -0.086619, 0.098938, 0.03061]
    ]
   },
   "quarters": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016Q1", "2016-01-04", "2016-03-31", 60, 0.235085, 0.079552, 0.238657, 0.242617, -0.003572, -0.0185, -0.012419, -0.012544, -0.00608, 0.131984, 0.0],
     ["2016Q2", "2016-03-31", "2016-06-30", 64, 0.205212, 0.070029, 0.210088, 0.210936, -0.004876, -0.016403, -0.011665, -0.011933, -0.004738, 0.124928, 0.000219],
     ["2016Q3", "2016-06-30", "2016-09-30", 64, -0.026122, -0.004571, -0.013714, -0.024654, -0.012408, -0.012724, -0.011217, -0.011155, -0.001507, 0.121956, 0.000656],
     ["2016Q4", "2016-09-30", "2016-12-30", 63, -0.346931, -0.126384, -0.379151, -0.343167, 0.03222, -0.020731, -0.014984, -0.014139, -0.005748, 0.134237, 1e-06],
     ["2017Q1", "2016-12-30", "2017-03-31", 62, 0.034826, 0.017456, 0.052367, 0.043952, -0.017541, -0.017682, -0.008902, -0.008899, -0.00878, 0.110592, 0.00077],
     ["2017Q2", "2017-03-31", "2017-06-30", 63, 0.120054, 0.043093, 0.12928, 0.127887, -0.009226, -0.013195, -0.006226, -0.006294, -0.00697, 0.091692, 0.001927],
     ["2017Q3", "2017-06-30", "2017-09-29", 63, -0.003819, 0.003415, 0.010246, 0.003826, -0.014065, -0.014055, -0.00641, -0.006399, -0.007645, 0.093104, 0.002191],
     ["2017Q4", "2017-09-29", "2017-12-29", 63, 0.062983, 0.025249, 0.075746, 0.07054, -0.012763, -0.013726, -0.006643, -0.00662, -0.007084, 0.094475, 0.001973],
     ["2018Q1", "2017-12-29", "2018-03-29", 61, -0.115221, -0.035143, -0.105429, -0.108326, -0.009791, -0.01509, -0.007328, -0.007262, -0.007762, 0.100421, 0.003449],
     ["2018Q2", "2018-03-29", "2018-06-29", 64, -0.00328, 0.005212, 0.015635, 0.008612, -0.018915, -0.01888, -0.00702, -0.007097, -0.011861, 0.097263, 0.00403],
     ["2018Q3", "2018-06-29", "2018-09-28", 63, -0.101373, -0.030006, -0.090017, -0.091373, -0.011355, -0.015492, -0.004425, -0.004383, -0.011066, 0.076686, 0.00438],
     ["2018Q4", "2018-09-28", "2018-12-31", 63, 0.122893, 0.045855, 0.137564, 0.136202, -0.014672, -0.018595, -0.006813, -0.006829, -0.011783, 0.095478, 0.005404],
     ["2019Q1", "2018-12-31", "2019-03-29", 61, 0.121641, 0.045163, 0.13549, 0.134943, -0.013849, -0.017727, -0.005937, -0.005975, -0.011789, 0.09069, 0.005357],
     ["2019Q2", "2019-03-29", "2019-06-28", 63, 0.153181, 0.057076, 0.171228, 0.173746, -0.018046, -0.023995, -0.006319, -0.006316, -0.017676, 0.091379, 0.005873],
     ["2019Q3", "2019-06-28", "2019-09-30", 64, 0.232456, 0.083466, 0.250398, 0.249067, -0.017942, -0.031486, -0.018098, -0.018193, -0.013388, 0.154354, 0.005126],
     ["2019Q4", "2019-09-30", "2019-12-31", 64, -0.154772, -0.046636, -0.139909, -0.144149, -0.014863, -0.024872, -0.012382, -0.012311, -0.01249, 0.127607, 0.003813],
     ["2020Q1", "2019-12-31", "2020-03-31", 62, 0.633611, 0.221511, 0.664534, 0.650759, -0.030923, -0.109474, -0.099032, -0.099755, -0.010442, 0.366388, 0.004435],
     ["2020Q2", "2020-03-31", "2020-06-30", 63, -0.034434, -0.002317, -0.00695, -0.025988, -0.027484, -0.028083, -0.019374, -0.019386, -0.008709, 0.162065, -0.000371],
     ["2020Q3", "2020-06-30", "2020-09-30", 64, -0.016478, -0.000689, -0.002068, -0.010884, -0.01441, -0.014547, -0.008875, -0.008834, -0.005672, 0.108529, -0.000109],
     ["2020Q4", "2020-09-30", "2020-12-31", 64, -0.10426, -0.029824, -0.089472, -0.09773, -0.014789, -0.019273, -0.012009, -0.011914, -0.007264, 0.125839, 3.6e-05],
     ["2021Q1", "2020-12-31", "2021-03-31", 61, -0.37238, -0.139214, -0.417643, -0.372182, 0.045263, -0.016091, -0.015776, -0.015758, -0.000315, 0.143413, -0.000219],
     ["2021Q2", "2021-03-31", "2021-06-30", 63, 0.201659, 0.070246, 0.210739, 0.214311, -0.00908, -0.019963, -0.00949, -0.009621, -0.010473, 0.112798, -0.000328],
     ["2021Q3", "2021-06-30", "2021-09-30", 64, -0.006999, 0.003575, 0.010724, -0.002974, -0.017722, -0.017728, -0.013683, -0.01365, -0.004045, 0.134902, -0.000109],
     ["2021Q4", "2021-09-30", "2021-12-31", 64, 0.070835, 0.031833, 0.095499, 0.078698, -0.024664, -0.025572, -0.018256, -0.018409, -0.007316, 0.156435, -0.000328],
     ["2022Q1", "2021-12-31", "2022-03-31", 62, -0.303962, -0.106299, -0.318897, -0.305269, 0.014934, -0.0252, -0.027079, -0.026444, 0.001879, 0.18878, 0.000241],
     ["2022Q2", "2022-03-31", "2022-06-30", 62, -0.360417, -0.125907, -0.377722, -0.353103, 0.017305, -0.043232, -0.031862, -0.031332, -0.01137, 0.205014, 0.000999],
     ["2022Q3", "2022-06-30", "2022-09-30", 64, -0.311324, -0.10286, -0.30858, -0.301104, -0.002745, -0.047355, -0.032623, -0.032289, -0.014732, 0.205881, 0.004371],
     ["2022Q4", "2022-09-30", "2022-12-30", 63, -0.105972, -0.018938, -0.056815, -0.087349, -0.049156, -0.054658, -0.034041, -0.034631, -0.020616, 0.216581, 0.008382],
     ["2023Q1", "2022-12-30", "2023-03-31", 62, 0.170046, 0.073787, 0.221362, 0.204674, -0.051316, -0.056533, -0.027367, -0.027859, -0.029167, 0.194885, 0.010329],
     ["2023Q2", "2023-03-31", "2023-06-30", 62, -0.116405, -0.024709, -0.074128, -0.088494, -0.042277, -0.048698, -0.017599, -0.017433, -0.031099, 0.154835, 0.012032],
     ["2023Q3", "2023-06-30", "2023-09-29", 63, -0.376507, -0.131027, -0.393081, -0.356643, 0.016574, -0.051088, -0.019726, -0.019278, -0.031362, 0.157812, 0.012861],
     ["2023Q4", "2023-09-29", "2023-12-29", 63, 0.35011, 0.129265, 0.387795, 0.389595, -0.037685, -0.064515, -0.035688, -0.036081, -0.028827, 0.21871, 0.013327],
     ["2024Q1", "2023-12-29", "2024-03-28", 61, -0.150888, -0.037062, -0.111186, -0.119397, -0.039702, -0.050265, -0.013851, -0.013672, -0.036415, 0.138036, 0.012869],
     ["2024Q2", "2024-03-28", "2024-06-28", 63, -0.102797, -0.020071, -0.060214, -0.073834, -0.042583, -0.047647, -0.015876, -0.015646, -0.031771, 0.145524, 0.012933],
     ["2024Q3", "2024-06-28", "2024-09-30", 64, 0.199722, 0.079306, 0.237918, 0.239345, -0.038196, -0.046865, -0.014372, -0.014541, -0.032493, 0.137842, 0.013409],
     ["2024Q4", "2024-09-30", "2024-12-31", 64, -0.299002, -0.097236, -0.291707, -0.276344, -0.007295, -0.048369, -0.016557, -0.01635, -0.031812, 0.145536, 0.011719],
     ["2025Q1", "2024-12-31", "2025-03-31", 60, 0.1083, 0.049335, 0.148006, 0.142581, -0.039706, -0.041644, -0.011181, -0.011327, -0.030463, 0.126289, 0.010041],
     ["2025Q2", "2025-03-31", "2025-06-30", 62, -0.09974, -0.019832, -0.059495, -0.074922, -0.040246, -0.044979, -0.017785, -0.017295, -0.027195, 0.154261, 0.010419],
     ["2025Q3", "2025-06-30", "2025-09-30", 64, 0.034275, 0.024201, 0.072604, 0.065342, -0.038328, -0.038038, -0.008443, -0.008532, -0.029595, 0.106468, 0.010618],
     ["2025Q4", "2025-09-30", "2025-12-31", 64, -0.059907, -0.010389, -0.031166, -0.035773, -0.028741, -0.030448, -0.0051, -0.005089, -0.025348, 0.082339, 0.009773],
     ["2026Q1", "2025-12-31", "2026-03-31", 61, -0.027658, 0.001771, 0.005314, -0.002602, -0.032972, -0.033357, -0.007914, -0.007878, -0.025443, 0.105014, 0.008527],
     ["2026Q2", "2026-03-31", "2026-06-30", 62, -0.003965, 0.008503, 0.02551, 0.019937, -0.029475, -0.029375, -0.005661, -0.005663, -0.023714, 0.088278, 0.008787],
     ["2026Q3", "2026-06-30", "2026-09-30", 64, -0.269155, -0.089512, -0.268535, -0.25106, -0.000621, -0.032232, -0.007775, -0.007692, -0.024457, 0.0986, 0.009002],
     ["2026Q4", "2026-09-30", "2026-11-05", 26, 0.178349, 0.06202, 0.186059, 0.193774, -0.00771, -0.016403, -0.003398, -0.003477, -0.013006, 0.101245, 0.003958]
    ]
   },
   "cost_vs_bil": {
    "years": ["2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025"],
    "slope": -2.2,
    "intercept": -0.01684,
    "theory_slope": -2
   }
  },
  "TYD": {
   "calibration": {
    "correlation": 0.9093,
    "slope": 2.839,
    "days_off_by_2pct": 35,
    "days": 2726
   },
   "whole_period": {
    "start": "2016-01-04",
    "end": "2026-11-05",
    "years": 10.817,
    "leverage": 3,
    "underlying_ticker": "IEF",
    "fund": -0.3545577653237716,
    "underlying": 0.11692679876361445,
    "k_x_underlying": 0.35078039629084334,
    "ideal": 0.21333238944979382,
    "simple_gap": -0.7053381616146149,
    "gap": -0.7695625144376368,
    "volatility": -0.13837233741357113,
    "volatility_approx": -0.13860527023595878,
    "costs": -0.6311901770240655,
    "underlying_vol": 0.06536051320566912,
    "gap_per_year": -0.07114077536254015,
    "volatility_per_year": -0.01279157337792367,
    "volatility_approx_per_year": -0.012813106419465007,
    "costs_per_year": -0.058349201984616475,
    "fund_cagr": -0.03966530544507518,
    "underlying_cagr": 0.010274881185701412
   },
   "years": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016", "2016-01-04", "2016-12-30", 251, -0.027679, 0.005758, 0.017274, 0.008524, -0.044953, -0.045294, -0.008737, -0.008728, -0.036557, 0.054152, 0.000876],
     ["2017", "2016-12-30", "2017-12-29", 251, 0.056426, 0.025538, 0.076615, 0.072863, -0.02019, -0.020762, -0.005322, -0.005331, -0.01544, 0.04229, 0.006879],
     ["2018", "2017-12-29", "2018-12-31", 251, 0.007498, 0.009891, 0.029674, 0.02498, -0.022176, -0.022058, -0.004855, -0.004864, -0.017203, 0.040421, 0.017375],
     ["2019", "2018-12-31", "2019-12-31", 252, 0.178773, 0.080306, 0.240917, 0.249965, -0.062144, -0.067258, -0.008616, -0.00863, -0.058642, 0.053512, 0.020321],
     ["2020", "2019-12-31", "2020-12-31", 253, 0.275345, 0.100065, 0.300196, 0.31102, -0.024851, -0.042892, -0.015304, -0.015418, -0.027588, 0.071425, 0.003988],
     ["2021", "2020-12-31", "2021-12-31", 252, -0.113567, -0.033291, -0.099874, -0.104176, -0.013694, -0.018976, -0.008437, -0.008427, -0.010539, 0.053067, -0.000983],
     ["2022", "2021-12-31", "2022-12-30", 251, -0.433148, -0.15159, -0.454771, -0.408119, 0.021623, -0.074482, -0.031274, -0.031237, -0.043207, 0.10195, 0.014046],
     ["2023", "2022-12-30", "2023-12-29", 250, -0.028289, 0.036416, 0.109247, 0.084625, -0.137537, -0.136002, -0.026071, -0.026234, -0.109931, 0.094039, 0.049437],
     ["2024", "2023-12-29", "2024-12-31", 252, -0.13905, -0.006353, -0.019059, -0.0321, -0.119991, -0.130599, -0.013507, -0.013466, -0.117093, 0.067131, 0.05191],
     ["2025", "2024-12-31", "2025-12-31", 250, 0.116612, 0.08033, 0.240991, 0.249094, -0.124379, -0.121501, -0.009382, -0.009408, -0.112119, 0.056113, 0.041481],
     ["2026", "2025-12-31", "2026-11-05", 213, -0.116159, -0.011184, -0.033552, -0.039795, -0.082607, -0.089737, -0.006867, -0.006861, -0.08287, 0.052134, 0.03061]
    ]
   },
   "quarters": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol", "bil"],
    "rows": [
     ["2016Q1", "2016-01-04", "2016-03-31", 60, 0.09081, 0.043566, 0.130699, 0.133886, -0.039889, -0.041012, -0.002281, -0.002291, -0.03873, 0.05595, 0.0],
     ["2016Q2", "2016-03-31", "2016-06-30", 64, 0.097492, 0.028251, 0.084752, 0.084482, 0.012741, 0.009451, -0.002474, -0.002503, 0.011926, 0.057341, 0.000219],
     ["2016Q3", "2016-06-30", "2016-09-30", 64, -0.010236, -0.005319, -0.015958, -0.017403, 0.005722, 0.005712, -0.001556, -0.001551, 0.007267, 0.045455, 0.000656],
     ["2016Q4", "2016-09-30", "2016-12-30", 63, -0.179408, -0.057697, -0.17309, -0.165322, -0.006318, -0.019445, -0.002425, -0.002383, -0.01702, 0.054802, 1e-06],
     ["2017Q1", "2016-12-30", "2017-03-31", 62, 0.031288, 0.010272, 0.030816, 0.02907, 0.000471, 0.000149, -0.002003, -0.002005, 0.002152, 0.052479, 0.00077],
     ["2017Q2", "2017-03-31", "2017-06-30", 63, 0.047141, 0.014249, 0.042748, 0.041998, 0.004394, 0.003618, -0.001306, -0.001313, 0.004924, 0.042022, 0.001927],
     ["2017Q3", "2017-06-30", "2017-09-29", 63, -0.00468, 0.003704, 0.011112, 0.009955, -0.015793, -0.015783, -0.001186, -0.001186, -0.014597, 0.040078, 0.002191],
     ["2017Q4", "2017-09-29", "2017-12-29", 63, -0.017141, -0.002844, -0.008532, -0.009327, -0.008609, -0.008746, -0.000827, -0.000826, -0.007919, 0.033449, 0.001973],
     ["2018Q1", "2017-12-29", "2018-03-29", 61, -0.057708, -0.019424, -0.058273, -0.058416, 0.000565, -0.000594, -0.001346, -0.001347, 0.000752, 0.04312, 0.003449],
     ["2018Q2", "2018-03-29", "2018-06-29", 64, -0.015321, -0.001053, -0.003159, -0.004608, -0.012163, -0.01228, -0.001458, -0.001467, -0.010821, 0.044229, 0.00403],
     ["2018Q3", "2018-06-29", "2018-09-28", 63, -0.026837, -0.007289, -0.021867, -0.022413, -0.00497, -0.005257, -0.000721, -0.000719, -0.004536, 0.031161, 0.00438],
     ["2018Q4", "2018-09-28", "2018-12-31", 63, 0.11578, 0.038552, 0.115656, 0.118683, 0.000124, -0.003928, -0.00133, -0.001331, -0.002598, 0.041353, 0.005404],
     ["2019Q1", "2018-12-31", "2019-03-29", 61, 0.064072, 0.027839, 0.083517, 0.084069, -0.019445, -0.020273, -0.001654, -0.001661, -0.018619, 0.047666, 0.005357],
     ["2019Q2", "2019-03-29", "2019-06-28", 63, 0.098008, 0.037626, 0.112877, 0.115434, -0.01487, -0.017308, -0.001562, -0.001565, -0.015747, 0.045074, 0.005873],
     ["2019Q3", "2019-06-28", "2019-09-30", 64, 0.066049, 0.027558, 0.082673, 0.081699, -0.016624, -0.017595, -0.003022, -0.003031, -0.014573, 0.063193, 0.005126],
     ["2019Q4", "2019-09-30", "2019-12-31", 64, -0.053596, -0.014232, -0.042697, -0.044368, -0.010899, -0.012081, -0.002379, -0.002373, -0.009703, 0.056144, 0.003813],
     ["2020Q1", "2019-12-31", "2020-03-31", 62, 0.324296, 0.104961, 0.314884, 0.333553, 0.009412, -0.01855, -0.011584, -0.011698, -0.006966, 0.124171, 0.004435],
     ["2020Q2", "2020-03-31", "2020-06-30", 63, 0.007704, 0.00646, 0.019379, 0.01771, -0.011676, -0.011643, -0.001762, -0.001766, -0.009881, 0.04889, -0.000371],
     ["2020Q3", "2020-06-30", "2020-09-30", 64, 0.001764, 0.002033, 0.0061, 0.005462, -0.004336, -0.004331, -0.000646, -0.000645, -0.003685, 0.029323, -0.000109],
     ["2020Q4", "2020-09-30", "2020-12-31", 64, -0.046009, -0.012828, -0.038484, -0.039253, -0.007524, -0.008368, -0.001311, -0.001309, -0.007057, 0.041658, 3.6e-05],
     ["2021Q1", "2020-12-31", "2021-03-31", 61, -0.163685, -0.057335, -0.172005, -0.164244, 0.00832, -0.001617, -0.002285, -0.00226, 0.000668, 0.054096, -0.000219],
     ["2021Q2", "2021-03-31", "2021-06-30", 63, 0.069814, 0.024672, 0.074015, 0.074318, -0.004201, -0.005632, -0.001431, -0.001436, -0.004201, 0.043656, -0.000328],
     ["2021Q3", "2021-06-30", "2021-09-30", 64, -0.00679, -0.000347, -0.001042, -0.00305, -0.005748, -0.005771, -0.002012, -0.002011, -0.003759, 0.051785, -0.000109],
     ["2021Q4", "2021-09-30", "2021-12-31", 64, -0.002469, 0.001162, 0.003487, 0.000776, -0.005955, -0.005956, -0.002709, -0.002721, -0.003248, 0.060231, -0.000328],
     ["2022Q1", "2021-12-31", "2022-03-31", 62, -0.189416, -0.063744, -0.191233, -0.184446, 0.001817, -0.0124, -0.006288, -0.00622, -0.006112, 0.091021, 0.000241],
     ["2022Q2", "2022-03-31", "2022-06-30", 62, -0.136919, -0.044656, -0.133967, -0.134997, -0.002952, -0.010196, -0.007972, -0.007919, -0.002224, 0.1038, 0.000999],
     ["2022Q3", "2022-06-30", "2022-09-30", 64, -0.181224, -0.056949, -0.170848, -0.169153, -0.010376, -0.024039, -0.009404, -0.009386, -0.014635, 0.110955, 0.004371],
     ["2022Q4", "2022-09-30", "2022-12-30", 63, -0.01041, 0.005811, 0.017433, 0.009819, -0.027843, -0.027847, -0.007611, -0.007712, -0.020236, 0.102199, 0.008382],
     ["2023Q1", "2022-12-30", "2023-03-31", 62, 0.087137, 0.039218, 0.117655, 0.112254, -0.030518, -0.031859, -0.009018, -0.009124, -0.022841, 0.111611, 0.010329],
     ["2023Q2", "2023-03-31", "2023-06-30", 62, -0.088934, -0.018821, -0.056464, -0.060497, -0.03247, -0.036137, -0.005402, -0.005395, -0.030735, 0.086065, 0.012032],
     ["2023Q3", "2023-06-30", "2023-09-29", 63, -0.154518, -0.044703, -0.13411, -0.131944, -0.020408, -0.030649, -0.004299, -0.004291, -0.026349, 0.075386, 0.012861],
     ["2023Q4", "2023-09-29", "2023-12-29", 63, 0.160375, 0.063998, 0.191994, 0.19572, -0.031619, -0.037357, -0.007352, -0.007424, -0.030005, 0.098996, 0.013327],
     ["2024Q1", "2023-12-29", "2024-03-28", 61, -0.068237, -0.012956, -0.038868, -0.041684, -0.029369, -0.031555, -0.003455, -0.003423, -0.0281, 0.069151, 0.012869],
     ["2024Q2", "2024-03-28", "2024-06-28", 63, -0.036599, -0.001861, -0.005584, -0.00941, -0.031015, -0.031696, -0.003865, -0.003838, -0.027831, 0.072109, 0.012933],
     ["2024Q3", "2024-06-28", "2024-09-30", 64, 0.138651, 0.057231, 0.171693, 0.178027, -0.033043, -0.037116, -0.003119, -0.003152, -0.033997, 0.063293, 0.013409],
     ["2024Q4", "2024-09-30", "2024-12-31", 64, -0.157684, -0.04603, -0.138089, -0.134489, -0.019595, -0.030232, -0.003067, -0.003053, -0.027165, 0.062726, 0.011719],
     ["2025Q1", "2024-12-31", "2025-03-31", 60, 0.087053, 0.037867, 0.113601, 0.11489, -0.026547, -0.028032, -0.002747, -0.002766, -0.025285, 0.06195, 0.010041],
     ["2025Q2", "2025-03-31", "2025-06-30", 62, 0.007169, 0.014039, 0.042116, 0.038861, -0.034947, -0.03468, -0.003698, -0.003688, -0.030981, 0.071167, 0.010419],
     ["2025Q3", "2025-06-30", "2025-09-30", 64, 0.0208, 0.017003, 0.051009, 0.050012, -0.030209, -0.029993, -0.001779, -0.001795, -0.028215, 0.048731, 0.010618],
     ["2025Q4", "2025-09-30", "2025-12-31", 64, -0.000901, 0.009342, 0.028025, 0.027097, -0.028926, -0.028796, -0.001159, -0.001159, -0.027638, 0.039233, 0.009773],
     ["2026Q1", "2025-12-31", "2026-03-31", 61, -0.030765, -0.001344, -0.004032, -0.005939, -0.026733, -0.027214, -0.001922, -0.001917, -0.025292, 0.051804, 0.008527],
     ["2026Q2", "2026-03-31", "2026-06-30", 62, -0.023296, 0.00083, 0.00249, 0.000658, -0.025786, -0.026061, -0.001832, -0.001832, -0.024229, 0.050223, 0.008787],
     ["2026Q3", "2026-06-30", "2026-09-30", 64, -0.154563, -0.045827, -0.137481, -0.133085, -0.017082, -0.027171, -0.002083, -0.002066, -0.025088, 0.051182, 0.009002],
     ["2026Q4", "2026-09-30", "2026-11-05", 26, 0.104335, 0.036841, 0.110522, 0.113496, -0.006187, -0.009292, -0.00103, -0.001046, -0.008262, 0.054796, 0.003958]
    ]
   },
   "cost_vs_bil": {
    "years": ["2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025"],
    "slope": -2.2,
    "intercept": -0.00781,
    "theory_slope": -2
   }
  },
  "00631L": {
   "calibration": {
    "correlation": 0.9746,
    "slope": 1.887,
    "days_off_by_2pct": 23,
    "days": 2919
   },
   "whole_period": {
    "start": "2014-10-31",
    "end": "2026-11-05",
    "years": 11.599,
    "leverage": 2,
    "underlying_ticker": "0050",
    "fund": 30.812871287128715,
    "underlying": 7.480299131189154,
    "k_x_underlying": 14.960598262378308,
    "ideal": 44.69966863651865,
    "simple_gap": 15.852273024750406,
    "gap": -0.8156204828212901,
    "volatility": -0.4534004011402675,
    "volatility_approx": -0.4532474022318659,
    "costs": -0.3622200816810226,
    "underlying_vol": 0.19729214959603847,
    "gap_per_year": -0.0703169215432655,
    "volatility_per_year": -0.03908891586977332,
    "volatility_approx_per_year": -0.039075725406236814,
    "costs_per_year": -0.031228005673492196,
    "fund_cagr": 0.34754598114392254,
    "underlying_cagr": 0.20237772523334585
   },
   "years": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol"],
    "rows": [
     ["2014", "2014-10-31", "2014-12-31", 44, 0.065842, 0.023737, 0.047473, 0.044703, 0.018368, 0.016846, -0.003186, -0.003212, 0.020033, 0.136887],
     ["2015", "2014-12-31", "2015-12-31", 244, -0.165351, -0.062806, -0.125612, -0.144631, -0.039738, -0.051013, -0.026492, -0.026615, -0.024521, 0.1661],
     ["2016", "2015-12-31", "2016-12-30", 244, 0.391764, 0.196484, 0.392969, 0.399895, -0.001205, -0.028203, -0.022378, -0.022428, -0.005825, 0.151999],
     ["2017", "2016-12-30", "2017-12-29", 246, 0.398241, 0.181389, 0.362777, 0.38356, 0.035463, 0.001834, -0.008722, -0.008754, 0.010555, 0.094242],
     ["2018", "2017-12-29", "2018-12-28", 247, -0.103803, -0.049385, -0.09877, -0.121288, -0.005033, -0.008303, -0.028006, -0.027033, 0.019703, 0.166392],
     ["2019", "2018-12-28", "2019-12-31", 242, 0.708679, 0.335211, 0.670423, 0.756183, 0.038256, -0.042459, -0.015037, -0.015166, -0.027422, 0.124412],
     ["2020", "2019-12-31", "2020-12-31", 245, 0.680672, 0.31139, 0.622781, 0.631382, 0.057892, -0.022982, -0.052748, -0.052767, 0.029766, 0.232647],
     ["2021", "2020-12-31", "2021-12-30", 244, 0.622222, 0.219233, 0.438465, 0.441412, 0.183757, 0.087354, -0.03082, -0.031123, 0.118174, 0.179114],
     ["2022", "2021-12-30", "2022-12-30", 246, -0.364384, -0.213747, -0.427493, -0.410626, 0.06311, 0.027793, -0.047743, -0.047641, 0.075535, 0.22092],
     ["2023", "2022-12-30", "2023-12-29", 239, 0.62931, 0.275152, 0.550304, 0.595143, 0.079006, 0.002026, -0.019168, -0.019468, 0.021194, 0.142585],
     ["2024", "2023-12-29", "2024-12-31", 242, 0.589616, 0.48644, 0.97288, 1.075254, -0.383263, -0.329275, -0.062684, -0.06114, -0.266591, 0.251281],
     ["2025", "2024-12-31", "2025-12-31", 238, 0.509881, 0.368321, 0.736642, 0.762765, -0.22676, -0.215138, -0.060285, -0.0595, -0.154852, 0.250477],
     ["2026", "2025-12-31", "2026-11-05", 202, 0.770791, 0.510987, 1.021973, 1.115719, -0.251183, -0.2541, -0.076131, -0.078401, -0.177968, 0.311493]
    ]
   },
   "quarters": {
    "columns": ["period", "start", "end", "days", "fund", "underlying", "k_x_underlying", "ideal", "simple_gap", "gap", "volatility", "volatility_approx", "costs", "underlying_vol"],
    "rows": [
     ["2014Q4", "2014-10-31", "2014-12-31", 44, 0.065842, 0.023737, 0.047473, 0.044703, 0.018368, 0.016846, -0.003186, -0.003212, 0.020033, 0.136887],
     ["2015Q1", "2014-12-31", "2015-03-31", 55, 0.053414, 0.032909, 0.065819, 0.063155, -0.012405, -0.012723, -0.003518, -0.003525, -0.009205, 0.127877],
     ["2015Q2", "2015-03-31", "2015-06-30", 61, -0.03836, 0.005069, 0.010138, 0.005579, -0.048497, -0.049227, -0.004548, -0.004552, -0.044678, 0.138261],
     ["2015Q3", "2015-06-30", "2015-09-30", 63, -0.189821, -0.100865, -0.201729, -0.201332, 0.011908, 0.002143, -0.012167, -0.012236, 0.014309, 0.221552],
     ["2015Q4", "2015-09-30", "2015-12-31", 65, 0.016978, 0.004029, 0.008058, 0.001784, 0.00892, 0.008794, -0.006259, -0.006301, 0.015053, 0.157506],
     ["2016Q1", "2015-12-31", "2016-03-31", 57, 0.126322, 0.064198, 0.128395, 0.126292, -0.002073, -0.005485, -0.005511, -0.005531, 2.6e-05, 0.156704],
     ["2016Q2", "2016-03-31", "2016-06-30", 61, 0.001976, 0.012374, 0.024749, 0.018368, -0.022772, -0.022622, -0.006396, -0.00637, -0.016227, 0.163519],
     ["2016Q3", "2016-06-30", "2016-09-30", 62, 0.207101, 0.097417, 0.194833, 0.197715, 0.012267, 0.002303, -0.005502, -0.005613, 0.007805, 0.150256],
     ["2016Q4", "2016-09-30", "2016-12-30", 64, 0.02165, 0.01198, 0.023961, 0.019028, -0.00231, -0.002399, -0.004969, -0.004913, 0.00257, 0.140145],
     ["2017Q1", "2016-12-30", "2017-03-31", 57, 0.119152, 0.050834, 0.101667, 0.102301, 0.017485, 0.013404, -0.001768, -0.001778, 0.015172, 0.088325],
     ["2017Q2", "2017-03-31", "2017-06-30", 61, 0.161486, 0.090909, 0.181818, 0.187371, -0.020332, -0.024322, -0.002281, -0.002309, -0.022041, 0.095728],
     ["2017Q3", "2017-06-30", "2017-09-30", 66, 0.043679, 0.018635, 0.037271, 0.035249, 0.006408, 0.005824, -0.002286, -0.002293, 0.00811, 0.094161],
     ["2017Q4", "2017-09-30", "2017-12-29", 62, 0.030651, 0.0117, 0.023399, 0.021096, 0.007252, 0.006928, -0.002387, -0.002373, 0.009314, 0.098966],
     ["2018Q1", "2017-12-29", "2018-03-31", 58, 0.063197, 0.035781, 0.071562, 0.065494, -0.008365, -0.009031, -0.006872, -0.006667, -0.002158, 0.171349],
     ["2018Q2", "2018-03-31", "2018-06-29", 60, -0.011834, -0.018083, -0.036166, -0.039954, 0.024332, 0.024592, -0.004276, -0.00425, 0.028869, 0.134656],
     ["2018Q3", "2018-06-29", "2018-09-28", 64, 0.107784, 0.075808, 0.151617, 0.153372, -0.043832, -0.043783, -0.003455, -0.003471, -0.040328, 0.11633],
     ["2018Q4", "2018-09-28", "2018-12-28", 65, -0.229975, -0.131185, -0.262371, -0.25521, 0.032395, 0.019918, -0.013402, -0.012646, 0.03332, 0.220686],
     ["2019Q1", "2018-12-28", "2019-03-29", 54, 0.19113, 0.08084, 0.16168, 0.163942, 0.029449, 0.019425, -0.003665, -0.003696, 0.02309, 0.130437],
     ["2019Q2", "2019-03-29", "2019-06-28", 61, 0.038039, 0.02211, 0.04422, 0.040719, -0.006181, -0.006405, -0.003826, -0.003835, -0.002578, 0.126762],
     ["2019Q3", "2019-06-28", "2019-09-27", 63, 0.088516, 0.054662, 0.109325, 0.108505, -0.020809, -0.021626, -0.00343, -0.003446, -0.018197, 0.117531],
     ["2019Q4", "2019-09-27", "2019-12-31", 64, 0.269559, 0.145981, 0.291962, 0.307879, -0.022403, -0.033853, -0.004115, -0.004189, -0.029737, 0.12474],
     ["2020Q1", "2019-12-31", "2020-03-31", 56, -0.3662, -0.189022, -0.378043, -0.360984, 0.011844, -0.036993, -0.028798, -0.028456, -0.008196, 0.356734],
     ["2020Q2", "2020-03-31", "2020-06-30", 60, 0.496759, 0.180565, 0.361129, 0.381813, 0.13563, 0.071316, -0.008589, -0.008656, 0.079906, 0.186828],
     ["2020Q3", "2020-06-30", "2020-09-30", 66, 0.246063, 0.154041, 0.308083, 0.31851, -0.06202, -0.066551, -0.010038, -0.010208, -0.056513, 0.195658],
     ["2020Q4", "2020-09-30", "2020-12-31", 63, 0.421801, 0.186893, 0.373786, 0.401236, 0.048015, 0.009246, -0.005324, -0.005448, 0.01457, 0.142094],
     ["2021Q1", "2020-12-31", "2021-03-31", 55, 0.270556, 0.126271, 0.252543, 0.253376, 0.018013, 0.001629, -0.011984, -0.012254, 0.013613, 0.23635],
     ["2021Q2", "2021-03-31", "2021-06-30", 61, 0.163533, 0.031169, 0.062338, 0.053622, 0.101195, 0.090075, -0.009152, -0.009173, 0.099228, 0.196067],
     ["2021Q3", "2021-06-30", "2021-09-30", 64, -0.054491, -0.011151, -0.022303, -0.027647, -0.032188, -0.033604, -0.005608, -0.005588, -0.027995, 0.149492],
     ["2021Q4", "2021-09-30", "2021-12-30", 64, 0.160572, 0.061656, 0.123313, 0.12253, 0.03726, 0.029253, -0.004075, -0.004108, 0.033328, 0.127243],
     ["2022Q1", "2021-12-30", "2022-03-31", 56, -0.061986, -0.030042, -0.060084, -0.067186, -0.001903, -0.002986, -0.008544, -0.008502, 0.005558, 0.197221],
     ["2022Q2", "2022-03-31", "2022-06-30", 61, -0.281855, -0.161477, -0.322954, -0.30414, 0.0411, 0.021144, -0.01038, -0.010241, 0.031524, 0.202483],
     ["2022Q3", "2022-06-30", "2022-09-30", 65, -0.154042, -0.092507, -0.185013, -0.186275, 0.030972, 0.026853, -0.011994, -0.011884, 0.038847, 0.215156],
     ["2022Q4", "2022-09-30", "2022-12-30", 64, 0.115385, 0.065249, 0.130498, 0.115824, -0.015113, -0.017218, -0.016824, -0.017014, -0.000394, 0.260259],
     ["2023Q1", "2022-12-30", "2023-03-31", 54, 0.266164, 0.128288, 0.256576, 0.263656, 0.009588, -0.005411, -0.007394, -0.007638, 0.001983, 0.186953],
     ["2023Q2", "2023-03-31", "2023-06-30", 59, 0.151064, 0.061678, 0.123355, 0.123477, 0.027709, 0.020986, -0.003272, -0.003334, 0.024258, 0.119191],
     ["2023Q3", "2023-06-30", "2023-09-28", 63, -0.055083, -0.036087, -0.072174, -0.075147, 0.01709, 0.01685, -0.004612, -0.004574, 0.021462, 0.136063],
     ["2023Q4", "2023-09-28", "2023-12-29", 63, 0.183099, 0.104362, 0.208724, 0.214881, -0.025625, -0.030399, -0.003889, -0.003923, -0.026509, 0.12363],
     ["2024Q1", "2023-12-29", "2024-03-29", 56, 0.287698, 0.192928, 0.385856, 0.412351, -0.098157, -0.099965, -0.007566, -0.007948, -0.092399, 0.183729],
     ["2024Q2", "2024-03-29", "2024-06-28", 61, 0.288136, 0.180811, 0.361621, 0.3762, -0.073486, -0.079206, -0.013076, -0.012969, -0.06613, 0.228942],
     ["2024Q3", "2024-06-28", "2024-09-30", 63, -0.087121, -0.008367, -0.016734, -0.049776, -0.070387, -0.074348, -0.034253, -0.032361, -0.040095, 0.362665],
     ["2024Q4", "2024-09-30", "2024-12-31", 62, 0.049793, 0.064148, 0.128296, 0.123624, -0.078503, -0.075756, -0.00779, -0.007863, -0.067967, 0.179421],
     ["2025Q1", "2024-12-31", "2025-03-31", 55, -0.205326, -0.105299, -0.210599, -0.207785, 0.005273, -0.00729, -0.010391, -0.010137, 0.0031, 0.215289],
     ["2025Q2", "2025-03-31", "2025-06-30", 56, 0.117801, 0.119768, 0.239537, 0.21202, -0.121736, -0.11488, -0.033955, -0.033282, -0.080925, 0.388733],
     ["2025Q3", "2025-06-30", "2025-09-30", 65, 0.390164, 0.203389, 0.406778, 0.439044, -0.016614, -0.040862, -0.006304, -0.006371, -0.034557, 0.151454],
     ["2025Q4", "2025-09-30", "2025-12-31", 62, 0.222709, 0.134948, 0.269896, 0.275756, -0.047187, -0.052105, -0.009635, -0.00971, -0.04247, 0.197385],
     ["2026Q1", "2025-12-31", "2026-03-31", 55, 0.167594, 0.118463, 0.236926, 0.229727, -0.069332, -0.068965, -0.017118, -0.017192, -0.051847, 0.281066],
     ["2026Q2", "2026-03-31", "2026-06-30", 61, 0.994808, 0.489979, 0.979959, 1.157049, 0.014849, -0.106977, -0.028783, -0.030021, -0.078193, 0.338102],
     ["2026Q3", "2026-06-30", "2026-09-30", 63, 0.014836, 0.04575, 0.0915, 0.067724, -0.076664, -0.074742, -0.02394, -0.025117, -0.050802, 0.319183],
     ["2026Q4", "2026-09-30", "2026-11-05", 23, -0.250834, -0.132976, -0.265953, -0.252983, 0.015119, -0.003416, -0.00629, -0.00607, 0.002874, 0.244594]
    ]
   }
  }
 },
 "volatile_days": {
  "design": "tqqq_switch",
  "start": "2016-04-04",
  "end": "2026-11-05",
  "rule": "QQQ 20-day volatility above 25% at the prior close",
  "calm": {
   "days": 2065,
   "share_of_days": 0.7749,
   "share_of_volatility_term": 0.4732,
   "base_log_per_year": 0.181,
   "fund_log_per_year": 0.3821,
   "base_sharpe": 1.1287,
   "fund_sharpe": 1.0019
  },
  "volatile": {
   "days": 600,
   "share_of_days": 0.2251,
   "share_of_volatility_term": 0.5268,
   "base_log_per_year": 0.1511,
   "fund_log_per_year": 0.021,
   "base_sharpe": 0.6127,
   "fund_sharpe": 0.5288
  },
  "volatile_days_by_year": {
   "2016": 0,
   "2017": 0,
   "2018": 87,
   "2019": 30,
   "2020": 123,
   "2021": 26,
   "2022": 220,
   "2023": 18,
   "2024": 20,
   "2025": 43,
   "2026": 33
  }
 },
 "switch": {
  "tqqq_switch": {
   "design": "tqqq_switch",
   "fund": "TQQQ",
   "base": "QQQ",
   "params": [20, 0.25],
   "full": {
    "start": "2016-04-04",
    "end": "2026-11-05",
    "sharpe": 0.9734,
    "bench_sharpe": 0.8953,
    "beats": true
   },
   "stats": {
    "cagr": 0.420562,
    "sharpe": 0.973372,
    "vol": 0.48246,
    "mdd": -0.574576
   },
   "bench_stats": {
    "cagr": 0.190576,
    "sharpe": 0.89531,
    "vol": 0.223024,
    "mdd": -0.351225
   },
   "fund_stats": {
    "cagr": 0.352861,
    "sharpe": 0.793045,
    "vol": 0.660152,
    "mdd": -0.816547
   },
   "yearly": {
    "strategy": {
     "2016": 0.2212,
     "2017": 1.1811,
     "2018": -0.107,
     "2019": 1.0907,
     "2020": 0.7664,
     "2021": 0.6153,
     "2022": -0.5157,
     "2023": 2.0995,
     "2024": 0.4377,
     "2025": 0.3011,
     "2026": 0.0323
    },
    "fund": {
     "2016": 0.2212,
     "2017": 1.1811,
     "2018": -0.1981,
     "2019": 1.3386,
     "2020": 1.1007,
     "2021": 0.8297,
     "2022": -0.7909,
     "2023": 1.9826,
     "2024": 0.5825,
     "2025": 0.3436,
     "2026": -0.037
    },
    "bench": {
     "2016": 0.0865,
     "2017": 0.3266,
     "2018": -0.0012,
     "2019": 0.3896,
     "2020": 0.4862,
     "2021": 0.2742,
     "2022": -0.3258,
     "2023": 0.5485,
     "2024": 0.2558,
     "2025": 0.2077,
     "2026": 0.0568
    }
   },
   "time_in_fund": 0.7745,
   "switches_per_year": 5.57,
   "grid": [
    {
     "params": [10, 0.2],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.8838,
     "bench_sharpe": 0.8953,
     "beats": false
    },
    {
     "params": [10, 0.25],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.9613,
     "bench_sharpe": 0.8953,
     "beats": true
    },
    {
     "params": [10, 0.3],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.81,
     "bench_sharpe": 0.8953,
     "beats": false
    },
    {
     "params": [20, 0.2],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.8925,
     "bench_sharpe": 0.8953,
     "beats": false
    },
    {
     "params": [20, 0.25],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.9734,
     "bench_sharpe": 0.8953,
     "beats": true
    },
    {
     "params": [20, 0.3],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.9233,
     "bench_sharpe": 0.8953,
     "beats": true
    },
    {
     "params": [40, 0.2],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.936,
     "bench_sharpe": 0.8953,
     "beats": true
    },
    {
     "params": [40, 0.25],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.8697,
     "bench_sharpe": 0.8953,
     "beats": false
    },
    {
     "params": [40, 0.3],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.8661,
     "bench_sharpe": 0.8953,
     "beats": false
    }
   ],
   "grid_wins": 4,
   "halves": [
    {
     "start": "2016-04-04",
     "end": "2021-07-20",
     "sharpe": 1.22,
     "bench_sharpe": 1.1746,
     "beats": true
    },
    {
     "start": "2021-07-21",
     "end": "2026-11-05",
     "sharpe": 0.7436,
     "bench_sharpe": 0.6227,
     "beats": true
    }
   ],
   "cost": {
    "start": "2016-04-01",
    "end": "2026-11-05",
    "sharpe": 0.9503,
    "bench_sharpe": 0.8935,
    "beats": true
   },
   "fixed_mix": {
    "weight": 0.7745,
    "sharpe": 0.8206,
    "beaten": true
   },
   "drop_best_year": {
    "best_year": 2023,
    "best_year_return": 2.0995,
    "sharpe": 0.8067,
    "bench_sharpe": 0.7619,
    "beats": true
   },
   "passed": {
    "neighbours": false,
    "halves": true,
    "costs": true,
    "fixed_mix": true,
    "best_year": true,
    "all": false
   },
   "excess_bil_sharpe": {
    "strategy": 0.9279,
    "bench": 0.7969
   }
  },
  "qld_switch": {
   "design": "qld_switch",
   "fund": "QLD",
   "base": "QQQ",
   "params": [20, 0.25],
   "full": {
    "start": "2016-04-04",
    "end": "2026-11-05",
    "sharpe": 0.9618,
    "bench_sharpe": 0.8953,
    "beats": true
   },
   "stats": {
    "cagr": 0.312332,
    "sharpe": 0.961837,
    "vol": 0.345699,
    "mdd": -0.467658
   },
   "bench_stats": {
    "cagr": 0.190576,
    "sharpe": 0.89531,
    "vol": 0.223024,
    "mdd": -0.351225
   },
   "fund_stats": {
    "cagr": 0.297321,
    "sharpe": 0.809454,
    "vol": 0.445785,
    "mdd": -0.636679
   },
   "yearly": {
    "strategy": {
     "2016": 0.1556,
     "2017": 0.6999,
     "2018": -0.0455,
     "2019": 0.7182,
     "2020": 0.634,
     "2021": 0.4541,
     "2022": -0.4239,
     "2023": 1.2153,
     "2024": 0.3578,
     "2025": 0.2653,
     "2026": 0.059
    },
    "fund": {
     "2016": 0.1556,
     "2017": 0.6999,
     "2018": -0.0824,
     "2019": 0.8171,
     "2020": 0.8887,
     "2021": 0.5466,
     "2022": -0.6052,
     "2023": 1.1775,
     "2024": 0.4281,
     "2025": 0.3036,
     "2026": 0.0276
    },
    "bench": {
     "2016": 0.0865,
     "2017": 0.3266,
     "2018": -0.0012,
     "2019": 0.3896,
     "2020": 0.4862,
     "2021": 0.2742,
     "2022": -0.3258,
     "2023": 0.5485,
     "2024": 0.2558,
     "2025": 0.2077,
     "2026": 0.0568
    }
   },
   "time_in_fund": 0.7745,
   "switches_per_year": 5.57,
   "grid": [
    {
     "params": [10, 0.2],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.9058,
     "bench_sharpe": 0.8953,
     "beats": true
    },
    {
     "params": [10, 0.25],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.9558,
     "bench_sharpe": 0.8953,
     "beats": true
    },
    {
     "params": [10, 0.3],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.8396,
     "bench_sharpe": 0.8953,
     "beats": false
    },
    {
     "params": [20, 0.2],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.913,
     "bench_sharpe": 0.8953,
     "beats": true
    },
    {
     "params": [20, 0.25],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.9618,
     "bench_sharpe": 0.8953,
     "beats": true
    },
    {
     "params": [20, 0.3],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.9234,
     "bench_sharpe": 0.8953,
     "beats": true
    },
    {
     "params": [40, 0.2],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.9406,
     "bench_sharpe": 0.8953,
     "beats": true
    },
    {
     "params": [40, 0.25],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.8892,
     "bench_sharpe": 0.8953,
     "beats": false
    },
    {
     "params": [40, 0.3],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.8807,
     "bench_sharpe": 0.8953,
     "beats": false
    }
   ],
   "grid_wins": 6,
   "halves": [
    {
     "start": "2016-04-04",
     "end": "2021-07-20",
     "sharpe": 1.225,
     "bench_sharpe": 1.1746,
     "beats": true
    },
    {
     "start": "2021-07-21",
     "end": "2026-11-05",
     "sharpe": 0.7146,
     "bench_sharpe": 0.6227,
     "beats": true
    }
   ],
   "cost": {
    "start": "2016-04-01",
    "end": "2026-11-05",
    "sharpe": 0.9298,
    "bench_sharpe": 0.8935,
    "beats": true
   },
   "fixed_mix": {
    "weight": 0.7745,
    "sharpe": 0.8376,
    "beaten": true
   },
   "drop_best_year": {
    "best_year": 2023,
    "best_year_return": 1.2153,
    "sharpe": 0.8036,
    "bench_sharpe": 0.7619,
    "beats": true
   },
   "passed": {
    "neighbours": false,
    "halves": true,
    "costs": true,
    "fixed_mix": true,
    "best_year": true,
    "all": false
   },
   "excess_bil_sharpe": {
    "strategy": 0.8984,
    "bench": 0.7969
   }
  },
  "upro_switch": {
   "design": "upro_switch",
   "fund": "UPRO",
   "base": "SPY",
   "params": [20, 0.2],
   "full": {
    "start": "2016-04-04",
    "end": "2026-11-05",
    "sharpe": 0.8585,
    "bench_sharpe": 0.8953,
    "beats": false
   },
   "stats": {
    "cagr": 0.284488,
    "sharpe": 0.858458,
    "vol": 0.37522,
    "mdd": -0.460928
   },
   "bench_stats": {
    "cagr": 0.190576,
    "sharpe": 0.89531,
    "vol": 0.223024,
    "mdd": -0.351225
   },
   "fund_stats": {
    "cagr": 0.271218,
    "sharpe": 0.723374,
    "vol": 0.53046,
    "mdd": -0.768044
   },
   "yearly": {
    "strategy": {
     "2016": 0.2628,
     "2017": 0.7139,
     "2018": -0.1317,
     "2019": 0.67,
     "2020": 0.2849,
     "2021": 0.9119,
     "2022": -0.4166,
     "2023": 0.6858,
     "2024": 0.5037,
     "2025": 0.1362,
     "2026": 0.0932
    },
    "fund": {
     "2016": 0.2817,
     "2017": 0.7139,
     "2018": -0.2515,
     "2019": 1.0234,
     "2020": 0.1006,
     "2021": 0.9864,
     "2022": -0.5683,
     "2023": 0.6858,
     "2024": 0.6355,
     "2025": 0.3189,
     "2026": 0.1115
    },
    "bench": {
     "2016": 0.0865,
     "2017": 0.3266,
     "2018": -0.0012,
     "2019": 0.3896,
     "2020": 0.4862,
     "2021": 0.2742,
     "2022": -0.3258,
     "2023": 0.5485,
     "2024": 0.2558,
     "2025": 0.2077,
     "2026": 0.0568
    }
   },
   "time_in_fund": 0.8199,
   "switches_per_year": 5.19,
   "grid": [
    {
     "params": [10, 0.15],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.7559,
     "bench_sharpe": 0.8953,
     "beats": false
    },
    {
     "params": [10, 0.2],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.7869,
     "bench_sharpe": 0.8953,
     "beats": false
    },
    {
     "params": [10, 0.25],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.7751,
     "bench_sharpe": 0.8953,
     "beats": false
    },
    {
     "params": [20, 0.15],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.8564,
     "bench_sharpe": 0.8953,
     "beats": false
    },
    {
     "params": [20, 0.2],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.8585,
     "bench_sharpe": 0.8953,
     "beats": false
    },
    {
     "params": [20, 0.25],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.7885,
     "bench_sharpe": 0.8953,
     "beats": false
    },
    {
     "params": [40, 0.15],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.8318,
     "bench_sharpe": 0.8953,
     "beats": false
    },
    {
     "params": [40, 0.2],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.81,
     "bench_sharpe": 0.8953,
     "beats": false
    },
    {
     "params": [40, 0.25],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.6706,
     "bench_sharpe": 0.8953,
     "beats": false
    }
   ],
   "grid_wins": 0,
   "halves": [
    {
     "start": "2016-04-04",
     "end": "2021-07-20",
     "sharpe": 1.142,
     "bench_sharpe": 1.1746,
     "beats": false
    },
    {
     "start": "2021-07-21",
     "end": "2026-11-05",
     "sharpe": 0.5955,
     "bench_sharpe": 0.6227,
     "beats": false
    }
   ],
   "cost": {
    "start": "2016-04-01",
    "end": "2026-11-05",
    "sharpe": 0.8307,
    "bench_sharpe": 0.8935,
    "beats": false
   },
   "fixed_mix": {
    "weight": 0.8199,
    "sharpe": 0.7369,
    "beaten": true
   },
   "drop_best_year": {
    "best_year": 2021,
    "best_year_return": 0.9119,
    "sharpe": 0.7489,
    "bench_sharpe": 0.8527,
    "beats": false
   },
   "passed": {
    "neighbours": false,
    "halves": false,
    "costs": false,
    "fixed_mix": true,
    "best_year": false,
    "all": false
   },
   "excess_bil_sharpe": {
    "strategy": 0.8,
    "bench": 0.7969
   }
  },
  "soxl_switch": {
   "design": "soxl_switch",
   "fund": "SOXL",
   "base": "SOXX",
   "params": [20, 0.35],
   "full": {
    "start": "2016-04-04",
    "end": "2026-11-05",
    "sharpe": 1.0195,
    "bench_sharpe": 0.8953,
    "beats": true
   },
   "stats": {
    "cagr": 0.600938,
    "sharpe": 1.019491,
    "vol": 0.719541,
    "mdd": -0.724557
   },
   "bench_stats": {
    "cagr": 0.190576,
    "sharpe": 0.89531,
    "vol": 0.223024,
    "mdd": -0.351225
   },
   "fund_stats": {
    "cagr": 0.355406,
    "sharpe": 0.819036,
    "vol": 1.026722,
    "mdd": -0.904589
   },
   "yearly": {
    "strategy": {
     "2016": 1.2273,
     "2017": 1.4141,
     "2018": -0.4619,
     "2019": 1.7574,
     "2020": 1.004,
     "2021": 1.0076,
     "2022": -0.5675,
     "2023": 2.2406,
     "2024": 0.1922,
     "2025": 0.3625,
     "2026": 0.9952
    },
    "fund": {
     "2016": 1.2273,
     "2017": 1.4141,
     "2018": -0.3909,
     "2019": 2.3211,
     "2020": 0.7001,
     "2021": 1.1883,
     "2022": -0.8566,
     "2023": 2.2698,
     "2024": -0.1234,
     "2025": 0.5487,
     "2026": -0.0287
    },
    "bench": {
     "2016": 0.0865,
     "2017": 0.3266,
     "2018": -0.0012,
     "2019": 0.3896,
     "2020": 0.4862,
     "2021": 0.2742,
     "2022": -0.3258,
     "2023": 0.5485,
     "2024": 0.2558,
     "2025": 0.2077,
     "2026": 0.0568
    }
   },
   "time_in_fund": 0.6829,
   "switches_per_year": 9.92,
   "grid": [
    {
     "params": [10, 0.3],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.8455,
     "bench_sharpe": 0.8953,
     "beats": false
    },
    {
     "params": [10, 0.35],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.7876,
     "bench_sharpe": 0.8953,
     "beats": false
    },
    {
     "params": [10, 0.4],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.773,
     "bench_sharpe": 0.8953,
     "beats": false
    },
    {
     "params": [20, 0.3],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.9749,
     "bench_sharpe": 0.8953,
     "beats": true
    },
    {
     "params": [20, 0.35],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 1.0195,
     "bench_sharpe": 0.8953,
     "beats": true
    },
    {
     "params": [20, 0.4],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.9458,
     "bench_sharpe": 0.8953,
     "beats": true
    },
    {
     "params": [40, 0.3],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 1.148,
     "bench_sharpe": 0.8953,
     "beats": true
    },
    {
     "params": [40, 0.35],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.9361,
     "bench_sharpe": 0.8953,
     "beats": true
    },
    {
     "params": [40, 0.4],
     "start": "2016-04-04",
     "end": "2026-11-05",
     "sharpe": 0.8319,
     "bench_sharpe": 0.8953,
     "beats": false
    }
   ],
   "grid_wins": 5,
   "halves": [
    {
     "start": "2016-04-04",
     "end": "2021-07-20",
     "sharpe": 1.1682,
     "bench_sharpe": 1.1746,
     "beats": false
    },
    {
     "start": "2021-07-21",
     "end": "2026-11-05",
     "sharpe": 0.8606,
     "bench_sharpe": 0.6227,
     "beats": true
    }
   ],
   "cost": {
    "start": "2016-04-01",
    "end": "2026-11-05",
    "sharpe": 0.9917,
    "bench_sharpe": 0.8935,
    "beats": true
   },
   "fixed_mix": {
    "weight": 0.6829,
    "sharpe": 0.8448,
    "beaten": true
   },
   "drop_best_year": {
    "best_year": 2023,
    "best_year_return": 2.2406,
    "sharpe": 0.9199,
    "bench_sharpe": 0.7619,
    "beats": true
   },
   "passed": {
    "neighbours": false,
    "halves": false,
    "costs": true,
    "fixed_mix": true,
    "best_year": true,
    "all": false
   },
   "excess_bil_sharpe": {
    "strategy": 0.989,
    "bench": 0.7969
   }
  },
  "00631l_switch": {
   "design": "00631l_switch",
   "fund": "00631L",
   "base": "0050",
   "params": [20, 0.2],
   "full": {
    "start": "2015-01-05",
    "end": "2026-11-05",
    "sharpe": 0.8311,
    "bench_sharpe": 1.0349,
    "beats": false
   },
   "stats": {
    "cagr": 0.219305,
    "sharpe": 0.831137,
    "vol": 0.30216,
    "mdd": -0.476055
   },
   "bench_stats": {
    "cagr": 0.196089,
    "sharpe": 1.034872,
    "vol": 0.197946,
    "mdd": -0.33957
   },
   "fund_stats": {
    "cagr": 0.333269,
    "sharpe": 0.969471,
    "vol": 0.383448,
    "mdd": -0.551437
   },
   "yearly": {
    "strategy": {
     "2015": -0.2437,
     "2016": 0.2604,
     "2017": 0.4001,
     "2018": -0.1538,
     "2019": 0.7167,
     "2020": 0.4115,
     "2021": 0.3115,
     "2022": -0.3907,
     "2023": 0.5527,
     "2024": 0.3687,
     "2025": 0.3318,
     "2026": 0.6877
    },
    "fund": {
     "2015": -0.1591,
     "2016": 0.3918,
     "2017": 0.3982,
     "2018": -0.1038,
     "2019": 0.7087,
     "2020": 0.6807,
     "2021": 0.6222,
     "2022": -0.3644,
     "2023": 0.6293,
     "2024": 0.5896,
     "2025": 0.5099,
     "2026": 0.7708
    },
    "bench": {
     "2015": -0.0586,
     "2016": 0.1965,
     "2017": 0.1814,
     "2018": -0.0494,
     "2019": 0.3352,
     "2020": 0.3114,
     "2021": 0.2192,
     "2022": -0.2137,
     "2023": 0.2752,
     "2024": 0.4864,
     "2025": 0.3683,
     "2026": 0.511
    }
   },
   "time_in_fund": 0.7277,
   "switches_per_year": 7.18,
   "grid": [
    {
     "params": [10, 0.15],
     "start": "2015-01-05",
     "end": "2026-11-05",
     "sharpe": 0.6222,
     "bench_sharpe": 1.0349,
     "beats": false
    },
    {
     "params": [10, 0.2],
     "start": "2015-01-05",
     "end": "2026-11-05",
     "sharpe": 0.6788,
     "bench_sharpe": 1.0349,
     "beats": false
    },
    {
     "params": [10, 0.25],
     "start": "2015-01-05",
     "end": "2026-11-05",
     "sharpe": 0.8013,
     "bench_sharpe": 1.0349,
     "beats": false
    },
    {
     "params": [20, 0.15],
     "start": "2015-01-05",
     "end": "2026-11-05",
     "sharpe": 0.7197,
     "bench_sharpe": 1.0349,
     "beats": false
    },
    {
     "params": [20, 0.2],
     "start": "2015-01-05",
     "end": "2026-11-05",
     "sharpe": 0.8311,
     "bench_sharpe": 1.0349,
     "beats": false
    },
    {
     "params": [20, 0.25],
     "start": "2015-01-05",
     "end": "2026-11-05",
     "sharpe": 0.7753,
     "bench_sharpe": 1.0349,
     "beats": false
    },
    {
     "params": [40, 0.15],
     "start": "2015-01-05",
     "end": "2026-11-05",
     "sharpe": 0.8186,
     "bench_sharpe": 1.0349,
     "beats": false
    },
    {
     "params": [40, 0.2],
     "start": "2015-01-05",
     "end": "2026-11-05",
     "sharpe": 0.7975,
     "bench_sharpe": 1.0349,
     "beats": false
    },
    {
     "params": [40, 0.25],
     "start": "2015-01-05",
     "end": "2026-11-05",
     "sharpe": 0.8146,
     "bench_sharpe": 1.0349,
     "beats": false
    }
   ],
   "grid_wins": 0,
   "halves": [
    {
     "start": "2015-01-05",
     "end": "2020-12-04",
     "sharpe": 0.7119,
     "bench_sharpe": 0.891,
     "beats": false
    },
    {
     "start": "2020-12-07",
     "end": "2026-11-05",
     "sharpe": 0.9349,
     "bench_sharpe": 1.1567,
     "beats": false
    }
   ],
   "cost": {
    "start": "2015-01-05",
    "end": "2026-11-05",
    "sharpe": 0.8311,
    "bench_sharpe": 1.0349,
    "beats": false
   },
   "fixed_mix": {
    "weight": 0.7277,
    "sharpe": 0.9797,
    "beaten": false
   },
   "drop_best_year": {
    "best_year": 2019,
    "best_year_return": 0.7167,
    "sharpe": 0.7141,
    "bench_sharpe": 0.9604,
    "beats": false
   },
   "passed": {
    "neighbours": false,
    "halves": false,
    "costs": false,
    "fixed_mix": false,
    "best_year": false,
    "all": false
   },
   "etf_tax_reference": {
    "start": "2015-01-05",
    "end": "2026-11-05",
    "sharpe": 0.8809,
    "bench_sharpe": 1.0349,
    "beats": false
   }
  }
 }
}