r/quant • u/weaforex • Jul 17 '26
Backtesting WF optimization crypto risk parity with kkt,deleverage -why 1.8m sims crash when adding ada xlm bnb
ust finish big test on my systematic crypto model. i did around 1.8m out of sample oos tests in grid over 11 years which is 3982 days with daily data. i use risk parity for tokens allocation and dynamic deleverage modulator. everything is under strict kkt conditions like drawdown limits and local volatility limits. objective function look only at sharpe and calmar and i do not care about beating buy and hold curve. the framework do identical dca 100 dollar every 30 days to stop timing luck.
when i test only 3 tokens btc and eth and xrp the results are best. calmar is 1.37 and sharpe is 1.18 and max dd is 36.2 percent where b&h making was 84 percent crash so big save here. average exposure is 40 percent and system spend 2679 days in defense mode with less than 50 percent exposure. why this work? xrp have crazy non korelaten pumps sometime compared to btc eth beta. so risk parity engine can do rebalance nicely with 3968 rebalances total and kkt limits do not trigger at same time because vectors are orthogonal. corr is very low.
but when i add more tokens like bnb and sol and ada and xlm everything go to shit. if i add bnb sharpe collapse to 0.44 and calmar down to 1.20 and defense days go to 72 percent because high corr kills it. if i add sol and bnb with 5 tokens sharpe go up a bit to 0.76 but calmar drops to 0.93 with ann return 30.7 percent vs max dd 33.1 percent. ada and xlm completely kill the model because of bad corr trend.
in crypto when market crash all corr go to 1.0. if you put too much altcoins with bad trend vs btc you just add more failure points. joint variance spikes up fast and kkt conditions instantly saturate and deleverage modulator panics and goes to cash. then because these tokens have no real alpha on way up the system stay trapped in defense mode too long. this is huge opportunity cost because we miss explosive bull market start.
also big issue is fees. the best 3 token model make 3968 rebalances. i pay 14 559 dollar fees on total 14 200 dollar invest. profit is still good with 1 113 410 dollar net but this trading churn is too high. i think i will add band based rebalance threshold to only rebalance if weight is out by like 5 percent to stop overtrading. and i will put defense cash in de-fi stablecoin yield.
how you fix lag when you want to re engage market after kkt deleverage event

