From 04bb5737d658696d5e7f5333de0a36d667f48a21 Mon Sep 17 00:00:00 2001 From: Alberto Balbo Date: Fri, 4 Dec 2026 09:27:38 +0100 Subject: [PATCH] Record the golden reports of the trial judge before the seam Three reports, byte for byte, with the elapsed seconds set to zero: the average cross with prior trials, the crypto_trend protocol and a judged variant outside the grid. The seam between the judge and the engines must leave them unchanged. refs #118 Co-Authored-By: Claude Opus 5.5 --- .../Fixtures/golden/crypto_trend.report.json | 1 + .../golden/crypto_trend_judged.report.json | 1 + .../Fixtures/golden/sma_cross.report.json | 1 + tests/Anubis.Tests/TrialSeamTests.cs | 86 +++++++++++++++++++ 4 files changed, 89 insertions(+) create mode 100644 tests/Anubis.Tests/Fixtures/golden/crypto_trend.report.json create mode 100644 tests/Anubis.Tests/Fixtures/golden/crypto_trend_judged.report.json create mode 100644 tests/Anubis.Tests/Fixtures/golden/sma_cross.report.json create mode 100644 tests/Anubis.Tests/TrialSeamTests.cs diff --git a/tests/Anubis.Tests/Fixtures/golden/crypto_trend.report.json b/tests/Anubis.Tests/Fixtures/golden/crypto_trend.report.json new file mode 100644 index 0000000..0b79177 --- /dev/null +++ b/tests/Anubis.Tests/Fixtures/golden/crypto_trend.report.json @@ -0,0 +1 @@ +{"trial_id":"6d2f3a51-0c4e-4b7a-9a61-3f1e2d0c9b12","strategy":"crypto_trend","strategy_name":"Trend crypto","strategy_version":"1","plan_hash":"7ec3317ccccbafae965e26b5c3346bfb4b5b98aec00bceb947e3dc996868e7d1","data_fingerprint":"c642391a4ac6bb996b606faa124a920f145d7e48348fd9992e8dc8847e7f5210","currency":"EUR","periods_per_year":365,"sessions":800,"instruments":[{"symbol":"BTCEUR","venue":"binance_eur","first":"2024-10-23","last":"2026-12-31","bars":800,"actions":0,"source":"storico Binance convertito in euro"},{"symbol":"ETHEUR","venue":"binance_eur","first":"2024-10-23","last":"2026-12-31","bars":800,"actions":0,"source":"storico Binance convertito in euro"},{"symbol":"SOLEUR","venue":"binance_eur","first":"2024-10-23","last":"2026-12-31","bars":800,"actions":0,"source":"storico Binance convertito in euro"}],"chosen":"coin_vol=10;max_stop=10","metrics":{"from":"2024-10-23","to":"2026-12-31","initial_capital":10000,"final_equity":42498.58399720671700250,"total_return":3.2498583997206714,"annual_return":0.9375426829552627,"volatility":0.07235876643893155,"sharpe":9.178841572568931,"daily_sharpe":0.48044252607481563,"max_drawdown":0.026175829689565357,"drawdown_peak":"2026-10-11","drawdown_low":"2026-10-16","trades":36,"winners":10,"profit_factor":35.29456708299872,"average_win":2313.081459858028508055,"average_loss":-25.206335956407039201923076923,"fees":396.81028898370354480,"exposure":0.23565100560758143,"years":[{"year":2024,"start":10000,"end":10000,"result":0,"return":0},{"year":2025,"start":10000,"end":11331.10279399256161285,"result":1331.10279399256161285,"return":0.13311027939925602},{"year":2026,"start":11331.10279399256161285,"end":42498.58399720671700250,"result":31167.48120321415538965,"return":2.7506132253727587}],"net_result":32498.58399720671700250,"win_rate":0.2777777777777778},"benchmark":{"from":"2024-10-23","to":"2026-12-31","initial_capital":10000,"final_equity":166213.82941437167155,"total_return":15.621382941437169,"annual_return":2.6141681851348806,"volatility":0.14608381895658237,"sharpe":8.877533265620782,"daily_sharpe":0.46467132848163395,"max_drawdown":0.09004021309394361,"drawdown_peak":"2026-10-11","drawdown_low":"2026-11-24","trades":0,"winners":0,"average_win":0,"average_loss":0,"fees":19.9099499956572297,"exposure":0.9974278743768157,"years":[{"year":2024,"start":10000,"end":15368.88961128832475,"result":5368.88961128832475,"return":0.5368889611288326},{"year":2025,"start":15368.88961128832475,"end":51003.69143985236835,"result":35634.80182856404360,"return":2.3186321673096395},{"year":2026,"start":51003.69143985236835,"end":166213.82941437167155,"result":115210.13797451930320,"return":2.2588588143739425}],"net_result":156213.82941437167155,"win_rate":0},"costs":[{"multiplier":1,"net_result":32498.58399720671700250,"total_return":3.2498583997206714,"sharpe":9.178841572568931,"max_drawdown":0.026175829689565357,"fees":396.81028898370354480},{"multiplier":2,"net_result":31681.95878299984471576,"total_return":3.1681958782999846,"sharpe":9.045311963181552,"max_drawdown":0.02651561512819553,"fees":784.70618400521720504},{"multiplier":3,"net_result":31370.57922715067109828,"total_return":3.1370579227150674,"sharpe":8.94483685023732,"max_drawdown":0.0274714489120567,"fees":1172.66034249574190652}],"variants":[{"parameters":"coin_vol=10;max_stop=10","sharpe":0.48044252607481563,"plateau_score":0.4653655889498502,"net_result":32498.58399720671700250,"max_drawdown":0.026175829689565357,"trades":36,"chosen":true,"outside_grid":false},{"parameters":"coin_vol=10;max_stop=15","sharpe":0.445931236512579,"plateau_score":0.445931236512579,"net_result":26183.75750214343511961,"max_drawdown":0.029641772278433863,"trades":35,"chosen":false,"outside_grid":false},{"parameters":"coin_vol=10;max_stop=20","sharpe":0.4223858225329875,"plateau_score":0.4223858225329875,"net_result":24328.79097386721189274,"max_drawdown":0.029754173892141213,"trades":35,"chosen":false,"outside_grid":false},{"parameters":"coin_vol=15;max_stop=10","sharpe":0.4930869429792893,"plateau_score":0.4639457230048902,"net_result":50498.43419278263970438,"max_drawdown":0.025774756298243173,"trades":36,"chosen":false,"outside_grid":false},{"parameters":"coin_vol=15;max_stop=15","sharpe":0.4420016502327168,"plateau_score":0.4420016502327168,"net_result":38197.30057159239968207,"max_drawdown":0.033017070317847674,"trades":35,"chosen":false,"outside_grid":false},{"parameters":"coin_vol=15;max_stop=20","sharpe":0.41763453843434895,"plateau_score":0.41763453843434895,"net_result":33625.32347837452987842,"max_drawdown":0.03612622409318185,"trades":35,"chosen":false,"outside_grid":false},{"parameters":"coin_vol=20;max_stop=10","sharpe":0.48560767004198907,"plateau_score":0.46432514386048657,"net_result":51112.96885923040428466,"max_drawdown":0.026505594831178845,"trades":36,"chosen":false,"outside_grid":false},{"parameters":"coin_vol=20;max_stop=15","sharpe":0.4366043121879511,"plateau_score":0.4366043121879511,"net_result":38707.024288553773908135,"max_drawdown":0.03625399850714449,"trades":35,"chosen":false,"outside_grid":false},{"parameters":"coin_vol=20;max_stop=20","sharpe":0.40635067102248235,"plateau_score":0.40635067102248235,"net_result":33305.24937534011635522,"max_drawdown":0.041135914790743626,"trades":35,"chosen":false,"outside_grid":false}],"walk_forward":{"windows":[{"window":1,"train_from":"2024-10-24","train_to":"2025-03-23","test_from":"2025-04-01","test_to":"2025-09-06","chosen":"coin_vol=10;max_stop=10","return":0,"sharpe":0},{"window":2,"train_from":"2024-10-24","train_to":"2025-08-29","test_from":"2025-09-07","test_to":"2026-02-12","chosen":"coin_vol=10;max_stop=10","return":0.4423158345662517,"sharpe":0.6154747036989195},{"window":3,"train_from":"2024-10-24","train_to":"2026-02-04","test_from":"2026-02-13","test_to":"2026-07-21","chosen":"coin_vol=10;max_stop=10","return":0.6601940594738362,"sharpe":0.7122429008759283},{"window":4,"train_from":"2024-10-24","train_to":"2026-07-13","test_from":"2026-07-22","test_to":"2026-12-31","chosen":"coin_vol=10;max_stop=10","return":0.7748237559890154,"sharpe":0.6998269304595159}],"purge":8,"return":3.2498583997207255,"sharpe":0.5528375496854625},"combinatorial":{"groups":6,"test_groups":2,"splits":15,"purge":8,"embargo":8,"path_sharpes":[0.48099859422597113,0.48099859422597113,0.48099859422597113,0.47685720494377715,0.48099859422597113],"mean_sharpe":0.4801703163695324,"worst_sharpe":0.47685720494377715,"positive_share":1},"overfitting":{"groups":16,"combinations":12870,"variants":9,"probability":0.0056721056721056725},"deflated_sharpe":{"sharpe":0.48044252607481563,"benchmark":0.04803769136054648,"observations":799,"skewness":1.0506935269138513,"kurtosis":4.340720124391887,"trials":9,"sharpe_variance":0.0009977747366630469,"value":1},"trials_counted":9,"look_ahead":{"cutoffs":["2025-02-14","2025-06-08","2025-09-30","2026-01-22","2026-05-16","2026-09-07"],"decisions":2400,"changed":0,"examples":[],"passed":true},"checks":[{"key":"double_costs","name":"Risultato netto con costi doppi","value":31681.958782999845,"comparison":"\u003E","threshold":0,"unit":"money","passed":true},{"key":"deflated_sharpe","name":"Deflated Sharpe Ratio","value":1,"comparison":"\u2265","threshold":0.9,"unit":"ratio","passed":true},{"key":"overfitting","name":"Probabilit\u00E0 di sovra-adattamento (PBO)","value":0.0056721056721056725,"comparison":"\u2264","threshold":0.4,"unit":"ratio","passed":true},{"key":"drawdown","name":"Calo massimo","value":0.026175829689565357,"comparison":"\u2264","threshold":0.25,"unit":"percent","passed":true},{"key":"look_ahead","name":"Decisioni cambiate aggiungendo dati successivi","value":0,"comparison":"=","threshold":0,"unit":"count","passed":true}],"passed":true,"limitations":["I correttivi senza una storia ricostruibile (notizie, calendario economico, trimestrali, modello) non ricevono dati e non intervengono.","Le decisioni si prendono sulla chiusura e si eseguono all\u0027apertura della seduta dopo, con lo scostamento stimato: nessun inseguimento con ordini limite.","Sharpe e volatilit\u00E0 sono calcolati senza tasso privo di rischio.","Limiti di rischio e regime crypto applicati come dal vivo. La strategia \u00E8 il 40% del bot: il resto conta come liquidit\u00E0 ferma. Ogni chiusura vale come un giorno; se scatta l\u0027interruttore, supponiamo che tu riparta dopo sette giorni. Et\u00E0 dei prezzi, prezzo dell\u0027ordine e orologio esistono solo dal vivo.","Prezzi dello storico Binance in USDT convertiti in euro con il cambio BCE del giorno, contando un USDT come un dollaro: \u00E8 un\u0027approssimazione delle coppie in euro di OKX. Su questo storico lo spread non si pu\u00F2 misurare: l\u0027universo sono le monete con pi\u00F9 scambi, passo di prezzo e quantit\u00E0 minima sono stime, i costi sono quelli di OKX."],"curve":[{"day":"2024-10-23","equity":10000,"benchmark":10000},{"day":"2024-10-25","equity":10000,"benchmark":9907.39294975227535},{"day":"2024-10-27","equity":10000,"benchmark":10100.99059585040975},{"day":"2024-10-29","equity":10000,"benchmark":10107.02811245373975},{"day":"2024-10-31","equity":10000,"benchmark":10121.44293143056055},{"day":"2024-11-02","equity":10000,"benchmark":10200.24564608361075},{"day":"2024-11-04","equity":10000,"benchmark":10407.52283344629535},{"day":"2024-11-06","equity":10000,"benchmark":10427.26983677752695},{"day":"2024-11-08","equity":10000,"benchmark":10736.75287602973955},{"day":"2024-11-10","equity":10000,"benchmark":10761.71396343938175},{"day":"2024-11-12","equity":10000,"benchmark":10916.86585963190935},{"day":"2024-11-14","equity":10000,"benchmark":10932.22286615293895},{"day":"2024-11-16","equity":10000,"benchmark":10945.20411382255095},{"day":"2024-11-18","equity":10000,"benchmark":11167.01859878092235},{"day":"2024-11-20","equity":10000,"benchmark":11408.96099153841835},{"day":"2024-11-22","equity":10000,"benchmark":11574.22987531692555},{"day":"2024-11-24","equity":10000,"benchmark":11806.02949883897415},{"day":"2024-11-26","equity":10000,"benchmark":12166.58149447871575},{"day":"2024-11-28","equity":10000,"benchmark":12269.01175081692975},{"day":"2024-11-30","equity":10000,"benchmark":12234.30746049562435},{"day":"2024-12-02","equity":10000,"benchmark":12484.33490641317755},{"day":"2024-12-04","equity":10000,"benchmark":12687.25334945991115},{"day":"2024-12-06","equity":10000,"benchmark":12803.46745301810455},{"day":"2024-12-08","equity":10000,"benchmark":12966.46505918465275},{"day":"2024-12-10","equity":10000,"benchmark":13292.63493996667735},{"day":"2024-12-12","equity":10000,"benchmark":13588.57572205340475},{"day":"2024-12-14","equity":10000,"benchmark":13768.89243879303395},{"day":"2024-12-16","equity":10000,"benchmark":13751.94033706368815},{"day":"2024-12-18","equity":10000,"benchmark":13884.55582614222475},{"day":"2024-12-20","equity":10000,"benchmark":14403.71778210096455},{"day":"2024-12-22","equity":10000,"benchmark":14554.03489422542035},{"day":"2024-12-24","equity":10000,"benchmark":14697.16746367907995},{"day":"2024-12-26","equity":10000,"benchmark":14892.85635804921375},{"day":"2024-12-28","equity":10000,"benchmark":15233.46347303107255},{"day":"2024-12-30","equity":10000,"benchmark":15322.29434112244635},{"day":"2025-01-01","equity":10000,"benchmark":15521.20125107445835},{"day":"2025-01-03","equity":10000,"benchmark":15902.59412020775775},{"day":"2025-01-05","equity":10000,"benchmark":16108.11659703202715},{"day":"2025-01-07","equity":10000,"benchmark":16274.04530443450275},{"day":"2025-01-09","equity":10000,"benchmark":16903.30467687856155},{"day":"2025-01-11","equity":10000,"benchmark":17178.27183830122495},{"day":"2025-01-13","equity":10000,"benchmark":17597.67567819312695},{"day":"2025-01-15","equity":10000,"benchmark":17782.21919682747695},{"day":"2025-01-17","equity":10000,"benchmark":17982.94674199781715},{"day":"2025-01-19","equity":10000,"benchmark":18429.17809538452535},{"day":"2025-01-21","equity":10000,"benchmark":18529.76911657232415},{"day":"2025-01-23","equity":10000,"benchmark":18482.15025562597495},{"day":"2025-01-25","equity":10000,"benchmark":18675.84935886298975},{"day":"2025-01-27","equity":10000,"benchmark":18727.69171080163475},{"day":"2025-01-29","equity":10000,"benchmark":18705.43795611730895},{"day":"2025-01-31","equity":10000,"benchmark":18785.42461821279395},{"day":"2025-02-02","equity":10000,"benchmark":18516.95617332919235},{"day":"2025-02-04","equity":10000,"benchmark":18809.79130045006635},{"day":"2025-02-06","equity":10000,"benchmark":18828.53617973611755},{"day":"2025-02-08","equity":10000,"benchmark":18875.76709837915235},{"day":"2025-02-10","equity":10000,"benchmark":18822.64722654382095},{"day":"2025-02-12","equity":10000,"benchmark":19126.02517311091315},{"day":"2025-02-14","equity":10000,"benchmark":18988.76430257136195},{"day":"2025-02-16","equity":10000,"benchmark":18933.52783449426575},{"day":"2025-02-18","equity":10000,"benchmark":19145.91512752033815},{"day":"2025-02-20","equity":10000,"benchmark":19442.41340280273255},{"day":"2025-02-22","equity":10000,"benchmark":19562.56048994469715},{"day":"2025-02-24","equity":10000,"benchmark":19739.03378972462255},{"day":"2025-02-26","equity":10000,"benchmark":20059.97659828877215},{"day":"2025-02-28","equity":10000,"benchmark":20060.25395515768355},{"day":"2025-03-02","equity":10000,"benchmark":20560.56663867309615},{"day":"2025-03-04","equity":10000,"benchmark":20884.13022845138435},{"day":"2025-03-06","equity":10000,"benchmark":21185.44447329028255},{"day":"2025-03-08","equity":10000,"benchmark":21081.90988626701375},{"day":"2025-03-10","equity":10000,"benchmark":20907.52944433937595},{"day":"2025-03-12","equity":10000,"benchmark":20641.11270309802875},{"day":"2025-03-14","equity":10000,"benchmark":20691.55980076901055},{"day":"2025-03-16","equity":10000,"benchmark":20709.33161483885515},{"day":"2025-03-18","equity":10000,"benchmark":20756.78130740579275},{"day":"2025-03-20","equity":10000,"benchmark":20701.25862899120715},{"day":"2025-03-22","equity":10000,"benchmark":20835.97106793280895},{"day":"2025-03-24","equity":10000,"benchmark":20702.65980237481455},{"day":"2025-03-26","equity":10000,"benchmark":20825.35877775020335},{"day":"2025-03-28","equity":10000,"benchmark":20824.85106694712255},{"day":"2025-03-30","equity":10000,"benchmark":20946.11600865367895},{"day":"2025-04-01","equity":10000,"benchmark":20681.54925317024335},{"day":"2025-04-03","equity":10000,"benchmark":20666.29181893974535},{"day":"2025-04-05","equity":10000,"benchmark":20456.63384127660735},{"day":"2025-04-07","equity":10000,"benchmark":20554.11641386850975},{"day":"2025-04-09","equity":10000,"benchmark":20437.34718640147955},{"day":"2025-04-11","equity":10000,"benchmark":20607.72475293738955},{"day":"2025-04-13","equity":10000,"benchmark":20746.89426520950895},{"day":"2025-04-15","equity":10000,"benchmark":20814.49987733338395},{"day":"2025-04-17","equity":10000,"benchmark":20835.57139613419715},{"day":"2025-04-19","equity":10000,"benchmark":20958.74210172605075},{"day":"2025-04-21","equity":10000,"benchmark":21205.51436694431895},{"day":"2025-04-23","equity":10000,"benchmark":21420.31049343072755},{"day":"2025-04-25","equity":10000,"benchmark":21284.58345146691535},{"day":"2025-04-27","equity":10000,"benchmark":21134.33914033798095},{"day":"2025-04-29","equity":10000,"benchmark":21315.01315441857475},{"day":"2025-05-01","equity":10000,"benchmark":21415.11964451805855},{"day":"2025-05-03","equity":10000,"benchmark":21363.34282016620435},{"day":"2025-05-05","equity":10000,"benchmark":21653.21048077425735},{"day":"2025-05-07","equity":10000,"benchmark":21637.85833851690435},{"day":"2025-05-09","equity":10000,"benchmark":21643.45007780883975},{"day":"2025-05-11","equity":10000,"benchmark":21665.01149015306495},{"day":"2025-05-13","equity":10000,"benchmark":21674.53894541874015},{"day":"2025-05-15","equity":10000,"benchmark":21890.62815196753835},{"day":"2025-05-17","equity":10000,"benchmark":21874.54480977471735},{"day":"2025-05-19","equity":10000,"benchmark":22125.81133803262795},{"day":"2025-05-21","equity":10000,"benchmark":22490.29448028294975},{"day":"2025-05-23","equity":10000,"benchmark":22623.53201481411295},{"day":"2025-05-25","equity":10000,"benchmark":22752.00328480571995},{"day":"2025-05-27","equity":10000,"benchmark":23460.48994810421795},{"day":"2025-05-29","equity":10000,"benchmark":23292.62156638242675},{"day":"2025-05-31","equity":10000,"benchmark":23770.63640465624375},{"day":"2025-06-02","equity":10000,"benchmark":23959.90863113037735},{"day":"2025-06-04","equity":10000,"benchmark":24119.95976963573755},{"day":"2025-06-06","equity":10000,"benchmark":24693.41514966851515},{"day":"2025-06-08","equity":10000,"benchmark":25085.07023874109395},{"day":"2025-06-10","equity":10000,"benchmark":25467.54241773078935},{"day":"2025-06-12","equity":10000,"benchmark":25491.28156153201795},{"day":"2025-06-14","equity":10000,"benchmark":26263.26491215652315},{"day":"2025-06-16","equity":10000,"benchmark":26711.45941856803295},{"day":"2025-06-18","equity":10000,"benchmark":26682.57868457456475},{"day":"2025-06-20","equity":10000,"benchmark":27173.60389174312515},{"day":"2025-06-22","equity":10000,"benchmark":27486.75944827197635},{"day":"2025-06-24","equity":10000,"benchmark":28033.67935187702435},{"day":"2025-06-26","equity":10000,"benchmark":28113.80193164041335},{"day":"2025-06-28","equity":10000,"benchmark":28543.47700980468295},{"day":"2025-06-30","equity":10000,"benchmark":29596.77775891008315},{"day":"2025-07-02","equity":10000,"benchmark":30045.44119366583215},{"day":"2025-07-04","equity":10000,"benchmark":30376.99412314501695},{"day":"2025-07-06","equity":10000,"benchmark":30712.50771047561875},{"day":"2025-07-08","equity":10000,"benchmark":30761.54097866212075},{"day":"2025-07-10","equity":10000,"benchmark":31380.22777122511135},{"day":"2025-07-12","equity":10000,"benchmark":31877.81784013342115},{"day":"2025-07-14","equity":10000,"benchmark":31926.39091648614695},{"day":"2025-07-16","equity":10000,"benchmark":31941.84032318128695},{"day":"2025-07-18","equity":10000,"benchmark":31861.11003687009115},{"day":"2025-07-20","equity":10000,"benchmark":32674.81556943673795},{"day":"2025-07-22","equity":10000,"benchmark":32614.44051742483815},{"day":"2025-07-24","equity":10000,"benchmark":32338.01652268711615},{"day":"2025-07-26","equity":10000,"benchmark":32428.34923964113035},{"day":"2025-07-28","equity":10000,"benchmark":32726.12008805816195},{"day":"2025-07-30","equity":10000,"benchmark":32838.66929403229175},{"day":"2025-08-01","equity":10000,"benchmark":32533.78260028314655},{"day":"2025-08-03","equity":10000,"benchmark":32989.89317241360015},{"day":"2025-08-05","equity":10000,"benchmark":33201.45981080853175},{"day":"2025-08-07","equity":10000,"benchmark":33170.31042375747655},{"day":"2025-08-09","equity":10000,"benchmark":33704.36528121542995},{"day":"2025-08-11","equity":10000,"benchmark":33993.05000868008475},{"day":"2025-08-13","equity":10000,"benchmark":34355.95564313577235},{"day":"2025-08-15","equity":10000,"benchmark":34244.40967837351195},{"day":"2025-08-17","equity":10000,"benchmark":34631.38918927392735},{"day":"2025-08-19","equity":10000,"benchmark":35018.82039822752335},{"day":"2025-08-21","equity":10000,"benchmark":34978.72636818901555},{"day":"2025-08-23","equity":10000,"benchmark":35242.81837664679615},{"day":"2025-08-25","equity":10000,"benchmark":35696.35934466947975},{"day":"2025-08-27","equity":10000,"benchmark":36118.52934282933915},{"day":"2025-08-29","equity":10000,"benchmark":36752.85065470959115},{"day":"2025-08-31","equity":10000,"benchmark":36599.17724795318195},{"day":"2025-09-02","equity":10000,"benchmark":37098.00970760069135},{"day":"2025-09-04","equity":10000,"benchmark":37088.37084547296075},{"day":"2025-09-06","equity":10000,"benchmark":36798.64721510006195},{"day":"2025-09-08","equity":10000,"benchmark":36594.16740490890175},{"day":"2025-09-10","equity":10000,"benchmark":37206.69187412068555},{"day":"2025-09-12","equity":10000,"benchmark":37164.24727461483255},{"day":"2025-09-14","equity":10000,"benchmark":37646.97998586448735},{"day":"2025-09-16","equity":10000,"benchmark":38012.29600680423915},{"day":"2025-09-18","equity":10000,"benchmark":38253.47743503075515},{"day":"2025-09-20","equity":10000,"benchmark":37641.65541084490855},{"day":"2025-09-22","equity":10000,"benchmark":37888.22691552201055},{"day":"2025-09-24","equity":10000,"benchmark":38505.35246602859715},{"day":"2025-09-26","equity":10000,"benchmark":38327.61965286259375},{"day":"2025-09-28","equity":10000,"benchmark":38557.84837512835235},{"day":"2025-09-30","equity":10000,"benchmark":38402.46521329452375},{"day":"2025-10-02","equity":10000,"benchmark":38103.43951439701395},{"day":"2025-10-04","equity":10000,"benchmark":38521.30822346748775},{"day":"2025-10-06","equity":10000,"benchmark":38955.01202778714755},{"day":"2025-10-08","equity":10000,"benchmark":39098.82214015427735},{"day":"2025-10-10","equity":10000,"benchmark":39758.52382084159015},{"day":"2025-10-12","equity":10000,"benchmark":39936.48226654747495},{"day":"2025-10-14","equity":10000,"benchmark":40008.85256968566335},{"day":"2025-10-16","equity":10000,"benchmark":39967.89383950147895},{"day":"2025-10-18","equity":10000,"benchmark":39984.04812025585395},{"day":"2025-10-20","equity":10000,"benchmark":39213.57922465204735},{"day":"2025-10-22","equity":10000,"benchmark":39651.79401176732455},{"day":"2025-10-24","equity":10000,"benchmark":39920.83199336328915},{"day":"2025-10-26","equity":10000,"benchmark":39493.23790947959995},{"day":"2025-10-28","equity":10000,"benchmark":38852.34028812445155},{"day":"2025-10-30","equity":10000,"benchmark":38740.10789304065795},{"day":"2025-11-01","equity":10000,"benchmark":39033.25820137804755},{"day":"2025-11-03","equity":10000,"benchmark":38795.96840954161035},{"day":"2025-11-05","equity":10000,"benchmark":38764.94571171283815},{"day":"2025-11-07","equity":10000,"benchmark":39031.63468040389395},{"day":"2025-11-09","equity":10000,"benchmark":39653.38582236662355},{"day":"2025-11-11","equity":10000,"benchmark":38901.85966177969755},{"day":"2025-11-13","equity":10000,"benchmark":38335.66109076747195},{"day":"2025-11-15","equity":10000,"benchmark":38370.22223960356115},{"day":"2025-11-17","equity":10000,"benchmark":38648.65694863801455},{"day":"2025-11-19","equity":10000,"benchmark":38730.10197166200855},{"day":"2025-11-21","equity":10000,"benchmark":38639.38965039019015},{"day":"2025-11-23","equity":10000,"benchmark":38883.07560155775595},{"day":"2025-11-25","equity":10000,"benchmark":39105.16323589847555},{"day":"2025-11-27","equity":10000,"benchmark":39284.69845255663255},{"day":"2025-11-29","equity":10000,"benchmark":39216.52188563015875},{"day":"2025-12-01","equity":10000,"benchmark":39134.14613435015055},{"day":"2025-12-03","equity":10043.2059957012142,"benchmark":40447.99389736322655},{"day":"2025-12-05","equity":10112.7581097308268,"benchmark":41589.39156144602435},{"day":"2025-12-07","equity":10198.9766353773880,"benchmark":42634.44200478790935},{"day":"2025-12-09","equity":10275.8882783787870,"benchmark":43231.27577792839715},{"day":"2025-12-11","equity":10404.5457626835593,"benchmark":44218.67406814119435},{"day":"2025-12-13","equity":10557.9236488818359,"benchmark":45278.49058531575335},{"day":"2025-12-15","equity":10678.5048965790675,"benchmark":46028.27269875863635},{"day":"2025-12-17","equity":10755.77333565645899725,"benchmark":46510.98401731521955},{"day":"2025-12-19","equity":10883.12396784021599725,"benchmark":47442.89051134539075},{"day":"2025-12-21","equity":11019.10058900580719725,"benchmark":48452.76219166626395},{"day":"2025-12-23","equity":11100.00850017079219725,"benchmark":49342.40668694350955},{"day":"2025-12-25","equity":11151.73464747812519725,"benchmark":49677.65558147250755},{"day":"2025-12-27","equity":11275.75662663133799725,"benchmark":50478.19376232384175},{"day":"2025-12-29","equity":11304.83461042665541285,"benchmark":50767.63425148260335},{"day":"2025-12-31","equity":11331.10279399256161285,"benchmark":51003.69143985236835},{"day":"2026-01-02","equity":11404.42495545170621285,"benchmark":51532.07578253508635},{"day":"2026-01-04","equity":11498.66875936374801285,"benchmark":52087.51876299808975},{"day":"2026-01-06","equity":11604.16363492382121285,"benchmark":52888.75675470875215},{"day":"2026-01-08","equity":11812.30452910041321285,"benchmark":54269.06489741627195},{"day":"2026-01-10","equity":12091.61778475727501285,"benchmark":56152.42759169254655},{"day":"2026-01-12","equity":12232.14962515276881285,"benchmark":57151.99706477700435},{"day":"2026-01-14","equity":12410.86287907507701285,"benchmark":58433.89066325964495},{"day":"2026-01-16","equity":12370.11581655321581285,"benchmark":58071.88150942281095},{"day":"2026-01-18","equity":12538.50741466591721285,"benchmark":58774.64317749573275},{"day":"2026-01-20","equity":12713.72608924551741285,"benchmark":59703.86828857752655},{"day":"2026-01-22","equity":12743.03267047237641285,"benchmark":59598.95949872813695},{"day":"2026-01-24","equity":12746.32885130399916757,"benchmark":59472.96183802359015},{"day":"2026-01-26","equity":12898.80840528352716757,"benchmark":60132.02698414218115},{"day":"2026-01-28","equity":13136.62999654604796757,"benchmark":61322.78258148467175},{"day":"2026-01-30","equity":13372.95436972449636757,"benchmark":62114.32350080932775},{"day":"2026-02-01","equity":13387.12425068643776757,"benchmark":61662.79543129120555},{"day":"2026-02-03","equity":13585.72413106572336757,"benchmark":62860.81542824564215},{"day":"2026-02-05","equity":13888.19953919921676757,"benchmark":63818.59304168104155},{"day":"2026-02-07","equity":13987.09883333399876757,"benchmark":64047.15211551853435},{"day":"2026-02-09","equity":14087.24704804270836757,"benchmark":64452.39971871095895},{"day":"2026-02-11","equity":14360.92716355296876757,"benchmark":65155.46583485929715},{"day":"2026-02-13","equity":14538.66861032258676757,"benchmark":65916.09137131943235},{"day":"2026-02-15","equity":14649.91448232392816757,"benchmark":66380.83481564620315},{"day":"2026-02-17","equity":14755.85418460780836757,"benchmark":67079.03094716258175},{"day":"2026-02-19","equity":15009.16878940401118957,"benchmark":68090.61895654366015},{"day":"2026-02-21","equity":15328.59701624526378957,"benchmark":69226.70009086052635},{"day":"2026-02-23","equity":15349.84850077869218957,"benchmark":68927.15245288391495},{"day":"2026-02-25","equity":15609.34945273219318957,"benchmark":69867.91763897099255},{"day":"2026-02-27","equity":15989.85343658747198957,"benchmark":71320.70146046296095},{"day":"2026-03-01","equity":15933.61941553470078957,"benchmark":70854.52623846701635},{"day":"2026-03-03","equity":15836.89835116542698957,"benchmark":70183.79622477874095},{"day":"2026-03-05","equity":15782.07778393962598957,"benchmark":69872.57342593429715},{"day":"2026-03-07","equity":15884.25114485230158957,"benchmark":69843.05837477132135},{"day":"2026-03-09","equity":15930.10999899172302457,"benchmark":69886.13337307483055},{"day":"2026-03-11","equity":15943.53851502320317329,"benchmark":69577.41834083331215},{"day":"2026-03-13","equity":16214.17566408962751769,"benchmark":71419.15450235141375},{"day":"2026-03-15","equity":16203.22408708959371769,"benchmark":71368.08290948770415},{"day":"2026-03-17","equity":16349.36004188963991769,"benchmark":72558.57749117356295},{"day":"2026-03-19","equity":16425.54877514810571769,"benchmark":72310.91208228496955},{"day":"2026-03-21","equity":16355.83146021215110399,"benchmark":71213.69984312353755},{"day":"2026-03-23","equity":16604.68588241876250399,"benchmark":71322.19146506409635},{"day":"2026-03-25","equity":16735.89138377331550399,"benchmark":71374.57831471705715},{"day":"2026-03-27","equity":16811.68138938960110399,"benchmark":71211.84979202736435},{"day":"2026-03-29","equity":17039.52707572977350399,"benchmark":71780.21359067205795},{"day":"2026-03-31","equity":17101.19667517556578869,"benchmark":70865.40388207004035},{"day":"2026-04-02","equity":17147.81228532449458869,"benchmark":69749.32445443944055},{"day":"2026-04-04","equity":17200.69087710907878869,"benchmark":69299.83048964734195},{"day":"2026-04-06","equity":17489.34298008909538869,"benchmark":70588.34801154845435},{"day":"2026-04-08","equity":17577.35004838521905069,"benchmark":69683.81576313992455},{"day":"2026-04-10","equity":17922.52754258323945069,"benchmark":70675.89860466374295},{"day":"2026-04-12","equity":17838.91628119293781069,"benchmark":69864.71336326000295},{"day":"2026-04-14","equity":18145.48735852340219664,"benchmark":71466.66144371131135},{"day":"2026-04-16","equity":18371.61271538363079664,"benchmark":73391.09860443846415},{"day":"2026-04-18","equity":18281.33031622985239664,"benchmark":73003.70280722176355},{"day":"2026-04-20","equity":18302.71259694268239664,"benchmark":73336.31958625211995},{"day":"2026-04-22","equity":18222.68703773812089664,"benchmark":72997.71629657019735},{"day":"2026-04-24","equity":18146.54712053562578289,"benchmark":72721.94769280481315},{"day":"2026-04-26","equity":17945.92569367107803714,"benchmark":71582.97586798338995},{"day":"2026-04-28","equity":18040.23088973950343714,"benchmark":72162.26157689166495},{"day":"2026-04-30","equity":18167.92465436992108714,"benchmark":72433.38077343249695},{"day":"2026-05-02","equity":18345.47714162649248714,"benchmark":72778.97610361151495},{"day":"2026-05-04","equity":18411.51400088675848714,"benchmark":73233.73164413946195},{"day":"2026-05-06","equity":18333.19167021249478714,"benchmark":71123.07894352415475},{"day":"2026-05-08","equity":18425.61971237599298714,"benchmark":70937.16146444475035},{"day":"2026-05-10","equity":18562.20179515295115804,"benchmark":71120.44278322352875},{"day":"2026-05-12","equity":18621.46938602774715804,"benchmark":71070.42537642689035},{"day":"2026-05-14","equity":18743.31658020857775804,"benchmark":70852.68977910040815},{"day":"2026-05-16","equity":18780.03845744686149104,"benchmark":70826.28020105341435},{"day":"2026-05-18","equity":18756.38952657819289104,"benchmark":69880.86671526829255},{"day":"2026-05-20","equity":18854.12294604035649104,"benchmark":69879.79826391676575},{"day":"2026-05-22","equity":18885.38369495274889104,"benchmark":69680.10899442853575},{"day":"2026-05-24","equity":19023.79095128977249104,"benchmark":69735.75697852792455},{"day":"2026-05-26","equity":19147.61373183309629104,"benchmark":69275.49772270534595},{"day":"2026-05-28","equity":19292.64501303259709104,"benchmark":69986.79451947424315},{"day":"2026-05-30","equity":19481.10215382649531354,"benchmark":71447.34877145831735},{"day":"2026-06-01","equity":19411.87620234930169354,"benchmark":71628.24353561449015},{"day":"2026-06-03","equity":19691.15530995871829354,"benchmark":73972.60340029849955},{"day":"2026-06-05","equity":19811.47880880828845434,"benchmark":75512.68412261733615},{"day":"2026-06-07","equity":19984.97612809557085434,"benchmark":76625.80764351961415},{"day":"2026-06-09","equity":20182.93329123395305434,"benchmark":78036.22699460417395},{"day":"2026-06-11","equity":20185.70273320664174544,"benchmark":78355.93263353967655},{"day":"2026-06-13","equity":20262.60456852770237384,"benchmark":78584.84507408365695},{"day":"2026-06-15","equity":20445.01864166860917384,"benchmark":80006.92600105995015},{"day":"2026-06-17","equity":20417.22061388917177384,"benchmark":79637.21551034166075},{"day":"2026-06-19","equity":20602.08403601718989589,"benchmark":81092.30881264387255},{"day":"2026-06-21","equity":20867.40587444718469589,"benchmark":83561.54335835540335},{"day":"2026-06-23","equity":21228.54570008573779589,"benchmark":86106.87704861394875},{"day":"2026-06-25","equity":21339.06525064459239589,"benchmark":86953.96854482383155},{"day":"2026-06-27","equity":21511.80813709949039589,"benchmark":88171.35065006665095},{"day":"2026-06-29","equity":21734.50342384174629589,"benchmark":89648.27305062377715},{"day":"2026-07-01","equity":22148.57889365706659589,"benchmark":92153.36869512097775},{"day":"2026-07-03","equity":22237.05969819185439589,"benchmark":92644.11893792912055},{"day":"2026-07-05","equity":22423.77402223330479589,"benchmark":93858.58185760531575},{"day":"2026-07-07","equity":22641.43212809889179589,"benchmark":95275.62968543694035},{"day":"2026-07-09","equity":22842.87605961973982099,"benchmark":96447.31553300244775},{"day":"2026-07-11","equity":23430.65311033902236379,"benchmark":99877.07728884446015},{"day":"2026-07-13","equity":23586.75099687314956379,"benchmark":100667.64295221047495},{"day":"2026-07-15","equity":23522.53311052436656379,"benchmark":100932.14965813101595},{"day":"2026-07-17","equity":23701.34253794422276379,"benchmark":102405.48492150291595},{"day":"2026-07-19","equity":23821.20077238089461379,"benchmark":102853.19338052379275},{"day":"2026-07-21","equity":23945.24180431923301379,"benchmark":103356.13760867426215},{"day":"2026-07-23","equity":24104.49519423587418735,"benchmark":103424.11448331857015},{"day":"2026-07-25","equity":24232.62578483571318735,"benchmark":103463.44650255353655},{"day":"2026-07-27","equity":24476.54974725502258735,"benchmark":103656.28966019508595},{"day":"2026-07-29","equity":24538.26675342133978735,"benchmark":103105.93343270884155},{"day":"2026-07-31","equity":24987.10749951005618735,"benchmark":104231.53694307718955},{"day":"2026-08-02","equity":25521.29534594303758735,"benchmark":106653.41188426152895},{"day":"2026-08-04","equity":26063.44684197688198735,"benchmark":109277.97257045663135},{"day":"2026-08-06","equity":26312.01690588666118735,"benchmark":110107.50376639502215},{"day":"2026-08-08","equity":27147.00594995574778735,"benchmark":113946.12204312267275},{"day":"2026-08-10","equity":27199.59866664930898735,"benchmark":113676.22073977581735},{"day":"2026-08-12","equity":27353.75445819682998735,"benchmark":113485.94754396056715},{"day":"2026-08-14","equity":27805.28905249763538735,"benchmark":115282.70812734407615},{"day":"2026-08-16","equity":28405.84527195945598735,"benchmark":118373.01964887169855},{"day":"2026-08-18","equity":28650.62884089441738735,"benchmark":119384.93684138753615},{"day":"2026-08-20","equity":29191.60962855732158735,"benchmark":121730.22633837126495},{"day":"2026-08-22","equity":29844.00964558613638735,"benchmark":124053.28251272895935},{"day":"2026-08-24","equity":30030.57941072844198735,"benchmark":125016.29243581108435},{"day":"2026-08-26","equity":30591.83073566436178735,"benchmark":127765.39124902104735},{"day":"2026-08-28","equity":31105.63117742583098735,"benchmark":129812.22659229293275},{"day":"2026-08-30","equity":30879.34296813168998735,"benchmark":128663.45852662609075},{"day":"2026-09-01","equity":30748.38987635882698735,"benchmark":127021.54793817295875},{"day":"2026-09-03","equity":30719.90456160193898735,"benchmark":125981.39329733101895},{"day":"2026-09-05","equity":30337.23407232865174200,"benchmark":122730.51980725733275},{"day":"2026-09-07","equity":30708.85069980629574200,"benchmark":125585.43717181814375},{"day":"2026-09-09","equity":30819.40379857693219200,"benchmark":124773.89407966497415},{"day":"2026-09-11","equity":30831.31440410827583350,"benchmark":126216.96953208298935},{"day":"2026-09-13","equity":31156.02917461356313350,"benchmark":125116.15986791909935},{"day":"2026-09-15","equity":31173.52401887917736000,"benchmark":122744.56917757469655},{"day":"2026-09-17","equity":31691.16578825032456000,"benchmark":124024.96461161439015},{"day":"2026-09-19","equity":31710.72082908613576000,"benchmark":122212.45282830319835},{"day":"2026-09-21","equity":31757.85745663853243925,"benchmark":121380.17124314854415},{"day":"2026-09-23","equity":31614.23869395636773925,"benchmark":120188.00964849802935},{"day":"2026-09-25","equity":31613.36102401252832945,"benchmark":120221.93050599439595},{"day":"2026-09-27","equity":31706.45943192496522945,"benchmark":121017.68031943879735},{"day":"2026-09-29","equity":32124.62555180927022945,"benchmark":123579.23978335586475},{"day":"2026-10-01","equity":32330.69553502287518115,"benchmark":123670.04465137336295},{"day":"2026-10-03","equity":32684.78476342321711795,"benchmark":125676.53845875914315},{"day":"2026-10-05","equity":33062.06951867935711795,"benchmark":128259.12630929546135},{"day":"2026-10-07","equity":33366.26224716009746795,"benchmark":128780.97086412745535},{"day":"2026-10-09","equity":33689.10642303770946795,"benchmark":130381.25696189837775},{"day":"2026-10-11","equity":33979.64390904852813805,"benchmark":132401.06607658030055},{"day":"2026-10-13","equity":33435.65512836677853805,"benchmark":128154.69898270005135},{"day":"2026-10-15","equity":33191.07862429035933805,"benchmark":126644.32517228572655},{"day":"2026-10-17","equity":33286.34858659383824605,"benchmark":127358.69077860059395},{"day":"2026-10-19","equity":33566.42748325956217855,"benchmark":128610.81863514657875},{"day":"2026-10-21","equity":33323.84416054500277855,"benchmark":127641.26225877472295},{"day":"2026-10-23","equity":33138.61034534978075875,"benchmark":125993.70728521449115},{"day":"2026-10-25","equity":33343.52459474075653195,"benchmark":125262.54207487285955},{"day":"2026-10-27","equity":33517.90726019689093195,"benchmark":124783.67349684385555},{"day":"2026-10-29","equity":33705.68266214197633195,"benchmark":125758.62566102109655},{"day":"2026-10-31","equity":33766.00080082445263195,"benchmark":126867.14122513152295},{"day":"2026-11-02","equity":33953.28416286476073195,"benchmark":127058.32392197621955},{"day":"2026-11-04","equity":34111.36944395598883195,"benchmark":127521.56626038677935},{"day":"2026-11-06","equity":34337.99793199447263195,"benchmark":125962.61604378853715},{"day":"2026-11-08","equity":34333.49510727056805695,"benchmark":124536.08778082201835},{"day":"2026-11-10","equity":34379.94354455112296020,"benchmark":124145.60374689314435},{"day":"2026-11-12","equity":34541.67238311769676020,"benchmark":122898.53336356099815},{"day":"2026-11-14","equity":34770.36490412902556020,"benchmark":124413.92049414531535},{"day":"2026-11-16","equity":34827.90748918155296020,"benchmark":123383.10639854423875},{"day":"2026-11-18","equity":34904.38872657392127640,"benchmark":121298.58013017927155},{"day":"2026-11-20","equity":35126.61578859058407640,"benchmark":121505.82878291667395},{"day":"2026-11-22","equity":35126.24323154284391000,"benchmark":120600.40662174475555},{"day":"2026-11-24","equity":35255.48723471105756000,"benchmark":120479.64587317970195},{"day":"2026-11-26","equity":35406.96813611968408160,"benchmark":120850.18276023420915},{"day":"2026-11-28","equity":35624.46587014664948160,"benchmark":122508.94586031425055},{"day":"2026-11-30","equity":36132.75629490401848160,"benchmark":125870.76061541132115},{"day":"2026-12-02","equity":36540.71790022666328160,"benchmark":128965.72138668877635},{"day":"2026-12-04","equity":36861.98119112610598160,"benchmark":130679.20919237131535},{"day":"2026-12-06","equity":37074.31876059528718160,"benchmark":132082.77971864639375},{"day":"2026-12-08","equity":37484.99215440853038160,"benchmark":134445.07409990212975},{"day":"2026-12-10","equity":37526.43572305468806535,"benchmark":134397.01236399036135},{"day":"2026-12-12","equity":38107.48954536251006535,"benchmark":138151.56912202321615},{"day":"2026-12-14","equity":38431.96351961519026535,"benchmark":140131.00991486140755},{"day":"2026-12-16","equity":38661.14951231865886535,"benchmark":142246.99966869658015},{"day":"2026-12-18","equity":38982.16202949000225780,"benchmark":143721.40509693710495},{"day":"2026-12-20","equity":39438.00630612435285780,"benchmark":147046.44836621112635},{"day":"2026-12-22","equity":39919.88089197092808660,"benchmark":150832.28011990058395},{"day":"2026-12-24","equity":40225.46608152108148660,"benchmark":152878.11720832438695},{"day":"2026-12-26","equity":40766.53629610537780250,"benchmark":155675.25974011339755},{"day":"2026-12-28","equity":41719.54465643412340250,"benchmark":161002.49774276756795},{"day":"2026-12-30","equity":42537.44926732154480250,"benchmark":166223.07263782288135},{"day":"2026-12-31","equity":42498.58399720671700250,"benchmark":166213.82941437167155}],"trades":[{"symbol":"SOLEUR","opened":"2025-12-02","closed":"2026-01-24","invested":1938.5177753340168,"result":568.58686542790775472,"fees":8.90129334778611888,"is_closed":true},{"symbol":"ETHEUR","opened":"2025-12-03","closed":"2026-03-11","invested":2364.0371055672642,"result":2476.70951510869918372,"fees":14.42896924254928468,"is_closed":true},{"symbol":"BTCEUR","opened":"2025-12-06","closed":"2025-12-17","invested":804.7189028672475,"result":14.27826887116999725,"fees":3.25071470300587275,"is_closed":true},{"symbol":"BTCEUR","opened":"2025-12-23","closed":"2026-04-26","invested":3148.7417618921016,"result":4712.8915620003756249,"fees":22.0522597239695283,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-02-18","closed":"2026-02-18","invested":638.7607602831567,"result":-6.379156107576778,"fees":2.5448193245253914,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-03-13","closed":"2026-03-13","invested":690.0869928819105,"result":-9.9285725612270556,"fees":2.7432169122581766,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-03-14","closed":"2026-03-20","invested":1624.6914786174240,"result":-16.9799792312290137,"fees":6.4712496894717117,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-03-30","closed":"2026-03-30","invested":393.895122048456,"result":-5.9547465695755153,"fees":1.5652258662990773,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-04-07","closed":"2026-04-07","invested":815.7258459584325,"result":-15.054654822256338,"fees":3.236003177159703,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-04-14","closed":"2026-04-14","invested":912.88855602342675,"result":-17.50382643885241405,"fees":3.62013528756704255,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-04-16","closed":"2026-07-22","invested":2744.1059042104710,"result":2764.18275870791483436,"fees":16.52686644352792764,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-04-21","closed":"2026-04-23","invested":835.2773620758549,"result":-7.25203792338961375,"fees":3.32992411123079855,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-04-26","closed":"2026-04-26","invested":819.8037787218405,"result":-19.98580443711359505,"fees":3.24244918927680105,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-04-29","closed":"2026-05-09","invested":1587.00661467205905,"result":-7.6605561784792791,"fees":6.3390353906538972,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-05-16","closed":"2026-05-16","invested":825.8167425068433,"result":-11.796199605299267,"fees":3.2829371782031536,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-05-29","closed":"2026-05-29","invested":908.96419952517645,"result":-10.6703434491663775,"fees":3.6181164873790304,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-05-31","closed":"2026-06-01","invested":1824.810649862256,"result":-29.25458737393257,"fees":7.247930042186082,"is_closed":true},{"symbol":"BTCEUR","opened":"2026-06-01","closed":"2026-06-10","invested":1424.54953480990095,"result":5.3120784018855411,"fees":5.7145532043127608,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-06-03","closed":"2026-09-05","invested":4562.8726936379196,"result":5522.09719625689935465,"fees":29.33610588806705955,"is_closed":true},{"symbol":"BTCEUR","opened":"2026-06-12","closed":"2026-06-13","invested":381.76111757110245,"result":-5.7854240017877716,"fees":1.5169805388883265,"is_closed":true},{"symbol":"BTCEUR","opened":"2026-06-19","closed":"2026-06-19","invested":395.8907247575592,"result":-5.79032459117347795,"fees":1.57354577850587135,"is_closed":true},{"symbol":"BTCEUR","opened":"2026-06-22","closed":"2026-07-11","invested":3379.1380028260935,"result":91.6291088342996679,"fees":13.7137211192000691,"is_closed":true},{"symbol":"BTCEUR","opened":"2026-07-16","closed":"2026-10-23","invested":5122.59094655104275,"result":6957.4654788688021382,"fees":34.4537118037630973,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-09-08","closed":"2026-09-10","invested":1238.67705026372655,"result":-9.6745245342079085,"fees":4.9402850138130616,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-09-12","closed":"2026-09-15","invested":2478.44913003178470,"result":-30.3280834707480735,"fees":9.8629524615886929,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-09-20","closed":"2026-09-20","invested":2630.069710402368,"result":-45.18300363985692075,"fees":10.44027310169153175,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-09-23","closed":"2026-10-03","invested":8029.8578901330246,"result":-143.6362484856787254,"fees":31.8637671663328746,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-09-29","closed":"2026-09-30","invested":1226.108383930056,"result":-10.3484120888237959,"fees":4.8886094970008579,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-10-06","invested":6989.50012358611305,"result":5096.3100024855242537,"fees":19.0252497193500724,"is_closed":false},{"symbol":"ETHEUR","opened":"2026-10-19","closed":"2026-10-19","invested":681.07568759146575,"result":-13.1773073866572675,"fees":2.7006250830081990,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-10-24","closed":"2026-10-24","invested":1334.03179769006625,"result":-26.7339100179146268,"fees":5.2878990416169093,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-10-30","closed":"2026-11-07","invested":2785.94147937898830,"result":-41.547288219186875,"fees":11.0716709169940516,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-11-10","closed":"2026-11-10","invested":1452.02976340757595,"result":-30.76761585574189675,"fees":5.75228026339197365,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-11-17","closed":"2026-11-17","invested":1479.427812203985,"result":-22.9021037256404838,"fees":5.8777448197553538,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-11-23","invested":9324.26445534510930,"result":4979.9650762589253716,"fees":21.5756674366197470,"is_closed":false},{"symbol":"BTCEUR","opened":"2026-12-01","closed":"2026-12-10","invested":2924.4677820828717,"result":17.66176610233098375,"fees":11.74498676293368465,"is_closed":true},{"symbol":"BTCEUR","opened":"2026-12-17","closed":"2026-12-17","invested":1647.8658102675615,"result":-16.86705235257020755,"fees":6.56426620553510555,"is_closed":true},{"symbol":"BTCEUR","opened":"2026-12-20","closed":"2026-12-21","invested":4968.2749175939916,"result":-94.2029717984971712,"fees":19.7042290852791544,"is_closed":true},{"symbol":"BTCEUR","opened":"2026-12-22","invested":8531.1941134824792,"result":-53.1409452514346841,"fees":26.8000179590054925,"is_closed":false}],"notes":{"adjusted:crypto_regime_below_average":10,"adjusted:crypto_regime_high_volatility":39,"adjusted:trade_risk_limit":28,"residue_written_off":36,"below_min_notional":3},"computed_at":"2027-01-05T02:10:00+00:00","seconds":0,"expected_slippage_bp":5,"expected_path_p5":[-0.0022,-0.0014,-0.0009,-0.0009,-0.0009,-0.0011,-0.0007,-0.0007,-0.0002,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.0002,0.0006,0.0019,0.0022,0.0039,0.0043,0.0055,0.0066,0.007,0.0073,0.0074,0.0081,0.0095,0.0101,0.0107,0.011,0.011,0.0109,0.011,0.0125,0.0135,0.0135,0.0136,0.0146,0.0164,0.0164,0.017,0.0187,0.0199,0.0205,0.0217,0.0227,0.0233,0.0241,0.0241,0.0241,0.0248,0.0252,0.0251,0.0266,0.0261,0.027,0.0276,0.0289,0.0301,0.0305,0.0319,0.0326,0.0347,0.0348,0.0369,0.0393,0.0399,0.0426,0.0445,0.0447,0.0447,0.0453,0.0469,0.047,0.0497,0.0507,0.0507,0.0512,0.0512,0.0519,0.0532,0.0532,0.0532,0.0538,0.056,0.0565,0.0599,0.0632,0.0633,0.0648,0.065,0.0651,0.0669,0.0717,0.0728,0.0733,0.0743,0.0752,0.0752,0.0756,0.0778,0.0782,0.0792,0.0799,0.0817,0.0839,0.0839,0.0843,0.0846,0.0864,0.0874,0.09,0.0919,0.0936,0.0966,0.0979,0.099,0.099,0.1013,0.1012,0.1034,0.1043,0.1057,0.1071,0.109,0.1126,0.1137,0.1137,0.1138,0.115,0.1178,0.1197,0.1214,0.1214,0.1217,0.1232,0.1237,0.1237,0.1237,0.1253,0.1259,0.1291,0.1297,0.1315,0.132,0.1324,0.1335,0.1337,0.1337,0.1349,0.1346,0.1363,0.1383,0.1401,0.1394,0.1427,0.1453,0.1467,0.1485,0.1485,0.1499,0.1499,0.1499,0.152,0.1533,0.1577,0.1579,0.1622,0.1622,0.1623,0.1647,0.1664,0.1673,0.1675,0.1675,0.1709,0.1716,0.1738,0.1755,0.1784,0.1792,0.1813,0.1819,0.1836,0.1846,0.1855,0.1855,0.1876,0.1884,0.1926,0.1943,0.1948,0.1955,0.1948,0.1979,0.1976,0.1985,0.2008,0.2025,0.2043,0.2081,0.2067,0.2114,0.2122,0.2122,0.2144,0.2153,0.2173,0.2175,0.2175,0.2184,0.2206,0.2208,0.2208,0.2208,0.2242,0.2254,0.2269,0.2274,0.2274,0.23,0.2304,0.23,0.2304,0.2326,0.2322,0.2333,0.2413,0.2435,0.2446,0.2447,0.2514,0.2536,0.2533,0.2572,0.2588,0.2588,0.2599,0.2621,0.2607,0.2634,0.2651,0.2678,0.2689,0.2711,0.27,0.2775,0.2789,0.2798,0.2827,0.2857,0.2827,0.2839,0.2872,0.2875,0.2875,0.2909,0.2936,0.2935,0.2929,0.2953,0.2988,0.2997,0.3004,0.3057,0.3108,0.3108,0.3131,0.3149,0.3161,0.3131,0.3162,0.3162,0.3162,0.3162,0.3215,0.3236,0.3286,0.3307,0.3334,0.3364,0.3403,0.342,0.3462,0.3462,0.3462,0.3462,0.3462,0.3467,0.3501]} \ No newline at end of file diff --git a/tests/Anubis.Tests/Fixtures/golden/crypto_trend_judged.report.json b/tests/Anubis.Tests/Fixtures/golden/crypto_trend_judged.report.json new file mode 100644 index 0000000..e643b57 --- /dev/null +++ b/tests/Anubis.Tests/Fixtures/golden/crypto_trend_judged.report.json @@ -0,0 +1 @@ +{"trial_id":"6d2f3a51-0c4e-4b7a-9a61-3f1e2d0c9b12","strategy":"crypto_trend","strategy_name":"Trend crypto","strategy_version":"1","plan_hash":"11f428e680695b378647e6aaa13aea82e3b18da3782d1a1d834aa7948a38d695","data_fingerprint":"c642391a4ac6bb996b606faa124a920f145d7e48348fd9992e8dc8847e7f5210","currency":"EUR","periods_per_year":365,"sessions":800,"instruments":[{"symbol":"BTCEUR","venue":"binance_eur","first":"2024-10-23","last":"2026-12-31","bars":800,"actions":0,"source":"storico Binance convertito in euro"},{"symbol":"ETHEUR","venue":"binance_eur","first":"2024-10-23","last":"2026-12-31","bars":800,"actions":0,"source":"storico Binance convertito in euro"},{"symbol":"SOLEUR","venue":"binance_eur","first":"2024-10-23","last":"2026-12-31","bars":800,"actions":0,"source":"storico Binance convertito in euro"}],"chosen":"coin_vol=10;max_stop=10","metrics":{"from":"2024-10-23","to":"2026-12-31","initial_capital":10000,"final_equity":42515.803080578265635540,"total_return":3.251580308057827,"annual_return":0.9379015078266391,"volatility":0.07852841581547972,"sharpe":8.465947304810848,"daily_sharpe":0.44312793467261424,"max_drawdown":0.035651925733458024,"drawdown_peak":"2026-08-28","drawdown_low":"2026-09-05","trades":35,"winners":10,"profit_factor":30.15635208816501,"average_win":2264.676659182941375404,"average_loss":-30.039132751361173816,"fees":441.799860621142987760,"exposure":0.26147000965005857,"years":[{"year":2024,"start":10000,"end":10000,"result":0,"return":0},{"year":2025,"start":10000,"end":11099.7845636557723395,"result":1099.7845636557723395,"return":0.10997845636557724},{"year":2026,"start":11099.7845636557723395,"end":42515.803080578265635540,"result":31416.018516922493296040,"return":2.8303268713690657}],"net_result":32515.803080578265635540,"win_rate":0.2857142857142857},"benchmark":{"from":"2024-10-23","to":"2026-12-31","initial_capital":10000,"final_equity":166213.82941437167155,"total_return":15.621382941437169,"annual_return":2.6141681851348806,"volatility":0.14608381895658237,"sharpe":8.877533265620782,"daily_sharpe":0.46467132848163395,"max_drawdown":0.09004021309394361,"drawdown_peak":"2026-10-11","drawdown_low":"2026-11-24","trades":0,"winners":0,"average_win":0,"average_loss":0,"fees":19.9099499956572297,"exposure":0.9974278743768157,"years":[{"year":2024,"start":10000,"end":15368.88961128832475,"result":5368.88961128832475,"return":0.5368889611288326},{"year":2025,"start":15368.88961128832475,"end":51003.69143985236835,"result":35634.80182856404360,"return":2.3186321673096395},{"year":2026,"start":51003.69143985236835,"end":166213.82941437167155,"result":115210.13797451930320,"return":2.2588588143739425}],"net_result":156213.82941437167155,"win_rate":0},"costs":[{"multiplier":1,"net_result":32515.803080578265635540,"total_return":3.251580308057827,"sharpe":8.465947304810848,"max_drawdown":0.035651925733458024,"fees":441.799860621142987760},{"multiplier":2,"net_result":31604.7097350250246126,"total_return":3.1604709735025027,"sharpe":8.331667571175304,"max_drawdown":0.03575808521269184,"fees":872.5110473917330314},{"multiplier":3,"net_result":31012.068464926335629035,"total_return":3.1012068464926337,"sharpe":8.222893267893769,"max_drawdown":0.03586474574965844,"fees":1296.530436665625798465}],"variants":[{"parameters":"coin_vol=10;max_stop=10","sharpe":0.48044252607481563,"plateau_score":0.4653655889498502,"net_result":32498.58399720671700250,"max_drawdown":0.026175829689565357,"trades":36,"chosen":true,"outside_grid":false},{"parameters":"coin_vol=10;max_stop=15","sharpe":0.445931236512579,"plateau_score":0.445931236512579,"net_result":26183.75750214343511961,"max_drawdown":0.029641772278433863,"trades":35,"chosen":false,"outside_grid":false},{"parameters":"coin_vol=10;max_stop=20","sharpe":0.4223858225329875,"plateau_score":0.4223858225329875,"net_result":24328.79097386721189274,"max_drawdown":0.029754173892141213,"trades":35,"chosen":false,"outside_grid":false},{"parameters":"coin_vol=15;max_stop=10","sharpe":0.4930869429792893,"plateau_score":0.4639457230048902,"net_result":50498.43419278263970438,"max_drawdown":0.025774756298243173,"trades":36,"chosen":false,"outside_grid":false},{"parameters":"coin_vol=15;max_stop=15","sharpe":0.4420016502327168,"plateau_score":0.4420016502327168,"net_result":38197.30057159239968207,"max_drawdown":0.033017070317847674,"trades":35,"chosen":false,"outside_grid":false},{"parameters":"coin_vol=15;max_stop=20","sharpe":0.41763453843434895,"plateau_score":0.41763453843434895,"net_result":33625.32347837452987842,"max_drawdown":0.03612622409318185,"trades":35,"chosen":false,"outside_grid":false},{"parameters":"coin_vol=20;max_stop=10","sharpe":0.48560767004198907,"plateau_score":0.46432514386048657,"net_result":51112.96885923040428466,"max_drawdown":0.026505594831178845,"trades":36,"chosen":false,"outside_grid":false},{"parameters":"coin_vol=20;max_stop=15","sharpe":0.4366043121879511,"plateau_score":0.4366043121879511,"net_result":38707.024288553773908135,"max_drawdown":0.03625399850714449,"trades":35,"chosen":false,"outside_grid":false},{"parameters":"coin_vol=20;max_stop=20","sharpe":0.40635067102248235,"plateau_score":0.40635067102248235,"net_result":33305.24937534011635522,"max_drawdown":0.041135914790743626,"trades":35,"chosen":false,"outside_grid":false},{"parameters":"coin_vol=12;max_stop=15","sharpe":0.44312793467261424,"plateau_score":0,"net_result":32515.803080578265635540,"max_drawdown":0.035651925733458024,"trades":35,"chosen":false,"outside_grid":true}],"walk_forward":{"windows":[{"window":1,"train_from":"2024-10-24","train_to":"2025-03-23","test_from":"2025-04-01","test_to":"2025-09-06","chosen":"coin_vol=10;max_stop=10","return":0,"sharpe":0},{"window":2,"train_from":"2024-10-24","train_to":"2025-08-29","test_from":"2025-09-07","test_to":"2026-02-12","chosen":"coin_vol=10;max_stop=10","return":0.4423158345662517,"sharpe":0.6154747036989195},{"window":3,"train_from":"2024-10-24","train_to":"2026-02-04","test_from":"2026-02-13","test_to":"2026-07-21","chosen":"coin_vol=10;max_stop=10","return":0.6601940594738362,"sharpe":0.7122429008759283},{"window":4,"train_from":"2024-10-24","train_to":"2026-07-13","test_from":"2026-07-22","test_to":"2026-12-31","chosen":"coin_vol=10;max_stop=10","return":0.7748237559890154,"sharpe":0.6998269304595159}],"purge":8,"return":3.2498583997207255,"sharpe":0.5528375496854625},"combinatorial":{"groups":6,"test_groups":2,"splits":15,"purge":8,"embargo":8,"path_sharpes":[0.48099859422597113,0.48099859422597113,0.48099859422597113,0.47685720494377715,0.48099859422597113],"mean_sharpe":0.4801703163695324,"worst_sharpe":0.47685720494377715,"positive_share":1},"overfitting":{"groups":16,"combinations":12870,"variants":9,"probability":0.0056721056721056725},"deflated_sharpe":{"sharpe":0.44312793467261424,"benchmark":0.04803769136054648,"observations":799,"skewness":1.0218754882394872,"kurtosis":4.852070020162542,"trials":9,"sharpe_variance":0.0009977747366630469,"value":1},"trials_counted":9,"look_ahead":{"cutoffs":["2025-02-14","2025-06-08","2025-09-30","2026-01-22","2026-05-16","2026-09-07"],"decisions":2400,"changed":0,"examples":[],"passed":true},"checks":[{"key":"double_costs","name":"Risultato netto con costi doppi","value":31604.709735025022,"comparison":"\u003E","threshold":0,"unit":"money","passed":true},{"key":"deflated_sharpe","name":"Deflated Sharpe Ratio","value":1,"comparison":"\u2265","threshold":0.9,"unit":"ratio","passed":true},{"key":"overfitting","name":"Probabilit\u00E0 di sovra-adattamento (PBO)","value":0.0056721056721056725,"comparison":"\u2264","threshold":0.4,"unit":"ratio","passed":true},{"key":"drawdown","name":"Calo massimo","value":0.035651925733458024,"comparison":"\u2264","threshold":0.25,"unit":"percent","passed":true},{"key":"look_ahead","name":"Decisioni cambiate aggiungendo dati successivi","value":0,"comparison":"=","threshold":0,"unit":"count","passed":true}],"passed":true,"limitations":["I correttivi senza una storia ricostruibile (notizie, calendario economico, trimestrali, modello) non ricevono dati e non intervengono.","Le decisioni si prendono sulla chiusura e si eseguono all\u0027apertura della seduta dopo, con lo scostamento stimato: nessun inseguimento con ordini limite.","Sharpe e volatilit\u00E0 sono calcolati senza tasso privo di rischio.","Limiti di rischio e regime crypto applicati come dal vivo. La strategia \u00E8 il 40% del bot: il resto conta come liquidit\u00E0 ferma. Ogni chiusura vale come un giorno; se scatta l\u0027interruttore, supponiamo che tu riparta dopo sette giorni. Et\u00E0 dei prezzi, prezzo dell\u0027ordine e orologio esistono solo dal vivo.","Prezzi dello storico Binance in USDT convertiti in euro con il cambio BCE del giorno, contando un USDT come un dollaro: \u00E8 un\u0027approssimazione delle coppie in euro di OKX. Su questo storico lo spread non si pu\u00F2 misurare: l\u0027universo sono le monete con pi\u00F9 scambi, passo di prezzo e quantit\u00E0 minima sono stime, i costi sono quelli di OKX.","La variante in uso non \u00E8 nella griglia: \u00E8 giudicata lo stesso, senza contare come un tentativo in pi\u00F9."],"curve":[{"day":"2024-10-23","equity":10000,"benchmark":10000},{"day":"2024-10-25","equity":10000,"benchmark":9907.39294975227535},{"day":"2024-10-27","equity":10000,"benchmark":10100.99059585040975},{"day":"2024-10-29","equity":10000,"benchmark":10107.02811245373975},{"day":"2024-10-31","equity":10000,"benchmark":10121.44293143056055},{"day":"2024-11-02","equity":10000,"benchmark":10200.24564608361075},{"day":"2024-11-04","equity":10000,"benchmark":10407.52283344629535},{"day":"2024-11-06","equity":10000,"benchmark":10427.26983677752695},{"day":"2024-11-08","equity":10000,"benchmark":10736.75287602973955},{"day":"2024-11-10","equity":10000,"benchmark":10761.71396343938175},{"day":"2024-11-12","equity":10000,"benchmark":10916.86585963190935},{"day":"2024-11-14","equity":10000,"benchmark":10932.22286615293895},{"day":"2024-11-16","equity":10000,"benchmark":10945.20411382255095},{"day":"2024-11-18","equity":10000,"benchmark":11167.01859878092235},{"day":"2024-11-20","equity":10000,"benchmark":11408.96099153841835},{"day":"2024-11-22","equity":10000,"benchmark":11574.22987531692555},{"day":"2024-11-24","equity":10000,"benchmark":11806.02949883897415},{"day":"2024-11-26","equity":10000,"benchmark":12166.58149447871575},{"day":"2024-11-28","equity":10000,"benchmark":12269.01175081692975},{"day":"2024-11-30","equity":10000,"benchmark":12234.30746049562435},{"day":"2024-12-02","equity":10000,"benchmark":12484.33490641317755},{"day":"2024-12-04","equity":10000,"benchmark":12687.25334945991115},{"day":"2024-12-06","equity":10000,"benchmark":12803.46745301810455},{"day":"2024-12-08","equity":10000,"benchmark":12966.46505918465275},{"day":"2024-12-10","equity":10000,"benchmark":13292.63493996667735},{"day":"2024-12-12","equity":10000,"benchmark":13588.57572205340475},{"day":"2024-12-14","equity":10000,"benchmark":13768.89243879303395},{"day":"2024-12-16","equity":10000,"benchmark":13751.94033706368815},{"day":"2024-12-18","equity":10000,"benchmark":13884.55582614222475},{"day":"2024-12-20","equity":10000,"benchmark":14403.71778210096455},{"day":"2024-12-22","equity":10000,"benchmark":14554.03489422542035},{"day":"2024-12-24","equity":10000,"benchmark":14697.16746367907995},{"day":"2024-12-26","equity":10000,"benchmark":14892.85635804921375},{"day":"2024-12-28","equity":10000,"benchmark":15233.46347303107255},{"day":"2024-12-30","equity":10000,"benchmark":15322.29434112244635},{"day":"2025-01-01","equity":10000,"benchmark":15521.20125107445835},{"day":"2025-01-03","equity":10000,"benchmark":15902.59412020775775},{"day":"2025-01-05","equity":10000,"benchmark":16108.11659703202715},{"day":"2025-01-07","equity":10000,"benchmark":16274.04530443450275},{"day":"2025-01-09","equity":10000,"benchmark":16903.30467687856155},{"day":"2025-01-11","equity":10000,"benchmark":17178.27183830122495},{"day":"2025-01-13","equity":10000,"benchmark":17597.67567819312695},{"day":"2025-01-15","equity":10000,"benchmark":17782.21919682747695},{"day":"2025-01-17","equity":10000,"benchmark":17982.94674199781715},{"day":"2025-01-19","equity":10000,"benchmark":18429.17809538452535},{"day":"2025-01-21","equity":10000,"benchmark":18529.76911657232415},{"day":"2025-01-23","equity":10000,"benchmark":18482.15025562597495},{"day":"2025-01-25","equity":10000,"benchmark":18675.84935886298975},{"day":"2025-01-27","equity":10000,"benchmark":18727.69171080163475},{"day":"2025-01-29","equity":10000,"benchmark":18705.43795611730895},{"day":"2025-01-31","equity":10000,"benchmark":18785.42461821279395},{"day":"2025-02-02","equity":10000,"benchmark":18516.95617332919235},{"day":"2025-02-04","equity":10000,"benchmark":18809.79130045006635},{"day":"2025-02-06","equity":10000,"benchmark":18828.53617973611755},{"day":"2025-02-08","equity":10000,"benchmark":18875.76709837915235},{"day":"2025-02-10","equity":10000,"benchmark":18822.64722654382095},{"day":"2025-02-12","equity":10000,"benchmark":19126.02517311091315},{"day":"2025-02-14","equity":10000,"benchmark":18988.76430257136195},{"day":"2025-02-16","equity":10000,"benchmark":18933.52783449426575},{"day":"2025-02-18","equity":10000,"benchmark":19145.91512752033815},{"day":"2025-02-20","equity":10000,"benchmark":19442.41340280273255},{"day":"2025-02-22","equity":10000,"benchmark":19562.56048994469715},{"day":"2025-02-24","equity":10000,"benchmark":19739.03378972462255},{"day":"2025-02-26","equity":10000,"benchmark":20059.97659828877215},{"day":"2025-02-28","equity":10000,"benchmark":20060.25395515768355},{"day":"2025-03-02","equity":10000,"benchmark":20560.56663867309615},{"day":"2025-03-04","equity":10000,"benchmark":20884.13022845138435},{"day":"2025-03-06","equity":10000,"benchmark":21185.44447329028255},{"day":"2025-03-08","equity":10000,"benchmark":21081.90988626701375},{"day":"2025-03-10","equity":10000,"benchmark":20907.52944433937595},{"day":"2025-03-12","equity":10000,"benchmark":20641.11270309802875},{"day":"2025-03-14","equity":10000,"benchmark":20691.55980076901055},{"day":"2025-03-16","equity":10000,"benchmark":20709.33161483885515},{"day":"2025-03-18","equity":10000,"benchmark":20756.78130740579275},{"day":"2025-03-20","equity":10000,"benchmark":20701.25862899120715},{"day":"2025-03-22","equity":10000,"benchmark":20835.97106793280895},{"day":"2025-03-24","equity":10000,"benchmark":20702.65980237481455},{"day":"2025-03-26","equity":10000,"benchmark":20825.35877775020335},{"day":"2025-03-28","equity":10000,"benchmark":20824.85106694712255},{"day":"2025-03-30","equity":10000,"benchmark":20946.11600865367895},{"day":"2025-04-01","equity":10000,"benchmark":20681.54925317024335},{"day":"2025-04-03","equity":10000,"benchmark":20666.29181893974535},{"day":"2025-04-05","equity":10000,"benchmark":20456.63384127660735},{"day":"2025-04-07","equity":10000,"benchmark":20554.11641386850975},{"day":"2025-04-09","equity":10000,"benchmark":20437.34718640147955},{"day":"2025-04-11","equity":10000,"benchmark":20607.72475293738955},{"day":"2025-04-13","equity":10000,"benchmark":20746.89426520950895},{"day":"2025-04-15","equity":10000,"benchmark":20814.49987733338395},{"day":"2025-04-17","equity":10000,"benchmark":20835.57139613419715},{"day":"2025-04-19","equity":10000,"benchmark":20958.74210172605075},{"day":"2025-04-21","equity":10000,"benchmark":21205.51436694431895},{"day":"2025-04-23","equity":10000,"benchmark":21420.31049343072755},{"day":"2025-04-25","equity":10000,"benchmark":21284.58345146691535},{"day":"2025-04-27","equity":10000,"benchmark":21134.33914033798095},{"day":"2025-04-29","equity":10000,"benchmark":21315.01315441857475},{"day":"2025-05-01","equity":10000,"benchmark":21415.11964451805855},{"day":"2025-05-03","equity":10000,"benchmark":21363.34282016620435},{"day":"2025-05-05","equity":10000,"benchmark":21653.21048077425735},{"day":"2025-05-07","equity":10000,"benchmark":21637.85833851690435},{"day":"2025-05-09","equity":10000,"benchmark":21643.45007780883975},{"day":"2025-05-11","equity":10000,"benchmark":21665.01149015306495},{"day":"2025-05-13","equity":10000,"benchmark":21674.53894541874015},{"day":"2025-05-15","equity":10000,"benchmark":21890.62815196753835},{"day":"2025-05-17","equity":10000,"benchmark":21874.54480977471735},{"day":"2025-05-19","equity":10000,"benchmark":22125.81133803262795},{"day":"2025-05-21","equity":10000,"benchmark":22490.29448028294975},{"day":"2025-05-23","equity":10000,"benchmark":22623.53201481411295},{"day":"2025-05-25","equity":10000,"benchmark":22752.00328480571995},{"day":"2025-05-27","equity":10000,"benchmark":23460.48994810421795},{"day":"2025-05-29","equity":10000,"benchmark":23292.62156638242675},{"day":"2025-05-31","equity":10000,"benchmark":23770.63640465624375},{"day":"2025-06-02","equity":10000,"benchmark":23959.90863113037735},{"day":"2025-06-04","equity":10000,"benchmark":24119.95976963573755},{"day":"2025-06-06","equity":10000,"benchmark":24693.41514966851515},{"day":"2025-06-08","equity":10000,"benchmark":25085.07023874109395},{"day":"2025-06-10","equity":10000,"benchmark":25467.54241773078935},{"day":"2025-06-12","equity":10000,"benchmark":25491.28156153201795},{"day":"2025-06-14","equity":10000,"benchmark":26263.26491215652315},{"day":"2025-06-16","equity":10000,"benchmark":26711.45941856803295},{"day":"2025-06-18","equity":10000,"benchmark":26682.57868457456475},{"day":"2025-06-20","equity":10000,"benchmark":27173.60389174312515},{"day":"2025-06-22","equity":10000,"benchmark":27486.75944827197635},{"day":"2025-06-24","equity":10000,"benchmark":28033.67935187702435},{"day":"2025-06-26","equity":10000,"benchmark":28113.80193164041335},{"day":"2025-06-28","equity":10000,"benchmark":28543.47700980468295},{"day":"2025-06-30","equity":10000,"benchmark":29596.77775891008315},{"day":"2025-07-02","equity":10000,"benchmark":30045.44119366583215},{"day":"2025-07-04","equity":10000,"benchmark":30376.99412314501695},{"day":"2025-07-06","equity":10000,"benchmark":30712.50771047561875},{"day":"2025-07-08","equity":10000,"benchmark":30761.54097866212075},{"day":"2025-07-10","equity":10000,"benchmark":31380.22777122511135},{"day":"2025-07-12","equity":10000,"benchmark":31877.81784013342115},{"day":"2025-07-14","equity":10000,"benchmark":31926.39091648614695},{"day":"2025-07-16","equity":10000,"benchmark":31941.84032318128695},{"day":"2025-07-18","equity":10000,"benchmark":31861.11003687009115},{"day":"2025-07-20","equity":10000,"benchmark":32674.81556943673795},{"day":"2025-07-22","equity":10000,"benchmark":32614.44051742483815},{"day":"2025-07-24","equity":10000,"benchmark":32338.01652268711615},{"day":"2025-07-26","equity":10000,"benchmark":32428.34923964113035},{"day":"2025-07-28","equity":10000,"benchmark":32726.12008805816195},{"day":"2025-07-30","equity":10000,"benchmark":32838.66929403229175},{"day":"2025-08-01","equity":10000,"benchmark":32533.78260028314655},{"day":"2025-08-03","equity":10000,"benchmark":32989.89317241360015},{"day":"2025-08-05","equity":10000,"benchmark":33201.45981080853175},{"day":"2025-08-07","equity":10000,"benchmark":33170.31042375747655},{"day":"2025-08-09","equity":10000,"benchmark":33704.36528121542995},{"day":"2025-08-11","equity":10000,"benchmark":33993.05000868008475},{"day":"2025-08-13","equity":10000,"benchmark":34355.95564313577235},{"day":"2025-08-15","equity":10000,"benchmark":34244.40967837351195},{"day":"2025-08-17","equity":10000,"benchmark":34631.38918927392735},{"day":"2025-08-19","equity":10000,"benchmark":35018.82039822752335},{"day":"2025-08-21","equity":10000,"benchmark":34978.72636818901555},{"day":"2025-08-23","equity":10000,"benchmark":35242.81837664679615},{"day":"2025-08-25","equity":10000,"benchmark":35696.35934466947975},{"day":"2025-08-27","equity":10000,"benchmark":36118.52934282933915},{"day":"2025-08-29","equity":10000,"benchmark":36752.85065470959115},{"day":"2025-08-31","equity":10000,"benchmark":36599.17724795318195},{"day":"2025-09-02","equity":10000,"benchmark":37098.00970760069135},{"day":"2025-09-04","equity":10000,"benchmark":37088.37084547296075},{"day":"2025-09-06","equity":10000,"benchmark":36798.64721510006195},{"day":"2025-09-08","equity":10000,"benchmark":36594.16740490890175},{"day":"2025-09-10","equity":10000,"benchmark":37206.69187412068555},{"day":"2025-09-12","equity":10000,"benchmark":37164.24727461483255},{"day":"2025-09-14","equity":10000,"benchmark":37646.97998586448735},{"day":"2025-09-16","equity":10000,"benchmark":38012.29600680423915},{"day":"2025-09-18","equity":10000,"benchmark":38253.47743503075515},{"day":"2025-09-20","equity":10000,"benchmark":37641.65541084490855},{"day":"2025-09-22","equity":10000,"benchmark":37888.22691552201055},{"day":"2025-09-24","equity":10000,"benchmark":38505.35246602859715},{"day":"2025-09-26","equity":10000,"benchmark":38327.61965286259375},{"day":"2025-09-28","equity":10000,"benchmark":38557.84837512835235},{"day":"2025-09-30","equity":10000,"benchmark":38402.46521329452375},{"day":"2025-10-02","equity":10000,"benchmark":38103.43951439701395},{"day":"2025-10-04","equity":10000,"benchmark":38521.30822346748775},{"day":"2025-10-06","equity":10000,"benchmark":38955.01202778714755},{"day":"2025-10-08","equity":10000,"benchmark":39098.82214015427735},{"day":"2025-10-10","equity":10000,"benchmark":39758.52382084159015},{"day":"2025-10-12","equity":10000,"benchmark":39936.48226654747495},{"day":"2025-10-14","equity":10000,"benchmark":40008.85256968566335},{"day":"2025-10-16","equity":10000,"benchmark":39967.89383950147895},{"day":"2025-10-18","equity":10000,"benchmark":39984.04812025585395},{"day":"2025-10-20","equity":10000,"benchmark":39213.57922465204735},{"day":"2025-10-22","equity":10000,"benchmark":39651.79401176732455},{"day":"2025-10-24","equity":10000,"benchmark":39920.83199336328915},{"day":"2025-10-26","equity":10000,"benchmark":39493.23790947959995},{"day":"2025-10-28","equity":10000,"benchmark":38852.34028812445155},{"day":"2025-10-30","equity":10000,"benchmark":38740.10789304065795},{"day":"2025-11-01","equity":10000,"benchmark":39033.25820137804755},{"day":"2025-11-03","equity":10000,"benchmark":38795.96840954161035},{"day":"2025-11-05","equity":10000,"benchmark":38764.94571171283815},{"day":"2025-11-07","equity":10000,"benchmark":39031.63468040389395},{"day":"2025-11-09","equity":10000,"benchmark":39653.38582236662355},{"day":"2025-11-11","equity":10000,"benchmark":38901.85966177969755},{"day":"2025-11-13","equity":10000,"benchmark":38335.66109076747195},{"day":"2025-11-15","equity":10000,"benchmark":38370.22223960356115},{"day":"2025-11-17","equity":10000,"benchmark":38648.65694863801455},{"day":"2025-11-19","equity":10000,"benchmark":38730.10197166200855},{"day":"2025-11-21","equity":10000,"benchmark":38639.38965039019015},{"day":"2025-11-23","equity":10000,"benchmark":38883.07560155775595},{"day":"2025-11-25","equity":10000,"benchmark":39105.16323589847555},{"day":"2025-11-27","equity":10000,"benchmark":39284.69845255663255},{"day":"2025-11-29","equity":10000,"benchmark":39216.52188563015875},{"day":"2025-12-01","equity":10000,"benchmark":39134.14613435015055},{"day":"2025-12-03","equity":10066.3288171059070,"benchmark":40447.99389736322655},{"day":"2025-12-05","equity":10167.4671926531318,"benchmark":41589.39156144602435},{"day":"2025-12-07","equity":10245.1209029974237,"benchmark":42634.44200478790935},{"day":"2025-12-09","equity":10300.9730670862769,"benchmark":43231.27577792839715},{"day":"2025-12-11","equity":10402.8010436957780,"benchmark":44218.67406814119435},{"day":"2025-12-13","equity":10518.5098173084330,"benchmark":45278.49058531575335},{"day":"2025-12-15","equity":10603.3687586603318,"benchmark":46028.27269875863635},{"day":"2025-12-17","equity":10655.8610908171895893,"benchmark":46510.98401731521955},{"day":"2025-12-19","equity":10758.0942536097489893,"benchmark":47442.89051134539075},{"day":"2025-12-21","equity":10867.1371780351089893,"benchmark":48452.76219166626395},{"day":"2025-12-23","equity":10931.2782217759901893,"benchmark":49342.40668694350955},{"day":"2025-12-25","equity":10957.9650294484788893,"benchmark":49677.65558147250755},{"day":"2025-12-27","equity":11063.0104843989104893,"benchmark":50478.19376232384175},{"day":"2025-12-29","equity":11084.7079715898297395,"benchmark":50767.63425148260335},{"day":"2025-12-31","equity":11099.7845636557723395,"benchmark":51003.69143985236835},{"day":"2026-01-02","equity":11156.5265261113797395,"benchmark":51532.07578253508635},{"day":"2026-01-04","equity":11240.2270883112919395,"benchmark":52087.51876299808975},{"day":"2026-01-06","equity":11325.5689163739163395,"benchmark":52888.75675470875215},{"day":"2026-01-08","equity":11486.3371881617947395,"benchmark":54269.06489741627195},{"day":"2026-01-10","equity":11704.6561031481161395,"benchmark":56152.42759169254655},{"day":"2026-01-12","equity":11825.5272602028067395,"benchmark":57151.99706477700435},{"day":"2026-01-14","equity":11976.6771282411349395,"benchmark":58433.89066325964495},{"day":"2026-01-16","equity":11954.0020764537203395,"benchmark":58071.88150942281095},{"day":"2026-01-18","equity":12110.3147103634873395,"benchmark":58774.64317749573275},{"day":"2026-01-20","equity":12269.4431365980253395,"benchmark":59703.86828857752655},{"day":"2026-01-22","equity":12323.4785223206381395,"benchmark":59598.95949872813695},{"day":"2026-01-24","equity":12296.0215942849397395,"benchmark":59472.96183802359015},{"day":"2026-01-26","equity":12446.9918202560713395,"benchmark":60132.02698414218115},{"day":"2026-01-28","equity":12689.8526298971615395,"benchmark":61322.78258148467175},{"day":"2026-01-30","equity":12845.0437161831321395,"benchmark":62114.32350080932775},{"day":"2026-02-01","equity":12809.07410404748267785,"benchmark":61662.79543129120555},{"day":"2026-02-03","equity":12984.97805978510447785,"benchmark":62860.81542824564215},{"day":"2026-02-05","equity":13262.40969023424727785,"benchmark":63818.59304168104155},{"day":"2026-02-07","equity":13352.34971879327287785,"benchmark":64047.15211551853435},{"day":"2026-02-09","equity":13482.87618313307447785,"benchmark":64452.39971871095895},{"day":"2026-02-11","equity":13758.80339306485867785,"benchmark":65155.46583485929715},{"day":"2026-02-13","equity":13969.14755572517547785,"benchmark":65916.09137131943235},{"day":"2026-02-15","equity":14089.89333188096367785,"benchmark":66380.83481564620315},{"day":"2026-02-17","equity":14197.26494279093867785,"benchmark":67079.03094716258175},{"day":"2026-02-19","equity":14442.70001373341067785,"benchmark":68090.61895654366015},{"day":"2026-02-21","equity":14737.23107305288747785,"benchmark":69226.70009086052635},{"day":"2026-02-23","equity":14780.02977378301347785,"benchmark":68927.15245288391495},{"day":"2026-02-25","equity":15035.83015749505987785,"benchmark":69867.91763897099255},{"day":"2026-02-27","equity":15392.15616740182827785,"benchmark":71320.70146046296095},{"day":"2026-03-01","equity":15325.35425189036287785,"benchmark":70854.52623846701635},{"day":"2026-03-03","equity":15269.82439829118227785,"benchmark":70183.79622477874095},{"day":"2026-03-05","equity":15249.57838060056467785,"benchmark":69872.57342593429715},{"day":"2026-03-07","equity":15410.03019570676842785,"benchmark":69843.05837477132135},{"day":"2026-03-09","equity":15495.65822694679242785,"benchmark":69886.13337307483055},{"day":"2026-03-11","equity":15529.62494401572042785,"benchmark":69577.41834083331215},{"day":"2026-03-13","equity":15898.75288068379720955,"benchmark":71419.15450235141375},{"day":"2026-03-15","equity":15912.24315312577920955,"benchmark":71368.08290948770415},{"day":"2026-03-17","equity":16097.81172414257320955,"benchmark":72558.57749117356295},{"day":"2026-03-19","equity":16144.38670752634120955,"benchmark":72310.91208228496955},{"day":"2026-03-21","equity":15957.81334660334320955,"benchmark":71213.69984312353755},{"day":"2026-03-23","equity":16073.78173119471720955,"benchmark":71322.19146506409635},{"day":"2026-03-25","equity":16172.56886526502720955,"benchmark":71374.57831471705715},{"day":"2026-03-27","equity":16167.47423883991520955,"benchmark":71211.84979202736435},{"day":"2026-03-29","equity":16297.76720754788720955,"benchmark":71780.21359067205795},{"day":"2026-03-31","equity":16161.21005028981951481,"benchmark":70865.40388207004035},{"day":"2026-04-02","equity":16205.94125833262751481,"benchmark":69749.32445443944055},{"day":"2026-04-04","equity":16256.68227153764951481,"benchmark":69299.83048964734195},{"day":"2026-04-06","equity":16533.66582338095551481,"benchmark":70588.34801154845435},{"day":"2026-04-08","equity":16615.48280740148506081,"benchmark":69683.81576313992455},{"day":"2026-04-10","equity":16888.35873780819826081,"benchmark":70675.89860466374295},{"day":"2026-04-12","equity":16810.44651501201826081,"benchmark":69864.71336326000295},{"day":"2026-04-14","equity":17105.33671685686619616,"benchmark":71466.66144371131135},{"day":"2026-04-16","equity":17327.13663733514309616,"benchmark":73391.09860443846415},{"day":"2026-04-18","equity":17245.20857310993129616,"benchmark":73003.70280722176355},{"day":"2026-04-20","equity":17276.09403592152529616,"benchmark":73336.31958625211995},{"day":"2026-04-22","equity":17210.05624215770689616,"benchmark":72997.71629657019735},{"day":"2026-04-24","equity":17147.75239626841020751,"benchmark":72721.94769280481315},{"day":"2026-04-26","equity":16899.85981640154068206,"benchmark":71582.97586798338995},{"day":"2026-04-28","equity":16923.44691125466298446,"benchmark":72162.26157689166495},{"day":"2026-04-30","equity":16928.98320100313251107,"benchmark":72433.38077343249695},{"day":"2026-05-02","equity":17129.68660286974691107,"benchmark":72778.97610361151495},{"day":"2026-05-04","equity":17204.33285275660371107,"benchmark":73233.73164413946195},{"day":"2026-05-06","equity":17116.16982201507321107,"benchmark":71123.07894352415475},{"day":"2026-05-08","equity":17221.02963154272021107,"benchmark":70937.16146444475035},{"day":"2026-05-10","equity":17375.91242579326969002,"benchmark":71120.44278322352875},{"day":"2026-05-12","equity":17443.00597343596969002,"benchmark":71070.42537642689035},{"day":"2026-05-14","equity":17556.14873397446926962,"benchmark":70852.68977910040815},{"day":"2026-05-16","equity":17588.63827490780207262,"benchmark":70826.28020105341435},{"day":"2026-05-18","equity":17566.33936660640707262,"benchmark":69880.86671526829255},{"day":"2026-05-20","equity":17658.49357732617707262,"benchmark":69879.79826391676575},{"day":"2026-05-22","equity":17687.96977552310707262,"benchmark":69680.10899442853575},{"day":"2026-05-24","equity":17818.47591698237707262,"benchmark":69735.75697852792455},{"day":"2026-05-26","equity":17935.23015184791207262,"benchmark":69275.49772270534595},{"day":"2026-05-28","equity":18071.98217917047207262,"benchmark":69986.79451947424315},{"day":"2026-05-30","equity":18247.74804860197484262,"benchmark":71447.34877145831735},{"day":"2026-06-01","equity":18176.62982234020566182,"benchmark":71628.24353561449015},{"day":"2026-06-03","equity":18431.89649255986832362,"benchmark":73972.60340029849955},{"day":"2026-06-05","equity":18563.03857990022202362,"benchmark":75512.68412261733615},{"day":"2026-06-07","equity":18739.78280603121902362,"benchmark":76625.80764351961415},{"day":"2026-06-09","equity":18972.16450236485222362,"benchmark":78036.22699460417395},{"day":"2026-06-11","equity":18992.95822733198120342,"benchmark":78355.93263353967655},{"day":"2026-06-13","equity":19083.01667344729075462,"benchmark":78584.84507408365695},{"day":"2026-06-15","equity":19326.23827669806155462,"benchmark":80006.92600105995015},{"day":"2026-06-17","equity":19306.50824254034495462,"benchmark":79637.21551034166075},{"day":"2026-06-19","equity":19529.36457308134253387,"benchmark":81092.30881264387255},{"day":"2026-06-21","equity":19830.37165622431173387,"benchmark":83561.54335835540335},{"day":"2026-06-23","equity":20243.03697621979223387,"benchmark":86106.87704861394875},{"day":"2026-06-25","equity":20410.55276695546933387,"benchmark":86953.96854482383155},{"day":"2026-06-27","equity":20621.13600131117173387,"benchmark":88171.35065006665095},{"day":"2026-06-29","equity":20870.14967399705733387,"benchmark":89648.27305062377715},{"day":"2026-07-01","equity":21364.55744697100013387,"benchmark":92153.36869512097775},{"day":"2026-07-03","equity":21466.52496873607413387,"benchmark":92644.11893792912055},{"day":"2026-07-05","equity":21662.84321807690453387,"benchmark":93858.58185760531575},{"day":"2026-07-07","equity":21888.48786968415773387,"benchmark":95275.62968543694035},{"day":"2026-07-09","equity":22125.54909902389309197,"benchmark":96447.31553300244775},{"day":"2026-07-11","equity":22758.12511853102074517,"benchmark":99877.07728884446015},{"day":"2026-07-13","equity":22927.39492132270154517,"benchmark":100667.64295221047495},{"day":"2026-07-15","equity":22850.05667433854654517,"benchmark":100932.14965813101595},{"day":"2026-07-17","equity":23100.11589475200194517,"benchmark":102405.48492150291595},{"day":"2026-07-19","equity":23271.20780499479599517,"benchmark":102853.19338052379275},{"day":"2026-07-21","equity":23427.15091874909879517,"benchmark":103356.13760867426215},{"day":"2026-07-23","equity":23545.66865224200439517,"benchmark":103424.11448331857015},{"day":"2026-07-25","equity":23586.67511177174139517,"benchmark":103463.44650255353655},{"day":"2026-07-27","equity":23814.607788893594528825,"benchmark":103656.28966019508595},{"day":"2026-07-29","equity":23886.500378014303328825,"benchmark":103105.93343270884155},{"day":"2026-07-31","equity":24409.374544763960928825,"benchmark":104231.53694307718955},{"day":"2026-08-02","equity":25030.740777143081528825,"benchmark":106653.41188426152895},{"day":"2026-08-04","equity":25659.949252665579128825,"benchmark":109277.97257045663135},{"day":"2026-08-06","equity":25947.688761934075928825,"benchmark":110107.50376639502215},{"day":"2026-08-08","equity":26918.027203424365328825,"benchmark":113946.12204312267275},{"day":"2026-08-10","equity":26979.038686066680128825,"benchmark":113676.22073977581735},{"day":"2026-08-12","equity":27158.911336132583128825,"benchmark":113485.94754396056715},{"day":"2026-08-14","equity":27684.370649172851728825,"benchmark":115282.70812734407615},{"day":"2026-08-16","equity":28382.558725264965128825,"benchmark":118373.01964887169855},{"day":"2026-08-18","equity":28668.337544229647728825,"benchmark":119384.93684138753615},{"day":"2026-08-20","equity":29299.321710947655528825,"benchmark":121730.22633837126495},{"day":"2026-08-22","equity":30059.662327112346728825,"benchmark":124053.28251272895935},{"day":"2026-08-24","equity":30274.385514871649128825,"benchmark":125016.29243581108435},{"day":"2026-08-26","equity":30927.101504461219328825,"benchmark":127765.39124902104735},{"day":"2026-08-28","equity":31523.864759544958128825,"benchmark":129812.22659229293275},{"day":"2026-08-30","equity":31262.430108882055128825,"benchmark":128663.45852662609075},{"day":"2026-09-01","equity":31113.842156741730128825,"benchmark":127021.54793817295875},{"day":"2026-09-03","equity":31084.439489055466128825,"benchmark":125981.39329733101895},{"day":"2026-09-05","equity":30399.978274306086928825,"benchmark":122730.51980725733275},{"day":"2026-09-07","equity":30958.169752192464365925,"benchmark":125585.43717181814375},{"day":"2026-09-09","equity":30907.930340058061715925,"benchmark":124773.89407966497415},{"day":"2026-09-11","equity":31077.964672794580728225,"benchmark":126216.96953208298935},{"day":"2026-09-13","equity":31055.216619649322622390,"benchmark":125116.15986791909935},{"day":"2026-09-15","equity":31074.612491984098771440,"benchmark":122744.56917757469655},{"day":"2026-09-17","equity":31680.025162498979571440,"benchmark":124024.96461161439015},{"day":"2026-09-19","equity":31702.895939540056371440,"benchmark":122212.45282830319835},{"day":"2026-09-21","equity":31756.662761566846158940,"benchmark":121380.17124314854415},{"day":"2026-09-23","equity":31586.916217063849758940,"benchmark":120188.00964849802935},{"day":"2026-09-25","equity":31586.076180307703801240,"benchmark":120221.93050599439595},{"day":"2026-09-27","equity":31695.314769411381801240,"benchmark":121017.68031943879735},{"day":"2026-09-29","equity":32184.566922701161001240,"benchmark":123579.23978335586475},{"day":"2026-10-01","equity":32424.908232415315213240,"benchmark":123670.04465137336295},{"day":"2026-10-03","equity":32751.745897483681481890,"benchmark":125676.53845875914315},{"day":"2026-10-05","equity":33119.175750192391481890,"benchmark":128259.12630929546135},{"day":"2026-10-07","equity":33414.439563237443031890,"benchmark":128780.97086412745535},{"day":"2026-10-09","equity":33704.701333109757831890,"benchmark":130381.25696189837775},{"day":"2026-10-11","equity":34017.033539621115004690,"benchmark":132401.06607658030055},{"day":"2026-10-13","equity":33494.543062184583804690,"benchmark":128154.69898270005135},{"day":"2026-10-15","equity":33252.067254872249404690,"benchmark":126644.32517228572655},{"day":"2026-10-17","equity":33332.733690299286404690,"benchmark":127358.69077860059395},{"day":"2026-10-19","equity":33609.760369772168546690,"benchmark":128610.81863514657875},{"day":"2026-10-21","equity":33330.325202618100346690,"benchmark":127641.26225877472295},{"day":"2026-10-23","equity":32932.798850091341346690,"benchmark":125993.70728521449115},{"day":"2026-10-25","equity":32958.308881732541720690,"benchmark":125262.54207487285955},{"day":"2026-10-27","equity":32914.311254443664707340,"benchmark":124783.67349684385555},{"day":"2026-10-29","equity":33087.452976705596507340,"benchmark":125758.62566102109655},{"day":"2026-10-31","equity":33149.619241713549607340,"benchmark":126867.14122513152295},{"day":"2026-11-02","equity":33325.386429483553207340,"benchmark":127058.32392197621955},{"day":"2026-11-04","equity":33472.516561357982157340,"benchmark":127521.56626038677935},{"day":"2026-11-06","equity":33668.808903553547057340,"benchmark":125962.61604378853715},{"day":"2026-11-08","equity":33655.720639629906505840,"benchmark":124536.08778082201835},{"day":"2026-11-10","equity":33690.728380117782208090,"benchmark":124145.60374689314435},{"day":"2026-11-12","equity":33839.853395209096808090,"benchmark":122898.53336356099815},{"day":"2026-11-14","equity":34050.723490792246408090,"benchmark":124413.92049414531535},{"day":"2026-11-16","equity":34103.781677201092208090,"benchmark":123383.10639854423875},{"day":"2026-11-18","equity":34168.508453027927806290,"benchmark":121298.58013017927155},{"day":"2026-11-20","equity":34373.416954632555406290,"benchmark":121505.82878291667395},{"day":"2026-11-22","equity":34377.334573532727006290,"benchmark":120600.40662174475555},{"day":"2026-11-24","equity":34522.374780238343406290,"benchmark":120479.64587317970195},{"day":"2026-11-26","equity":34690.458565700825382090,"benchmark":120850.18276023420915},{"day":"2026-11-28","equity":34941.714128372194120390,"benchmark":122508.94586031425055},{"day":"2026-11-30","equity":35483.122287310127320390,"benchmark":125870.76061541132115},{"day":"2026-12-02","equity":35934.011274717092320390,"benchmark":128965.72138668877635},{"day":"2026-12-04","equity":36255.580333776265420390,"benchmark":130679.20919237131535},{"day":"2026-12-06","equity":36495.486917315798220390,"benchmark":132082.77971864639375},{"day":"2026-12-08","equity":36935.449446736623820390,"benchmark":134445.07409990212975},{"day":"2026-12-10","equity":36977.869213335936303640,"benchmark":134397.01236399036135},{"day":"2026-12-12","equity":37596.690402627719703640,"benchmark":138151.56912202321615},{"day":"2026-12-14","equity":38000.751000539314103640,"benchmark":140131.00991486140755},{"day":"2026-12-16","equity":38293.262802759648703640,"benchmark":142246.99966869658015},{"day":"2026-12-18","equity":38631.700085154974636940,"benchmark":143721.40509693710495},{"day":"2026-12-20","equity":39140.765593687094636940,"benchmark":147046.44836621112635},{"day":"2026-12-22","equity":39665.574234193239145540,"benchmark":150832.28011990058395},{"day":"2026-12-24","equity":40030.962464816715745540,"benchmark":152878.11720832438695},{"day":"2026-12-26","equity":40619.553535464985235540,"benchmark":155675.25974011339755},{"day":"2026-12-28","equity":41626.681037068493435540,"benchmark":161002.49774276756795},{"day":"2026-12-30","equity":42541.274292685601435540,"benchmark":166223.07263782288135},{"day":"2026-12-31","equity":42515.803080578265635540,"benchmark":166213.82941437167155}],"trades":[{"symbol":"ETHEUR","opened":"2025-12-02","closed":"2026-03-31","invested":2525.25302952470385,"result":1293.63305529843509436,"fees":12.70358438534828334,"is_closed":true},{"symbol":"SOLEUR","opened":"2025-12-02","closed":"2026-02-01","invested":2139.94446689278905,"result":359.31426831618233835,"fees":9.28842347328251475,"is_closed":true},{"symbol":"BTCEUR","opened":"2025-12-06","closed":"2025-12-17","invested":966.9016036372200,"result":17.2627795034531893,"fees":3.9060765201816007,"is_closed":true},{"symbol":"BTCEUR","opened":"2025-12-23","closed":"2026-04-30","invested":3661.1715494878743,"result":4792.76333458192586671,"fees":24.26409637366472689,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-02-18","closed":"2026-02-18","invested":737.5047558864963,"result":-7.3652876625884,"fees":2.9382148589150926,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-03-13","closed":"2026-03-13","invested":809.88588274858875,"result":-11.6521677172507058,"fees":3.2194385290870333,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-03-30","closed":"2026-03-30","invested":452.097827129592,"result":-6.8346288865206391,"fees":1.7965066727823731,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-04-07","closed":"2026-04-07","invested":925.38879458571,"result":-17.078543965270454,"fees":3.671038612458874,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-04-14","closed":"2026-04-14","invested":1032.59890845080865,"result":-19.79916632704006465,"fees":4.09485661875285695,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-04-16","closed":"2026-07-26","invested":3106.4736049459869,"result":2527.533067917739775055,"fees":17.503541744689021245,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-04-21","closed":"2026-04-23","invested":946.1143749999114,"result":-8.21434883931708865,"fees":3.77178792066233645,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-04-26","closed":"2026-04-26","invested":929.62803402544965,"result":-22.66318437136552545,"fees":3.67682089701699975,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-04-29","closed":"2026-05-09","invested":1778.6483641888233,"result":-8.23413213817702105,"fees":7.10522104110439265,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-05-16","closed":"2026-05-16","invested":928.21153614565725,"result":-13.258833591642197,"fees":3.6899956224997615,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-05-29","closed":"2026-05-29","invested":1021.740252560871,"result":-11.99422577459223,"fees":4.067019636957972,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-05-31","closed":"2026-06-01","invested":2051.1412991381088,"result":-32.8830195609141808,"fees":8.1468883689719984,"is_closed":true},{"symbol":"BTCEUR","opened":"2026-06-01","closed":"2026-06-10","invested":1601.0717820345057,"result":5.9687448561770798,"fees":6.4226656620463316,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-06-03","closed":"2026-09-13","invested":5032.7243775934785,"result":6081.314215540833731265,"fees":32.338071186317843235,"is_closed":true},{"symbol":"BTCEUR","opened":"2026-06-12","closed":"2026-06-13","invested":431.051677019445,"result":-6.5323979118124488,"fees":1.7128433923307388,"is_closed":true},{"symbol":"BTCEUR","opened":"2026-06-19","closed":"2026-06-19","invested":449.5768145980644,"result":-6.57554444222122075,"fees":1.78693172570082455,"is_closed":true},{"symbol":"BTCEUR","opened":"2026-06-22","closed":"2026-07-11","invested":3866.7258151488198,"result":103.9273106959738113,"fees":15.6906723233733783,"is_closed":true},{"symbol":"BTCEUR","opened":"2026-07-16","closed":"2026-10-27","invested":5991.30226706960655,"result":7444.26125114625108465,"fees":38.90758152455175345,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-09-08","closed":"2026-09-10","invested":1498.47415488021705,"result":-11.7036375850578377,"fees":5.9764483444200718,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-09-12","closed":"2026-09-15","invested":2984.47651750389570,"result":-36.44889461783035095,"fees":11.87682402275541735,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-09-20","closed":"2026-09-20","invested":3155.31754937952,"result":-54.2064478446706125,"fees":12.5252866048409025,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-09-23","closed":"2026-10-03","invested":9512.0520297582840,"result":-171.18187986118558865,"fees":37.74328271662498165,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-09-29","closed":"2026-09-30","invested":1473.7436961930984,"result":-12.4384579958666972,"fees":5.8759548036030940,"is_closed":true},{"symbol":"SOLEUR","opened":"2026-10-06","invested":6620.50213234909065,"result":4821.8922917852374611,"fees":18.3940101066035202,"is_closed":false},{"symbol":"ETHEUR","opened":"2026-10-19","closed":"2026-10-19","invested":817.9055435299662,"result":-15.824663053019058,"fees":3.2431876010417904,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-10-24","closed":"2026-10-24","invested":1590.9223194969345,"result":-31.8819850580846652,"fees":6.3061739665266342,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-10-30","closed":"2026-11-07","invested":3280.49970150898665,"result":-48.9276451092462015,"fees":13.0370957084282748,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-11-10","closed":"2026-11-10","invested":1707.9645829120992,"result":-36.19072474132989775,"fees":6.76617737859127115,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-11-17","closed":"2026-11-17","invested":1738.4223361905054,"result":-26.9114401858740018,"fees":6.9067262275005126,"is_closed":true},{"symbol":"ETHEUR","opened":"2026-11-23","invested":10969.61254438147095,"result":5861.4540489166785758,"fees":25.3743583581669161,"is_closed":false},{"symbol":"BTCEUR","opened":"2026-12-01","closed":"2026-12-10","invested":3451.1493644770755,"result":20.78856397244178325,"fees":13.86009016873274275,"is_closed":true},{"symbol":"BTCEUR","opened":"2026-12-17","closed":"2026-12-17","invested":1958.645306768766,"result":-20.0480974830236667,"fees":7.8022549608035487,"is_closed":true},{"symbol":"BTCEUR","opened":"2026-12-20","closed":"2026-12-21","invested":5913.3301752726894,"result":-112.1289640601285914,"fees":23.4523140804302702,"is_closed":true},{"symbol":"BTCEUR","opened":"2026-12-22","invested":10186.7991231563109,"result":-63.331533169034810,"fees":31.9573984813763318,"is_closed":false}],"notes":{"adjusted:crypto_regime_below_average":11,"adjusted:trade_risk_limit":98,"adjusted:crypto_regime_high_volatility":36,"residue_written_off":35,"below_min_notional":2},"computed_at":"2027-01-05T02:10:00+00:00","seconds":0,"expected_slippage_bp":5,"expected_path_p5":[-0.0033,-0.0023,-0.0023,-0.0032,-0.0031,-0.0039,-0.0041,-0.0039,-0.0044,-0.0037,-0.0031,-0.0018,-0.002,-0.0017,-0.0012,-0.0006,-0.0006,-0.0006,-0.0007,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.0006,0.0006,0.001,0.001,0.0025,0.0039,0.0051,0.0061,0.0065,0.006,0.0071,0.0071,0.0085,0.0084,0.009,0.0093,0.0095,0.0095,0.0103,0.0119,0.0124,0.0137,0.0145,0.0145,0.0151,0.0163,0.0161,0.0161,0.0169,0.0181,0.0183,0.0186,0.0206,0.0215,0.0215,0.0219,0.0219,0.0223,0.0242,0.0247,0.0248,0.0259,0.0301,0.0301,0.0304,0.0315,0.0318,0.0319,0.0337,0.0341,0.0363,0.0373,0.0389,0.0396,0.0406,0.0412,0.0412,0.0426,0.0432,0.0445,0.0453,0.0463,0.046,0.0465,0.0479,0.0503,0.0515,0.0553,0.0563,0.0577,0.0586,0.0587,0.0618,0.0623,0.0639,0.0641,0.0705,0.0697,0.0716,0.0716,0.0724,0.0728,0.0728,0.0734,0.0735,0.074,0.0749,0.0752,0.0757,0.0775,0.0782,0.0788,0.0805,0.0805,0.0826,0.0833,0.0849,0.0857,0.0885,0.0895,0.092,0.0906,0.092,0.0936,0.0961,0.0959,0.0977,0.0985,0.0995,0.1002,0.1011,0.1033,0.1051,0.1051,0.1075,0.1076,0.1082,0.1082,0.1098,0.1094,0.1109,0.1109,0.1113,0.1113,0.112,0.1165,0.119,0.12,0.1207,0.1205,0.1231,0.1249,0.1249,0.1253,0.1275,0.1275,0.1306,0.1323,0.1362,0.1392,0.1399,0.1412,0.1414,0.1414,0.1419,0.1427,0.1452,0.1495,0.1483,0.1514,0.1546,0.1556,0.1571,0.1571,0.1573,0.1596,0.1619,0.1623,0.1637,0.1659,0.1661,0.1676,0.17,0.1709,0.1717,0.1726,0.174,0.1788,0.1805,0.1841,0.1855,0.1871,0.1906,0.1908,0.1922,0.1951,0.1973,0.1964,0.1964,0.1973,0.1973,0.1973,0.1982,0.1996,0.1998,0.2003,0.2005,0.2005,0.2018,0.2028,0.2036,0.2063,0.2079,0.2079,0.2095,0.2104,0.2119,0.2111,0.2145,0.2149,0.215,0.215,0.2152,0.2152,0.2162,0.2156,0.2174,0.2202,0.2227,0.2229,0.2276,0.2277,0.2303,0.2299,0.234,0.2368,0.2384,0.2422,0.2436,0.2481,0.2468,0.2461,0.2478,0.2516,0.2536,0.2538,0.2577,0.2576,0.2578,0.2599,0.2637,0.2648,0.2648,0.268,0.2712,0.2721,0.2721,0.2729,0.2751,0.2755,0.2756,0.2803,0.2875,0.2899,0.29,0.29,0.29,0.2934,0.2934,0.2948,0.2964,0.2992,0.3099,0.3114,0.3088,0.3123,0.3129,0.3134,0.3146,0.3147,0.3168,0.321,0.3221,0.3221,0.3225,0.3239,0.3261,0.3275,0.33,0.3315,0.3302],"judged":"coin_vol=12;max_stop=15"} \ No newline at end of file diff --git a/tests/Anubis.Tests/Fixtures/golden/sma_cross.report.json b/tests/Anubis.Tests/Fixtures/golden/sma_cross.report.json new file mode 100644 index 0000000..e37a987 --- /dev/null +++ b/tests/Anubis.Tests/Fixtures/golden/sma_cross.report.json @@ -0,0 +1 @@ +{"trial_id":"6d2f3a51-0c4e-4b7a-9a61-3f1e2d0c9b12","strategy":"sma_cross","strategy_name":"Incrocio di medie (esempio)","strategy_version":"1","plan_hash":"990e63ec6f56622482e7a01e5c394a50b7c4ab71e49ae5648525cacf566ae1b1","data_fingerprint":"4d526d1396e3809f960d671c57f9ca3017f7cdc7198fa4781519169ba9630644","currency":"EUR","periods_per_year":365,"sessions":1349,"instruments":[{"symbol":"BTC-EUR","venue":"okx","first":"2018-01-01","last":"2022-02-08","bars":1500,"actions":0,"source":""}],"chosen":"fast=10;slow=50","metrics":{"from":"2018-06-01","to":"2022-02-08","initial_capital":10000,"final_equity":6285.4325248044152,"total_return":-0.3714567475195585,"annual_return":-0.11822555620871933,"volatility":0.35324063837526276,"sharpe":-0.17944546690357913,"daily_sharpe":-0.009392605017770376,"max_drawdown":0.6890295232626155,"drawdown_peak":"2018-12-05","drawdown_low":"2020-08-01","trades":16,"winners":7,"profit_factor":0.2622557627792188,"average_win":255.25905750743714285714285714,"average_loss":-757.02749255855977777777777778,"fees":409.512752353050,"exposure":0.40622683231406903,"years":[{"year":2018,"start":10000,"end":8685.755700826393,"result":-1314.244299173607,"return":-0.1314244299173607},{"year":2019,"start":8685.755700826393,"end":4374.272033425322,"result":-4311.483667401071,"return":-0.4963855553744001},{"year":2020,"start":4374.272033425322,"end":4271.497995114922,"result":-102.774038310400,"return":-0.02349511816482097},{"year":2021,"start":4271.497995114922,"end":5482.2471804670268,"result":1210.7491853521048,"return":0.2834483796402978},{"year":2022,"start":5482.2471804670268,"end":6285.4325248044152,"result":803.1853443373884,"return":0.14650659080077566}],"net_result":-3714.5674751955848,"win_rate":0.4375},"benchmark":{"from":"2018-06-01","to":"2022-02-08","initial_capital":10000,"final_equity":1428.644570017173,"total_return":-0.8571355429982828,"annual_return":-0.40977062822712385,"volatility":0.5265283233161793,"sharpe":-0.7366093915972111,"daily_sharpe":-0.038555897716660306,"max_drawdown":0.9147532355023699,"drawdown_peak":"2018-06-10","drawdown_low":"2021-11-10","trades":0,"winners":0,"average_win":0,"average_loss":0,"fees":19.91001444273,"exposure":0.9753449358029199,"years":[{"year":2018,"start":10000,"end":6350.615563974605,"result":-3649.384436025395,"return":-0.36493844360253946},{"year":2019,"start":6350.615563974605,"end":2391.41269070224,"result":-3959.202873272365,"return":-0.6234360800757482},{"year":2020,"start":2391.41269070224,"end":1717.725401513074,"result":-673.687289189166,"return":-0.28171101199238735},{"year":2021,"start":1717.725401513074,"end":1251.834328409172,"result":-465.891073103902,"return":-0.27122558279310394},{"year":2022,"start":1251.834328409172,"end":1428.644570017173,"result":176.810241608001,"return":0.14124092748973505}],"net_result":-8571.355429982827,"win_rate":0},"costs":[{"multiplier":1,"net_result":-3714.5674751955848,"total_return":-0.3714567475195585,"sharpe":-0.17944546690357913,"max_drawdown":0.6890295232626155,"fees":409.512752353050},{"multiplier":2,"net_result":-4213.435391198960,"total_return":-0.42134353911989597,"sharpe":-0.24253938590781685,"max_drawdown":0.701247870371674,"fees":793.032851375020},{"multiplier":3,"net_result":-4673.1546177568774,"total_return":-0.4673154617756877,"sharpe":-0.30535037551200916,"max_drawdown":0.7129997025296625,"fees":1152.407422350312}],"variants":[{"parameters":"fast=10;slow=50","sharpe":-0.009392605017770376,"plateau_score":-0.014421152695077044,"net_result":-3714.5674751955848,"max_drawdown":0.6890295232626155,"trades":16,"chosen":true,"outside_grid":false},{"parameters":"fast=10;slow=100","sharpe":-0.012439903845665106,"plateau_score":-0.018249437198971447,"net_result":-3759.8615550387032,"max_drawdown":0.49358888719810523,"trades":9,"chosen":false,"outside_grid":false},{"parameters":"fast=10;slow=150","sharpe":-0.01960343681733535,"plateau_score":-0.01960343681733535,"net_result":-4456.3707526755608,"max_drawdown":0.5566227548691635,"trades":7,"chosen":false,"outside_grid":false},{"parameters":"fast=20;slow=50","sharpe":-0.022543401299485562,"plateau_score":-0.022543401299485562,"net_result":-5457.5870981397256,"max_drawdown":0.6584030293650209,"trades":16,"chosen":false,"outside_grid":false},{"parameters":"fast=20;slow=100","sharpe":-0.013308700617387134,"plateau_score":-0.024154091365139782,"net_result":-3932.8860477973112,"max_drawdown":0.5226121704934336,"trades":7,"chosen":false,"outside_grid":false},{"parameters":"fast=20;slow=150","sharpe":-0.03220857559618516,"plateau_score":-0.03220857559618516,"net_result":-5699.2247211905662,"max_drawdown":0.6560257168475645,"trades":6,"chosen":false,"outside_grid":false},{"parameters":"fast=30;slow=50","sharpe":-0.02809129797366409,"plateau_score":-0.02809129797366409,"net_result":-6052.8336160531412,"max_drawdown":0.7113621829037103,"trades":16,"chosen":false,"outside_grid":false},{"parameters":"fast=30;slow=100","sharpe":-0.03083313673334694,"plateau_score":-0.03083313673334694,"net_result":-5920.8577557581702,"max_drawdown":0.6737518382530776,"trades":8,"chosen":false,"outside_grid":false},{"parameters":"fast=30;slow=150","sharpe":-0.04896576438541832,"plateau_score":-0.04896576438541832,"net_result":-6955.4214078149296,"max_drawdown":0.7564958245704758,"trades":6,"chosen":false,"outside_grid":false}],"walk_forward":{"windows":[{"window":1,"train_from":"2018-06-02","train_to":"2019-02-11","test_from":"2019-02-26","test_to":"2019-11-21","chosen":"fast=30;slow=50","return":-0.3849912838042354,"sharpe":-0.12350764461411874},{"window":2,"train_from":"2018-06-02","train_to":"2019-11-07","test_from":"2019-11-22","test_to":"2020-08-16","chosen":"fast=30;slow=150","return":-0.3100318094054273,"sharpe":-0.1282083929756568},{"window":3,"train_from":"2018-06-02","train_to":"2020-08-02","test_from":"2020-08-17","test_to":"2021-05-12","chosen":"fast=20;slow=150","return":0.013007846478391372,"sharpe":0.013572013555750492},{"window":4,"train_from":"2018-06-02","train_to":"2021-04-28","test_from":"2021-05-13","test_to":"2022-02-08","chosen":"fast=10;slow=150","return":-0.19617302222488264,"sharpe":-0.02629689959328206}],"purge":14,"return":-0.6544700264303343,"sharpe":-0.04564918977670254},"combinatorial":{"groups":6,"test_groups":2,"splits":15,"purge":14,"embargo":14,"path_sharpes":[-0.035594575917200756,-0.035594575917200756,-0.035594575917200756,0.00023664262558358172,-0.029302886395026248],"mean_sharpe":-0.027169994304208987,"worst_sharpe":-0.035594575917200756,"positive_share":0.2},"overfitting":{"groups":16,"combinations":12870,"variants":9,"probability":0.6278166278166278},"deflated_sharpe":{"sharpe":-0.009392605017770376,"benchmark":0.5824850053822396,"observations":1348,"skewness":0.13579462415443572,"kurtosis":7.4475714108695845,"trials":27,"sharpe_variance":0.08236606488858376,"value":8.730517376249099E-105},"trials_counted":27,"look_ahead":{"cutoffs":["2018-12-10","2019-06-21","2019-12-30","2020-07-10","2021-01-18","2021-07-30"],"decisions":4047,"changed":0,"examples":[],"passed":true},"checks":[{"key":"double_costs","name":"Risultato netto con costi doppi","value":-4213.43539119896,"comparison":"\u003E","threshold":0,"unit":"money","passed":false},{"key":"deflated_sharpe","name":"Deflated Sharpe Ratio","value":8.730517376249099E-105,"comparison":"\u2265","threshold":0.9,"unit":"ratio","passed":false},{"key":"overfitting","name":"Probabilit\u00E0 di sovra-adattamento (PBO)","value":0.6278166278166278,"comparison":"\u2264","threshold":0.4,"unit":"ratio","passed":false},{"key":"drawdown","name":"Calo massimo","value":0.6890295232626155,"comparison":"\u2264","threshold":0.25,"unit":"percent","passed":false},{"key":"look_ahead","name":"Decisioni cambiate aggiungendo dati successivi","value":0,"comparison":"=","threshold":0,"unit":"count","passed":true}],"passed":false,"limitations":["I correttivi senza una storia ricostruibile (notizie, calendario economico, trimestrali, modello) non ricevono dati e non intervengono.","Le decisioni si prendono sulla chiusura e si eseguono all\u0027apertura della seduta dopo, con lo scostamento stimato: nessun inseguimento con ordini limite.","Sharpe e volatilit\u00E0 sono calcolati senza tasso privo di rischio.","Strategia d\u0027esempio: correttivi e limiti di rischio non si applicano, ogni intenzione passa cos\u00EC com\u0027\u00E8.","L\u0027incrocio di medie \u00E8 una strategia d\u0027esempio per provare il laboratorio, non una delle strategie di base."],"curve":[{"day":"2018-06-01","equity":10000,"benchmark":10000},{"day":"2018-06-04","equity":9865.642387051994,"benchmark":9866.246899079142},{"day":"2018-06-07","equity":10228.213059281468,"benchmark":10026.453843356087},{"day":"2018-06-10","equity":10228.213059281468,"benchmark":10402.563861139539},{"day":"2018-06-13","equity":10228.213059281468,"benchmark":9756.891094537543},{"day":"2018-06-16","equity":10228.213059281468,"benchmark":9480.524818804972},{"day":"2018-06-19","equity":10228.213059281468,"benchmark":9906.377437060839},{"day":"2018-06-22","equity":10228.213059281468,"benchmark":9518.618902869144},{"day":"2018-06-25","equity":10228.213059281468,"benchmark":9337.771170015963},{"day":"2018-06-28","equity":10228.213059281468,"benchmark":9105.905839455047},{"day":"2018-07-01","equity":10228.213059281468,"benchmark":8961.430944398356},{"day":"2018-07-04","equity":10228.213059281468,"benchmark":8480.79948659056},{"day":"2018-07-07","equity":10228.213059281468,"benchmark":8920.960407153907},{"day":"2018-07-10","equity":10228.213059281468,"benchmark":8129.835247614808},{"day":"2018-07-13","equity":10228.213059281468,"benchmark":8599.777978599838},{"day":"2018-07-16","equity":10228.213059281468,"benchmark":8610.516288648422},{"day":"2018-07-19","equity":10228.213059281468,"benchmark":8601.385891779936},{"day":"2018-07-22","equity":10228.213059281468,"benchmark":8774.133850529848},{"day":"2018-07-25","equity":10228.213059281468,"benchmark":8854.780967322825},{"day":"2018-07-28","equity":10228.213059281468,"benchmark":8894.911505304522},{"day":"2018-07-31","equity":10228.213059281468,"benchmark":8627.997917408254},{"day":"2018-08-03","equity":10228.213059281468,"benchmark":8386.637399103191},{"day":"2018-08-06","equity":10228.213059281468,"benchmark":7413.764925328213},{"day":"2018-08-09","equity":10228.213059281468,"benchmark":6981.987111587095},{"day":"2018-08-12","equity":10228.213059281468,"benchmark":7107.20246507248},{"day":"2018-08-15","equity":10228.213059281468,"benchmark":6705.808543780835},{"day":"2018-08-18","equity":10228.213059281468,"benchmark":7041.270941370488},{"day":"2018-08-21","equity":10228.213059281468,"benchmark":7371.16230937359},{"day":"2018-08-24","equity":10228.213059281468,"benchmark":7386.281651589093},{"day":"2018-08-27","equity":10228.213059281468,"benchmark":7256.851723909178},{"day":"2018-08-30","equity":10228.213059281468,"benchmark":6885.143988246567},{"day":"2018-09-02","equity":10228.213059281468,"benchmark":6765.216331628773},{"day":"2018-09-05","equity":10228.213059281468,"benchmark":6533.340376090896},{"day":"2018-09-08","equity":10228.213059281468,"benchmark":6603.4368907616},{"day":"2018-09-11","equity":10228.213059281468,"benchmark":5959.676620012584},{"day":"2018-09-14","equity":10228.213059281468,"benchmark":6249.040784227445},{"day":"2018-09-17","equity":10228.213059281468,"benchmark":5877.000132620056},{"day":"2018-09-20","equity":10228.213059281468,"benchmark":5865.982031511499},{"day":"2018-09-23","equity":10228.213059281468,"benchmark":5773.700564946227},{"day":"2018-09-26","equity":10228.213059281468,"benchmark":5868.439942848477},{"day":"2018-09-29","equity":10228.213059281468,"benchmark":5674.179947411527},{"day":"2018-10-02","equity":10228.213059281468,"benchmark":5455.879170770821},{"day":"2018-10-05","equity":10228.213059281468,"benchmark":5487.835559810522},{"day":"2018-10-08","equity":10228.213059281468,"benchmark":5404.383449099841},{"day":"2018-10-11","equity":10228.213059281468,"benchmark":5751.52623802862},{"day":"2018-10-14","equity":10228.213059281468,"benchmark":5916.0008813849},{"day":"2018-10-17","equity":10228.213059281468,"benchmark":5909.827769770559},{"day":"2018-10-20","equity":10228.213059281468,"benchmark":5960.735576049697},{"day":"2018-10-23","equity":10306.8413997189016,"benchmark":5955.681628675248},{"day":"2018-10-26","equity":10275.5300206176136,"benchmark":5937.725417611158},{"day":"2018-10-29","equity":10287.7272540939536,"benchmark":5944.720194110483},{"day":"2018-11-01","equity":9223.671484690144,"benchmark":5334.513600604305},{"day":"2018-11-04","equity":10097.6295104811832,"benchmark":5835.704388831636},{"day":"2018-11-07","equity":9259.431769394940,"benchmark":5683.405969072662},{"day":"2018-11-10","equity":9259.431769394940,"benchmark":5679.690768795299},{"day":"2018-11-13","equity":9259.431769394940,"benchmark":5645.163135331036},{"day":"2018-11-16","equity":9259.431769394940,"benchmark":5689.681788797626},{"day":"2018-11-19","equity":9351.924491237122,"benchmark":5783.638460063749},{"day":"2018-11-22","equity":9222.3455067312076,"benchmark":5798.871135366836},{"day":"2018-11-25","equity":10254.2869390348954,"benchmark":6442.705780954579},{"day":"2018-11-28","equity":10257.5793606376114,"benchmark":6444.759943167039},{"day":"2018-12-01","equity":9662.349270989350,"benchmark":6073.39220676718},{"day":"2018-12-04","equity":10435.216859282080,"benchmark":6555.58907784723},{"day":"2018-12-07","equity":10391.4617114997784,"benchmark":6528.289970375434},{"day":"2018-12-10","equity":10077.0638313852514,"benchmark":6332.135187380439},{"day":"2018-12-13","equity":9650.769029490142,"benchmark":6066.1672224337},{"day":"2018-12-16","equity":9277.1189137046674,"benchmark":5833.044602932399},{"day":"2018-12-19","equity":8863.4715520351636,"benchmark":5574.967454208696},{"day":"2018-12-22","equity":8841.280294032886,"benchmark":5892.576348844882},{"day":"2018-12-25","equity":8841.280294032886,"benchmark":6079.196985846873},{"day":"2018-12-28","equity":8841.280294032886,"benchmark":6330.962898255742},{"day":"2018-12-31","equity":8685.755700826393,"benchmark":6350.615563974605},{"day":"2019-01-03","equity":8068.6644097870594,"benchmark":5902.624035391001},{"day":"2019-01-06","equity":7628.9310060902848,"benchmark":5583.389519279782},{"day":"2019-01-09","equity":7609.846240512886,"benchmark":5616.858196706932},{"day":"2019-01-12","equity":7609.846240512886,"benchmark":5713.690695070499},{"day":"2019-01-15","equity":7609.846240512886,"benchmark":5741.50334309541},{"day":"2019-01-18","equity":7609.846240512886,"benchmark":6246.267665240624},{"day":"2019-01-21","equity":7609.846240512886,"benchmark":6416.447921224961},{"day":"2019-01-24","equity":7551.8286882409102,"benchmark":6383.737158821029},{"day":"2019-01-27","equity":7344.6073827874316,"benchmark":6209.802744310472},{"day":"2019-01-30","equity":7000.7139406447464,"benchmark":5921.150453551998},{"day":"2019-02-02","equity":7478.1824447234698,"benchmark":6321.921042861931},{"day":"2019-02-05","equity":7424.7853316426168,"benchmark":6277.101348381446},{"day":"2019-02-08","equity":7901.1525598213716,"benchmark":6676.947564695772},{"day":"2019-02-11","equity":7747.033006096264,"benchmark":6547.58492853661},{"day":"2019-02-14","equity":7297.2525190887818,"benchmark":6170.054705499371},{"day":"2019-02-17","equity":7448.8530624220072,"benchmark":6297.302971243294},{"day":"2019-02-20","equity":7215.0998686198598,"benchmark":6101.098605022481},{"day":"2019-02-23","equity":7173.5383068777498,"benchmark":6066.213264000531},{"day":"2019-02-26","equity":7004.381752979626,"benchmark":5838.845840353105},{"day":"2019-03-01","equity":7004.381752979626,"benchmark":5997.63612103525},{"day":"2019-03-04","equity":7004.381752979626,"benchmark":5644.60355321109},{"day":"2019-03-07","equity":7004.381752979626,"benchmark":5165.250634297601},{"day":"2019-03-10","equity":7004.381752979626,"benchmark":5156.261903788595},{"day":"2019-03-13","equity":7004.381752979626,"benchmark":5043.474231688593},{"day":"2019-03-16","equity":7004.381752979626,"benchmark":5491.915550963546},{"day":"2019-03-19","equity":7004.381752979626,"benchmark":5214.660318825238},{"day":"2019-03-22","equity":7004.381752979626,"benchmark":5130.138627100483},{"day":"2019-03-25","equity":7004.381752979626,"benchmark":4785.283749877306},{"day":"2019-03-28","equity":7004.381752979626,"benchmark":4854.817140769077},{"day":"2019-03-31","equity":7004.381752979626,"benchmark":4749.789243509592},{"day":"2019-04-03","equity":7004.381752979626,"benchmark":4660.620895193893},{"day":"2019-04-06","equity":7004.381752979626,"benchmark":5065.662725242148},{"day":"2019-04-09","equity":7004.381752979626,"benchmark":4864.723160955716},{"day":"2019-04-12","equity":7004.381752979626,"benchmark":4725.373046453214},{"day":"2019-04-15","equity":7004.381752979626,"benchmark":4730.391577237793},{"day":"2019-04-18","equity":7004.381752979626,"benchmark":4458.505500123777},{"day":"2019-04-21","equity":7004.381752979626,"benchmark":4342.781792723552},{"day":"2019-04-24","equity":7004.381752979626,"benchmark":4598.061030847525},{"day":"2019-04-27","equity":7004.381752979626,"benchmark":4484.334819115968},{"day":"2019-04-30","equity":7004.381752979626,"benchmark":4471.259014135964},{"day":"2019-05-03","equity":7004.381752979626,"benchmark":4041.159946754684},{"day":"2019-05-06","equity":7004.381752979626,"benchmark":3718.266896909894},{"day":"2019-05-09","equity":7004.381752979626,"benchmark":3710.687746677714},{"day":"2019-05-12","equity":7004.381752979626,"benchmark":3765.866793695174},{"day":"2019-05-15","equity":7004.381752979626,"benchmark":3732.699157281919},{"day":"2019-05-18","equity":7004.381752979626,"benchmark":3640.810814864204},{"day":"2019-05-21","equity":7004.381752979626,"benchmark":3765.32846152915},{"day":"2019-05-24","equity":7004.381752979626,"benchmark":3823.829584676416},{"day":"2019-05-27","equity":7004.381752979626,"benchmark":3830.186862558081},{"day":"2019-05-30","equity":7004.381752979626,"benchmark":3531.773759631435},{"day":"2019-06-02","equity":7004.381752979626,"benchmark":3527.5060605521},{"day":"2019-06-05","equity":7004.381752979626,"benchmark":3660.573272011664},{"day":"2019-06-08","equity":7004.381752979626,"benchmark":3662.01826887836},{"day":"2019-06-11","equity":7004.381752979626,"benchmark":3647.968507676931},{"day":"2019-06-14","equity":7004.381752979626,"benchmark":3467.361607634866},{"day":"2019-06-17","equity":7004.381752979626,"benchmark":3525.154398984732},{"day":"2019-06-20","equity":7004.381752979626,"benchmark":3481.811576301826},{"day":"2019-06-23","equity":7004.381752979626,"benchmark":3461.269954177226},{"day":"2019-06-26","equity":7004.381752979626,"benchmark":3718.249188614959},{"day":"2019-06-29","equity":7004.381752979626,"benchmark":3742.240386592897},{"day":"2019-07-02","equity":7005.854066095588,"benchmark":3784.216128906821},{"day":"2019-07-05","equity":7006.690163667352,"benchmark":3784.662377939183},{"day":"2019-07-08","equity":6924.898586924788,"benchmark":3741.007889265421},{"day":"2019-07-11","equity":6949.351123051378,"benchmark":3754.058902632516},{"day":"2019-07-14","equity":6877.440096184660,"benchmark":3715.677944190397},{"day":"2019-07-17","equity":6336.007197212344,"benchmark":3426.699820805119},{"day":"2019-07-20","equity":6098.325082634226,"benchmark":3218.652146931778},{"day":"2019-07-23","equity":6098.325082634226,"benchmark":3236.52335818018},{"day":"2019-07-26","equity":6098.325082634226,"benchmark":3237.996688318772},{"day":"2019-07-29","equity":6098.325082634226,"benchmark":2842.311921314171},{"day":"2019-08-01","equity":6098.325082634226,"benchmark":2570.783551757842},{"day":"2019-08-04","equity":6098.325082634226,"benchmark":2553.687963827593},{"day":"2019-08-07","equity":6098.325082634226,"benchmark":2635.649036104747},{"day":"2019-08-10","equity":6098.325082634226,"benchmark":2629.19967508942},{"day":"2019-08-13","equity":6098.325082634226,"benchmark":2710.222207735019},{"day":"2019-08-16","equity":6098.325082634226,"benchmark":2696.629320542913},{"day":"2019-08-19","equity":6098.325082634226,"benchmark":2659.640234082685},{"day":"2019-08-22","equity":6098.325082634226,"benchmark":2631.257378960867},{"day":"2019-08-25","equity":6098.325082634226,"benchmark":2496.231630081492},{"day":"2019-08-28","equity":6098.325082634226,"benchmark":2545.481939954714},{"day":"2019-08-31","equity":6098.325082634226,"benchmark":2518.816789441591},{"day":"2019-09-03","equity":6098.325082634226,"benchmark":2566.68939396887},{"day":"2019-09-06","equity":6098.325082634226,"benchmark":2563.615233968154},{"day":"2019-09-09","equity":6098.325082634226,"benchmark":2673.321662749466},{"day":"2019-09-12","equity":6098.325082634226,"benchmark":2827.415703614849},{"day":"2019-09-15","equity":6393.3310648040052,"benchmark":3043.247943941616},{"day":"2019-09-18","equity":5851.6068106222644,"benchmark":2789.197661486132},{"day":"2019-09-21","equity":6330.966166417890,"benchmark":3014.00092402697},{"day":"2019-09-24","equity":5682.3123171466596,"benchmark":2709.804291974553},{"day":"2019-09-27","equity":5804.6027990510388,"benchmark":2767.154375951044},{"day":"2019-09-30","equity":5784.4539072014196,"benchmark":2757.705229773728},{"day":"2019-10-03","equity":5889.3368944606068,"benchmark":2806.891789785184},{"day":"2019-10-06","equity":5866.2653560046148,"benchmark":2796.072021579899},{"day":"2019-10-09","equity":5903.9048151419844,"benchmark":2813.723649971107},{"day":"2019-10-12","equity":5527.313870249514,"benchmark":2637.115282925365},{"day":"2019-10-15","equity":5239.012368837378,"benchmark":2485.107279203325},{"day":"2019-10-18","equity":5239.012368837378,"benchmark":2401.347044160775},{"day":"2019-10-21","equity":5239.012368837378,"benchmark":2276.726689385206},{"day":"2019-10-24","equity":5239.012368837378,"benchmark":2285.046046345669},{"day":"2019-10-27","equity":5239.012368837378,"benchmark":2565.173563922434},{"day":"2019-10-30","equity":5239.012368837378,"benchmark":2557.137539680931},{"day":"2019-11-02","equity":5239.012368837378,"benchmark":2577.888119685764},{"day":"2019-11-05","equity":5239.012368837378,"benchmark":2559.457326317416},{"day":"2019-11-08","equity":5239.012368837378,"benchmark":2475.303967127309},{"day":"2019-11-11","equity":5239.012368837378,"benchmark":2557.222539496619},{"day":"2019-11-14","equity":5239.012368837378,"benchmark":2560.271907884426},{"day":"2019-11-17","equity":5239.012368837378,"benchmark":2770.940409408147},{"day":"2019-11-20","equity":5068.936675931286,"benchmark":2799.76597190334},{"day":"2019-11-23","equity":4833.0723065303618,"benchmark":2671.582708186849},{"day":"2019-11-26","equity":4819.862650608618,"benchmark":2664.4037654202},{"day":"2019-11-29","equity":4965.3122364583466,"benchmark":2743.450052351053},{"day":"2019-12-02","equity":4831.918823995508,"benchmark":2670.95583454615},{"day":"2019-12-05","equity":5201.6002011404318,"benchmark":2871.863523901699},{"day":"2019-12-08","equity":5363.5178681516042,"benchmark":2959.859583092701},{"day":"2019-12-11","equity":5729.2500339060116,"benchmark":3158.621027102128},{"day":"2019-12-14","equity":5968.5357498086208,"benchmark":3288.663661786794},{"day":"2019-12-17","equity":5003.5661487724246,"benchmark":2764.239590604743},{"day":"2019-12-20","equity":4854.3758907475204,"benchmark":2683.160391415352},{"day":"2019-12-23","equity":4534.8612285930178,"benchmark":2509.516392941729},{"day":"2019-12-26","equity":4374.272033425322,"benchmark":2448.302359010421},{"day":"2019-12-29","equity":4374.272033425322,"benchmark":2297.420602846247},{"day":"2020-01-01","equity":4374.272033425322,"benchmark":2258.660686892519},{"day":"2020-01-04","equity":4374.272033425322,"benchmark":2242.740929745954},{"day":"2020-01-07","equity":4374.272033425322,"benchmark":2266.778169290723},{"day":"2020-01-10","equity":4374.272033425322,"benchmark":2157.55694779063},{"day":"2020-01-13","equity":4374.272033425322,"benchmark":2247.979043387727},{"day":"2020-01-16","equity":4374.272033425322,"benchmark":2178.569610560501},{"day":"2020-01-19","equity":4374.272033425322,"benchmark":2091.377507959548},{"day":"2020-01-22","equity":4374.272033425322,"benchmark":2087.400224917147},{"day":"2020-01-25","equity":4374.272033425322,"benchmark":2120.238487044611},{"day":"2020-01-28","equity":4374.272033425322,"benchmark":2112.801003171911},{"day":"2020-01-31","equity":4374.272033425322,"benchmark":2028.059728589962},{"day":"2020-02-03","equity":4374.272033425322,"benchmark":1964.979240372505},{"day":"2020-02-06","equity":4374.272033425322,"benchmark":1944.253451980581},{"day":"2020-02-09","equity":4374.272033425322,"benchmark":1939.705961841273},{"day":"2020-02-12","equity":4374.272033425322,"benchmark":1780.458807149805},{"day":"2020-02-15","equity":4374.272033425322,"benchmark":1723.923304740324},{"day":"2020-02-18","equity":4374.272033425322,"benchmark":1614.631250060491},{"day":"2020-02-21","equity":4374.272033425322,"benchmark":1642.518272924129},{"day":"2020-02-24","equity":4374.272033425322,"benchmark":1607.898556326204},{"day":"2020-02-27","equity":4374.272033425322,"benchmark":1664.122392744829},{"day":"2020-03-01","equity":4374.272033425322,"benchmark":1651.992210714354},{"day":"2020-03-04","equity":4374.272033425322,"benchmark":1607.569182040413},{"day":"2020-03-07","equity":4374.272033425322,"benchmark":1507.814815012571},{"day":"2020-03-10","equity":4374.272033425322,"benchmark":1517.855418240716},{"day":"2020-03-13","equity":4374.272033425322,"benchmark":1509.490019713422},{"day":"2020-03-16","equity":4374.272033425322,"benchmark":1437.477467530751},{"day":"2020-03-19","equity":4374.272033425322,"benchmark":1518.917915936816},{"day":"2020-03-22","equity":4374.272033425322,"benchmark":1383.144877011184},{"day":"2020-03-25","equity":4374.272033425322,"benchmark":1319.554389899599},{"day":"2020-03-28","equity":4374.272033425322,"benchmark":1361.579715439341},{"day":"2020-03-31","equity":4374.272033425322,"benchmark":1395.027142912569},{"day":"2020-04-03","equity":4374.272033425322,"benchmark":1458.128881083948},{"day":"2020-04-06","equity":4374.272033425322,"benchmark":1321.282719485255},{"day":"2020-04-09","equity":4374.272033425322,"benchmark":1242.81726462827},{"day":"2020-04-12","equity":4374.272033425322,"benchmark":1310.4275346901},{"day":"2020-04-15","equity":4374.272033425322,"benchmark":1205.980469504483},{"day":"2020-04-18","equity":4374.272033425322,"benchmark":1242.119557807831},{"day":"2020-04-21","equity":4374.272033425322,"benchmark":1224.956678356829},{"day":"2020-04-24","equity":4374.272033425322,"benchmark":1217.21107015226},{"day":"2020-04-27","equity":4374.272033425322,"benchmark":1187.546134477148},{"day":"2020-04-30","equity":4374.272033425322,"benchmark":1271.904909888501},{"day":"2020-05-03","equity":4374.272033425322,"benchmark":1358.222222719665},{"day":"2020-05-06","equity":4374.272033425322,"benchmark":1328.953952851097},{"day":"2020-05-09","equity":4390.029520814420,"benchmark":1351.97119460761},{"day":"2020-05-12","equity":4276.361981880107,"benchmark":1318.130642986825},{"day":"2020-05-15","equity":4216.9170114923768,"benchmark":1300.432973028786},{"day":"2020-05-18","equity":4307.8153542445574,"benchmark":1327.494789348453},{"day":"2020-05-21","equity":3996.5292745696052,"benchmark":1234.820198635624},{"day":"2020-05-24","equity":3741.805238909544,"benchmark":1150.089549030636},{"day":"2020-05-27","equity":3741.805238909544,"benchmark":1139.737279811635},{"day":"2020-05-30","equity":3741.805238909544,"benchmark":1177.583447746717},{"day":"2020-06-02","equity":3741.805238909544,"benchmark":1130.854799072239},{"day":"2020-06-05","equity":3741.805238909544,"benchmark":1117.169828746471},{"day":"2020-06-08","equity":3741.805238909544,"benchmark":1105.273396209138},{"day":"2020-06-11","equity":3741.805238909544,"benchmark":1135.883954833779},{"day":"2020-06-14","equity":3741.805238909544,"benchmark":1082.904278047246},{"day":"2020-06-17","equity":3741.805238909544,"benchmark":1087.030310767101},{"day":"2020-06-20","equity":3741.805238909544,"benchmark":1099.071951322901},{"day":"2020-06-23","equity":3741.805238909544,"benchmark":1000.482790101782},{"day":"2020-06-26","equity":3741.805238909544,"benchmark":1043.304988913599},{"day":"2020-06-29","equity":3741.805238909544,"benchmark":1140.682902761164},{"day":"2020-07-02","equity":3741.805238909544,"benchmark":1060.84682587621},{"day":"2020-07-05","equity":3741.805238909544,"benchmark":1047.533729744077},{"day":"2020-07-08","equity":3741.805238909544,"benchmark":1135.731663497338},{"day":"2020-07-11","equity":3741.805238909544,"benchmark":1098.74257703711},{"day":"2020-07-14","equity":3741.805238909544,"benchmark":1071.910968551598},{"day":"2020-07-17","equity":3715.784384368974,"benchmark":1102.78006828229},{"day":"2020-07-20","equity":3507.458348096612,"benchmark":1070.883887445368},{"day":"2020-07-23","equity":3507.458348096612,"benchmark":1105.280479527112},{"day":"2020-07-26","equity":3507.458348096612,"benchmark":1124.451479623743},{"day":"2020-07-29","equity":3622.8527724115628,"benchmark":1162.789938158018},{"day":"2020-08-01","equity":3349.2453970047236,"benchmark":1078.370954543886},{"day":"2020-08-04","equity":3554.1295236885914,"benchmark":1141.586025802849},{"day":"2020-08-07","equity":3367.232591049971,"benchmark":1083.920734176515},{"day":"2020-08-10","equity":3549.9856965983972,"benchmark":1140.307486908542},{"day":"2020-08-13","equity":3583.9168680073004,"benchmark":1150.776630874114},{"day":"2020-08-16","equity":3791.4984998606852,"benchmark":1214.823991995022},{"day":"2020-08-19","equity":3728.4342726209984,"benchmark":1195.366117520444},{"day":"2020-08-22","equity":3826.038044775905,"benchmark":1225.480843886905},{"day":"2020-08-25","equity":3982.5277808440976,"benchmark":1273.764280856676},{"day":"2020-08-28","equity":4201.9784354433572,"benchmark":1341.473717370142},{"day":"2020-08-31","equity":3989.724954211277,"benchmark":1275.984901041525},{"day":"2020-09-03","equity":4196.6522975767364,"benchmark":1339.830387600174},{"day":"2020-09-06","equity":4340.4924562117046,"benchmark":1384.210916366271},{"day":"2020-09-09","equity":4542.5757690174356,"benchmark":1446.561822832406},{"day":"2020-09-12","equity":4417.6984977869018,"benchmark":1408.032114712833},{"day":"2020-09-15","equity":4206.2485287329756,"benchmark":1342.791214513306},{"day":"2020-09-18","equity":4052.5022128159088,"benchmark":1295.354234041428},{"day":"2020-09-21","equity":3973.0119009056738,"benchmark":1270.828245556453},{"day":"2020-09-24","equity":3800.325655074977,"benchmark":1217.547527756025},{"day":"2020-09-27","equity":3853.497957938308,"benchmark":1269.985330717547},{"day":"2020-09-30","equity":3853.497957938308,"benchmark":1249.305583892454},{"day":"2020-10-03","equity":3853.497957938308,"benchmark":1331.596030455399},{"day":"2020-10-06","equity":3842.2199731137256,"benchmark":1371.103236455384},{"day":"2020-10-09","equity":4022.2573334973316,"benchmark":1433.241643382299},{"day":"2020-10-12","equity":4125.2311101544696,"benchmark":1468.782191316844},{"day":"2020-10-15","equity":4124.4717619260064,"benchmark":1468.520108551806},{"day":"2020-10-18","equity":4257.4192706823472,"benchmark":1514.405842387378},{"day":"2020-10-21","equity":4434.8194351914256,"benchmark":1575.634042954634},{"day":"2020-10-24","equity":4448.9699920434628,"benchmark":1580.517990697707},{"day":"2020-10-27","equity":4079.752308147052,"benchmark":1453.08555868646},{"day":"2020-10-30","equity":4371.947454167182,"benchmark":1553.934298341285},{"day":"2020-11-02","equity":4562.246277097588,"benchmark":1619.6143642552},{"day":"2020-11-05","equity":4588.3514378166472,"benchmark":1628.624344718128},{"day":"2020-11-08","equity":4604.677424728606,"benchmark":1634.259124166445},{"day":"2020-11-11","equity":4153.0909809690316,"benchmark":1478.397795466549},{"day":"2020-11-14","equity":4074.775498811854,"benchmark":1451.367854077765},{"day":"2020-11-17","equity":4060.6865107350976,"benchmark":1446.505156288614},{"day":"2020-11-20","equity":4050.496449494308,"benchmark":1444.918493062438},{"day":"2020-11-23","equity":4050.496449494308,"benchmark":1376.964682078869},{"day":"2020-11-26","equity":4050.496449494308,"benchmark":1402.284002176932},{"day":"2020-11-29","equity":4050.496449494308,"benchmark":1556.873875300495},{"day":"2020-12-02","equity":4050.496449494308,"benchmark":1518.648749853804},{"day":"2020-12-05","equity":4050.496449494308,"benchmark":1627.211222782315},{"day":"2020-12-08","equity":4022.182122731203,"benchmark":1620.092488218445},{"day":"2020-12-11","equity":4098.974703440390,"benchmark":1650.164714677062},{"day":"2020-12-14","equity":4555.723696910661,"benchmark":1829.029118497523},{"day":"2020-12-17","equity":4486.274841974158,"benchmark":1801.83271913635},{"day":"2020-12-20","equity":4400.890463870821,"benchmark":1768.395916640083},{"day":"2020-12-23","equity":4340.820234089827,"benchmark":1744.872217648429},{"day":"2020-12-26","equity":4586.527551568003,"benchmark":1841.092009007245},{"day":"2020-12-29","equity":4522.541270974728,"benchmark":1816.03477167422},{"day":"2021-01-01","equity":4218.491127191645,"benchmark":1696.967738190267},{"day":"2021-01-04","equity":4135.892300243464,"benchmark":1664.621766661996},{"day":"2021-01-07","equity":4331.143157024837,"benchmark":1741.082642532339},{"day":"2021-01-10","equity":4387.496303933204,"benchmark":1763.150719680336},{"day":"2021-01-13","equity":4140.260550918595,"benchmark":1666.332387952717},{"day":"2021-01-16","equity":4228.457612168859,"benchmark":1700.870646393941},{"day":"2021-01-19","equity":4417.242010911477,"benchmark":1774.799236088579},{"day":"2021-01-22","equity":4562.244418932958,"benchmark":1831.58265462715},{"day":"2021-01-25","equity":4764.848045484272,"benchmark":1910.922899253924},{"day":"2021-01-28","equity":4619.022633712404,"benchmark":1853.817189747536},{"day":"2021-01-31","equity":4446.399858068045,"benchmark":1786.217544662667},{"day":"2021-02-03","equity":4262.508261841464,"benchmark":1714.204992479996},{"day":"2021-02-06","equity":4353.545138230426,"benchmark":1749.855331843138},{"day":"2021-02-09","equity":4342.635698729636,"benchmark":1606.733350519481},{"day":"2021-02-12","equity":4342.635698729636,"benchmark":1598.22274397372},{"day":"2021-02-15","equity":4342.635698729636,"benchmark":1446.600781081263},{"day":"2021-02-18","equity":4342.635698729636,"benchmark":1347.29620474477},{"day":"2021-02-21","equity":4342.635698729636,"benchmark":1327.714372205647},{"day":"2021-02-24","equity":4342.635698729636,"benchmark":1197.884237060201},{"day":"2021-02-27","equity":4342.635698729636,"benchmark":1202.116519549666},{"day":"2021-03-02","equity":4342.635698729636,"benchmark":1153.808290966986},{"day":"2021-03-05","equity":4342.635698729636,"benchmark":1187.39030148172},{"day":"2021-03-08","equity":4342.635698729636,"benchmark":1225.905842965345},{"day":"2021-03-11","equity":4342.635698729636,"benchmark":1158.224739723775},{"day":"2021-03-14","equity":4342.635698729636,"benchmark":1149.774341380793},{"day":"2021-03-17","equity":4342.635698729636,"benchmark":1129.222094279232},{"day":"2021-03-20","equity":4342.635698729636,"benchmark":1159.025154654837},{"day":"2021-03-23","equity":4342.635698729636,"benchmark":1090.816344224204},{"day":"2021-03-26","equity":4342.635698729636,"benchmark":1124.24252174351},{"day":"2021-03-29","equity":4342.635698729636,"benchmark":1165.96326461037},{"day":"2021-04-01","equity":4342.635698729636,"benchmark":1187.95696691964},{"day":"2021-04-04","equity":4342.635698729636,"benchmark":1125.864601559556},{"day":"2021-04-07","equity":4342.635698729636,"benchmark":1234.937073382195},{"day":"2021-04-10","equity":4352.125634943392,"benchmark":1251.788286842341},{"day":"2021-04-13","equity":4535.410405693592,"benchmark":1302.611093305791},{"day":"2021-04-16","equity":4476.452740064120,"benchmark":1286.262795421799},{"day":"2021-04-19","equity":4253.509487559260,"benchmark":1224.443137803714},{"day":"2021-04-22","equity":4511.385412398740,"benchmark":1295.949232751244},{"day":"2021-04-25","equity":4515.383191718936,"benchmark":1297.057772014175},{"day":"2021-04-28","equity":4245.897102655628,"benchmark":1222.332309047462},{"day":"2021-05-01","equity":4324.805347512404,"benchmark":1244.212678269148},{"day":"2021-05-04","equity":4492.354450139660,"benchmark":1290.672160860614},{"day":"2021-05-07","equity":4846.751839268984,"benchmark":1388.942572772903},{"day":"2021-05-10","equity":4906.756846445600,"benchmark":1405.581286693829},{"day":"2021-05-13","equity":5091.012323995592,"benchmark":1456.673259240291},{"day":"2021-05-16","equity":5020.661625926456,"benchmark":1437.165801539895},{"day":"2021-05-19","equity":5417.310305762516,"benchmark":1547.15202138118},{"day":"2021-05-22","equity":5477.238678191780,"benchmark":1563.769485348184},{"day":"2021-05-25","equity":4991.744781258968,"benchmark":1429.147485593327},{"day":"2021-05-28","equity":5366.667510220736,"benchmark":1533.109343497725},{"day":"2021-05-31","equity":5495.005167119552,"benchmark":1568.695932999101},{"day":"2021-06-03","equity":5257.526857533596,"benchmark":1502.84586745381},{"day":"2021-06-06","equity":5113.249173185564,"benchmark":1462.839287536658},{"day":"2021-06-09","equity":5264.296260216356,"benchmark":1504.72294671692},{"day":"2021-06-12","equity":5187.316656501272,"benchmark":1483.377368002271},{"day":"2021-06-15","equity":4977.848347072472,"benchmark":1425.294160615471},{"day":"2021-06-18","equity":4977.988844109284,"benchmark":1425.333118864328},{"day":"2021-06-21","equity":4804.566419837684,"benchmark":1361.926798020067},{"day":"2021-06-24","equity":4804.566419837684,"benchmark":1242.00268306126},{"day":"2021-06-27","equity":4804.566419837684,"benchmark":1239.73602130958},{"day":"2021-06-30","equity":4804.566419837684,"benchmark":1243.837262416526},{"day":"2021-07-03","equity":4804.566419837684,"benchmark":1221.453977618686},{"day":"2021-07-06","equity":4804.566419837684,"benchmark":1200.979647014839},{"day":"2021-07-09","equity":4804.566419837684,"benchmark":1163.678894563755},{"day":"2021-07-12","equity":4804.566419837684,"benchmark":1175.777201663347},{"day":"2021-07-15","equity":4804.566419837684,"benchmark":1161.532649217633},{"day":"2021-07-18","equity":4804.566419837684,"benchmark":1163.083895853939},{"day":"2021-07-21","equity":4804.566419837684,"benchmark":1155.476412349863},{"day":"2021-07-24","equity":4804.566419837684,"benchmark":1038.987706608446},{"day":"2021-07-27","equity":4804.566419837684,"benchmark":1093.125505883728},{"day":"2021-07-30","equity":4804.566419837684,"benchmark":1170.269921938562},{"day":"2021-08-02","equity":4804.566419837684,"benchmark":1255.843486382456},{"day":"2021-08-05","equity":4804.566419837684,"benchmark":1291.359242704092},{"day":"2021-08-08","equity":5057.8242085425142,"benchmark":1350.175573501201},{"day":"2021-08-11","equity":5398.5506844373466,"benchmark":1438.100799512463},{"day":"2021-08-14","equity":5349.1010150323244,"benchmark":1425.340202182302},{"day":"2021-08-17","equity":5698.240659771253,"benchmark":1515.436465152595},{"day":"2021-08-20","equity":5553.583564148457,"benchmark":1478.107379429615},{"day":"2021-08-23","equity":5658.851109065615,"benchmark":1505.271903859905},{"day":"2021-08-26","equity":5274.2471441094848,"benchmark":1406.023994067204},{"day":"2021-08-29","equity":5100.6449047800022,"benchmark":1361.225549540641},{"day":"2021-09-01","equity":5152.2493335790262,"benchmark":1374.542187331761},{"day":"2021-09-04","equity":5163.1603763703092,"benchmark":1377.357806226426},{"day":"2021-09-07","equity":5059.1966667552542,"benchmark":1350.529739399901},{"day":"2021-09-10","equity":5185.5039960737164,"benchmark":1383.123627057262},{"day":"2021-09-13","equity":4921.0450230608458,"benchmark":1314.879400036759},{"day":"2021-09-16","equity":4973.565969525022,"benchmark":1295.885482889478},{"day":"2021-09-19","equity":4973.565969525022,"benchmark":1239.537688406308},{"day":"2021-09-22","equity":4973.565969525022,"benchmark":1233.980825455705},{"day":"2021-09-25","equity":4973.565969525022,"benchmark":1288.125708048961},{"day":"2021-09-28","equity":4973.565969525022,"benchmark":1280.280933392756},{"day":"2021-10-01","equity":4973.565969525022,"benchmark":1231.806246837687},{"day":"2021-10-04","equity":4973.565969525022,"benchmark":1210.464209782025},{"day":"2021-10-07","equity":4973.565969525022,"benchmark":1198.022361760694},{"day":"2021-10-10","equity":4973.565969525022,"benchmark":1154.102248662907},{"day":"2021-10-13","equity":4973.565969525022,"benchmark":1084.777815651369},{"day":"2021-10-16","equity":4973.565969525022,"benchmark":1082.408445789066},{"day":"2021-10-19","equity":4973.565969525022,"benchmark":987.761151020478},{"day":"2021-10-22","equity":4973.565969525022,"benchmark":988.34906641232},{"day":"2021-10-25","equity":4973.565969525022,"benchmark":1007.707774435262},{"day":"2021-10-28","equity":4973.565969525022,"benchmark":1023.37607379375},{"day":"2021-10-31","equity":4973.565969525022,"benchmark":971.724519127342},{"day":"2021-11-03","equity":4973.565969525022,"benchmark":969.875773136128},{"day":"2021-11-06","equity":4973.565969525022,"benchmark":932.900853311848},{"day":"2021-11-09","equity":4973.565969525022,"benchmark":907.971115702355},{"day":"2021-11-12","equity":4973.565969525022,"benchmark":925.775035430004},{"day":"2021-11-15","equity":4973.565969525022,"benchmark":942.070208429191},{"day":"2021-11-18","equity":4973.565969525022,"benchmark":973.86368115549},{"day":"2021-11-21","equity":4973.565969525022,"benchmark":1007.165900610251},{"day":"2021-11-24","equity":4973.565969525022,"benchmark":1079.946992793101},{"day":"2021-11-27","equity":4863.2427912399968,"benchmark":1115.568998884347},{"day":"2021-11-30","equity":5016.4373278019144,"benchmark":1149.292675758561},{"day":"2021-12-03","equity":5429.2517169682916,"benchmark":1240.168103705994},{"day":"2021-12-06","equity":5807.3632479783932,"benchmark":1323.404173218468},{"day":"2021-12-09","equity":5812.8976861822684,"benchmark":1324.622503909996},{"day":"2021-12-12","equity":5893.5170752509272,"benchmark":1342.369757093853},{"day":"2021-12-15","equity":5926.1445190807496,"benchmark":1349.552241519489},{"day":"2021-12-18","equity":5846.1847578212736,"benchmark":1331.950196354099},{"day":"2021-12-21","equity":5528.2280653120132,"benchmark":1261.956389794018},{"day":"2021-12-24","equity":5419.4216537631528,"benchmark":1238.004150064937},{"day":"2021-12-27","equity":5419.0194416843828,"benchmark":1237.915608590262},{"day":"2021-12-30","equity":5400.6142169598676,"benchmark":1233.863950709134},{"day":"2022-01-02","equity":5387.2768644278544,"benchmark":1230.927915408911},{"day":"2022-01-05","equity":5549.6096594194264,"benchmark":1266.663254587741},{"day":"2022-01-08","equity":5647.057601863822,"benchmark":1288.115083072},{"day":"2022-01-11","equity":5639.978669277470,"benchmark":1286.55675311772},{"day":"2022-01-14","equity":5597.8590203886756,"benchmark":1277.284689889754},{"day":"2022-01-17","equity":5827.6830021978536,"benchmark":1327.877288519049},{"day":"2022-01-20","equity":5652.8816327644116,"benchmark":1289.397163625294},{"day":"2022-01-23","equity":5972.688500836014,"benchmark":1359.79826096888},{"day":"2022-01-26","equity":6019.1520401755244,"benchmark":1370.026572123336},{"day":"2022-01-29","equity":5781.9112676338276,"benchmark":1317.801268701034},{"day":"2022-02-01","equity":5901.657847725232,"benchmark":1344.161836541275},{"day":"2022-02-04","equity":6349.3842453288452,"benchmark":1442.722664490498},{"day":"2022-02-07","equity":6262.3938169324696,"benchmark":1423.572914347789},{"day":"2022-02-08","equity":6285.4325248044152,"benchmark":1428.644570017173}],"trades":[{"symbol":"BTC-EUR","opened":"2018-06-02","closed":"2018-06-06","invested":9999.999984555,"result":228.213059281468,"fees":40.497420898642,"is_closed":true},{"symbol":"BTC-EUR","opened":"2018-10-22","closed":"2018-11-07","invested":10228.213045688,"result":-968.781289886528,"fees":39.012401553904,"is_closed":true},{"symbol":"BTC-EUR","opened":"2018-11-17","closed":"2018-11-19","invested":9259.43174996,"result":92.492721842182,"fees":37.260195106738,"is_closed":true},{"symbol":"BTC-EUR","opened":"2018-11-22","closed":"2018-12-20","invested":9351.924369984,"result":-510.644197204236,"fees":36.421845078204,"is_closed":true},{"symbol":"BTC-EUR","opened":"2018-12-31","closed":"2019-01-07","invested":8841.280142457,"result":-1231.434053520,"fees":32.932752847914,"is_closed":true},{"symbol":"BTC-EUR","opened":"2019-01-22","closed":"2019-02-26","invested":7609.846148667,"result":-605.46448753326,"fees":29.256529293594,"is_closed":true},{"symbol":"BTC-EUR","opened":"2019-07-02","closed":"2019-07-20","invested":7004.38167585,"result":-906.0566703454,"fees":26.2298555471,"is_closed":true},{"symbol":"BTC-EUR","opened":"2019-09-14","closed":"2019-10-14","invested":6098.325005592,"result":-859.312713796848,"fees":22.695672640032,"is_closed":true},{"symbol":"BTC-EUR","opened":"2019-11-19","closed":"2019-12-25","invested":5239.012332793,"result":-864.740335412056,"fees":19.244100812642,"is_closed":true},{"symbol":"BTC-EUR","opened":"2020-05-09","closed":"2020-05-24","invested":4374.272014749,"result":-632.466794515778,"fees":16.247151685276,"is_closed":true},{"symbol":"BTC-EUR","opened":"2020-07-16","closed":"2020-07-19","invested":3741.80521568,"result":-234.346890812932,"fees":14.512585030292,"is_closed":true},{"symbol":"BTC-EUR","opened":"2020-07-27","closed":"2020-09-27","invested":3507.458327055,"result":346.039609841696,"fees":14.737357409414,"is_closed":true},{"symbol":"BTC-EUR","opened":"2020-10-06","closed":"2020-11-18","invested":3853.497929148,"result":196.998491556,"fees":15.824223154296,"is_closed":true},{"symbol":"BTC-EUR","opened":"2020-12-06","closed":"2021-02-07","invested":4050.496446855,"result":292.139249235328,"fees":16.803669639382,"is_closed":true},{"symbol":"BTC-EUR","opened":"2021-04-10","closed":"2021-06-20","invested":4342.63568328,"result":461.930721108048,"fees":18.313660954512,"is_closed":true},{"symbol":"BTC-EUR","opened":"2021-08-07","closed":"2021-09-16","invested":4804.566390631,"result":168.999549687338,"fees":19.576198793924,"is_closed":true},{"symbol":"BTC-EUR","opened":"2021-11-26","invested":4973.565953592,"result":1311.8665552793932,"fees":9.947131907184,"is_closed":false}],"notes":{"no_cash":17,"residue_written_off":16},"computed_at":"2027-01-05T02:10:00+00:00","seconds":0} \ No newline at end of file diff --git a/tests/Anubis.Tests/TrialSeamTests.cs b/tests/Anubis.Tests/TrialSeamTests.cs new file mode 100644 index 0000000..1ed587a --- /dev/null +++ b/tests/Anubis.Tests/TrialSeamTests.cs @@ -0,0 +1,86 @@ +using Anubis.Backtest; +using Anubis.Data; +using Anubis.Strategies; +using Anubis.Trading; + +namespace Anubis.Tests; + +/// +/// The golden reports of the trial judge (Phase 12, issue #118). They were written before the seam between the judge and the +/// engines, so the seam must leave every byte of the report as it was. Elapsed seconds are the only field set to zero. +/// To rewrite them on purpose: ANUBIS_WRITE_GOLDEN=1, then read the diff. +/// +[TestClass] +public sealed class TrialSeamTests +{ + private static readonly CancellationToken _none = CancellationToken.None; + private static readonly DateTimeOffset Now = new(2027, 1, 5, 2, 10, 0, TimeSpan.Zero); + private static readonly Guid Id = new("6d2f3a51-0c4e-4b7a-9a61-3f1e2d0c9b12"); + private static readonly DateOnly Through = new(2026, 12, 31); + + [TestMethod] + [TestCategory(Category.Golden)] + public void TheReportOfTheAverageCrossDoesNotMove() + { + var data = BacktestData.One(BacktestData.Btc(), BacktestData.Walk(1500, 7, start: 20_000, drift: 0.0008, volatility: 0.03)); + var plan = Laboratory.BuildPlan(new TrialRequest(MovingAverageCrossFamily.FamilyId, TrialSources.Database, Venues.Okx, ["BTC-EUR"], + new DateOnly(2018, 6, 1), new DateOnly(2022, 2, 8), 10_000m), Now).Plan; + var prior = new PriorTrials(2, 18, [0.4, 0.9, -0.1]); + var report = TrialRunner.Run(Id, plan, TrialPlan.Hash(plan.ToJson()), MovingAverageCrossFamily.Instance, data, prior, Now).Report; + Same("sma_cross", report); + } + + [TestMethod] + [TestCategory(Category.Golden)] + public async Task TheReportOfTheCryptoTrendProtocolDoesNotMove() + { + Same("crypto_trend", await CryptoTrendAsync(null).ConfigureAwait(false)); + } + + [TestMethod] + [TestCategory(Category.Golden)] + public async Task TheReportOfAJudgedVariantOutsideTheGridDoesNotMove() + { + Same("crypto_trend_judged", await CryptoTrendAsync("coin_vol=12;max_stop=15").ConfigureAwait(false)); + } + + private static async Task CryptoTrendAsync(string? judged) + { + var folder = TempFolder.Create("golden-report"); + try + { + var store = new ResearchStore(folder); + var seed = 21u; + foreach (var coin in new[] { "BTC", "ETH", "SOL", "XRP" }) + { + var bars = LiveRig.Synthetic(Through.AddDays(-799), 800, 100, seed++).Select(b => new ResearchBar(new DateTimeOffset(b.Day.ToDateTime(TimeOnly.MinValue), TimeSpan.Zero), + (decimal)b.Open, (decimal)b.High, (decimal)b.Low, (decimal)b.Close, (decimal)b.Volume)).ToList(); + await store.WriteAsync(EuroHistory.Venue, coin + "EUR", Timeframes.Day, bars, _none).ConfigureAwait(false); + } + + var plan = Laboratory.BuildPlan(new TrialRequest(StrategyNames.CryptoTrend, TrialSources.Research, EuroHistory.Venue, CryptoTrendProtocol.Narrow, + CryptoTrendProtocol.From, Through, CryptoTrendProtocol.Capital, null), Now).Plan with + { Judged = judged }; + var data = await Laboratory.LoadResearchAsync(folder, plan.Data, _none).ConfigureAwait(false); + return TrialRunner.Run(Id, plan, TrialPlan.Hash(plan.ToJson()), StrategyCatalog.Find(StrategyNames.CryptoTrend)!, data, PriorTrials.None, Now).Report; + } + finally + { + TempFolder.Delete(folder); + } + } + + private static void Same(string name, BacktestReport report) + { + var json = (report with { Seconds = 0 }).ToJson(); + var relative = Path.Combine("golden", name + ".report.json"); + if (Environment.GetEnvironmentVariable("ANUBIS_WRITE_GOLDEN") == "1") + { + var target = Path.Combine(Repo.Root.FullName, "tests", "Anubis.Tests", "Fixtures", relative); + Directory.CreateDirectory(Path.GetDirectoryName(target)!); + File.WriteAllText(target, json); + } + + Assert.AreEqual(Fixture.Text(relative), json, $"The report of {name} changed."); + } +}