regime-router-v2-summary.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  1. {
  2. "report": "regime-router-v2",
  3. "command": "rtk .venv/bin/python /home/lxy/okx-codex-trader/scripts/search_recent_regime_router_v2.py --bar 4H --years 10.0",
  4. "primary_cost": "maker_taker",
  5. "candidate_count": 64,
  6. "horizons": [
  7. "7d",
  8. "14d",
  9. "30d",
  10. "90d",
  11. "6m",
  12. "1y",
  13. "3y"
  14. ],
  15. "top_maker_taker": [
  16. {
  17. "name": "regime-router-v2-ts60-ml18-vol0.03-mom0.02-rz0.25-h12",
  18. "cost_model": "maker_taker",
  19. "symbol": "ETH-USDT-SWAP",
  20. "signal_symbol": "BTC-USDT-SWAP",
  21. "bar": "4H",
  22. "first_candle": "2020-01-04 00:00",
  23. "last_candle": "2026-05-17 04:00",
  24. "years": 6.370319634703196,
  25. "total_return": -0.6001948001465411,
  26. "annualized_return": -0.13403773766292526,
  27. "max_drawdown": 0.7957148937286592,
  28. "calmar": -0.16844945183171658,
  29. "min_recent_total_return": -0.03210000000000002,
  30. "trades": 643,
  31. "win_rate": 0.38724727838258166,
  32. "profit_loss_ratio": 1.5139630984023742,
  33. "profit_factor": 0.9567939378228203,
  34. "trend_sma": 60,
  35. "btc_momentum_lookback": 18,
  36. "eth_momentum_lookback": 9,
  37. "vol_lookback": 18,
  38. "corr_lookback": 42,
  39. "ratio_lookback": 42,
  40. "btc_trend_min": 0.008,
  41. "btc_momentum_min": 0.02,
  42. "eth_momentum_min": 0.006999999999999999,
  43. "max_btc_vol": 0.03,
  44. "max_eth_vol": 0.0405,
  45. "min_corr": 0.45,
  46. "ratio_z_entry": 0.25,
  47. "stop_loss_pct": 0.01,
  48. "take_profit_pct": 0.018,
  49. "max_hold_bars": 12
  50. },
  51. {
  52. "name": "regime-router-v2-ts60-ml18-vol0.03-mom0.02-rz0.25-h24",
  53. "cost_model": "maker_taker",
  54. "symbol": "ETH-USDT-SWAP",
  55. "signal_symbol": "BTC-USDT-SWAP",
  56. "bar": "4H",
  57. "first_candle": "2020-01-04 00:00",
  58. "last_candle": "2026-05-17 04:00",
  59. "years": 6.370319634703196,
  60. "total_return": -0.6001948001465411,
  61. "annualized_return": -0.13403773766292526,
  62. "max_drawdown": 0.7957148937286592,
  63. "calmar": -0.16844945183171658,
  64. "min_recent_total_return": -0.03210000000000002,
  65. "trades": 643,
  66. "win_rate": 0.38724727838258166,
  67. "profit_loss_ratio": 1.5139630984023742,
  68. "profit_factor": 0.9567939378228203,
  69. "trend_sma": 60,
  70. "btc_momentum_lookback": 18,
  71. "eth_momentum_lookback": 9,
  72. "vol_lookback": 18,
  73. "corr_lookback": 42,
  74. "ratio_lookback": 42,
  75. "btc_trend_min": 0.008,
  76. "btc_momentum_min": 0.02,
  77. "eth_momentum_min": 0.006999999999999999,
  78. "max_btc_vol": 0.03,
  79. "max_eth_vol": 0.0405,
  80. "min_corr": 0.45,
  81. "ratio_z_entry": 0.25,
  82. "stop_loss_pct": 0.01,
  83. "take_profit_pct": 0.018,
  84. "max_hold_bars": 24
  85. },
  86. {
  87. "name": "regime-router-v2-ts60-ml18-vol0.04-mom0.02-rz0.25-h12",
  88. "cost_model": "maker_taker",
  89. "symbol": "ETH-USDT-SWAP",
  90. "signal_symbol": "BTC-USDT-SWAP",
  91. "bar": "4H",
  92. "first_candle": "2020-01-04 00:00",
  93. "last_candle": "2026-05-17 04:00",
  94. "years": 6.370319634703196,
  95. "total_return": -0.642747445676203,
  96. "annualized_return": -0.14920100967716166,
  97. "max_drawdown": 0.8174576617500354,
  98. "calmar": -0.18251833294674627,
  99. "min_recent_total_return": -0.03210000000000002,
  100. "trades": 649,
  101. "win_rate": 0.3852080123266564,
  102. "profit_loss_ratio": 1.5127511000188398,
  103. "profit_factor": 0.9478390350995237,
  104. "trend_sma": 60,
  105. "btc_momentum_lookback": 18,
  106. "eth_momentum_lookback": 9,
  107. "vol_lookback": 18,
  108. "corr_lookback": 42,
  109. "ratio_lookback": 42,
  110. "btc_trend_min": 0.008,
  111. "btc_momentum_min": 0.02,
  112. "eth_momentum_min": 0.006999999999999999,
  113. "max_btc_vol": 0.04,
  114. "max_eth_vol": 0.054000000000000006,
  115. "min_corr": 0.45,
  116. "ratio_z_entry": 0.25,
  117. "stop_loss_pct": 0.01,
  118. "take_profit_pct": 0.018,
  119. "max_hold_bars": 12
  120. },
  121. {
  122. "name": "regime-router-v2-ts60-ml18-vol0.04-mom0.02-rz0.25-h24",
  123. "cost_model": "maker_taker",
  124. "symbol": "ETH-USDT-SWAP",
  125. "signal_symbol": "BTC-USDT-SWAP",
  126. "bar": "4H",
  127. "first_candle": "2020-01-04 00:00",
  128. "last_candle": "2026-05-17 04:00",
  129. "years": 6.370319634703196,
  130. "total_return": -0.642747445676203,
  131. "annualized_return": -0.14920100967716166,
  132. "max_drawdown": 0.8174576617500354,
  133. "calmar": -0.18251833294674627,
  134. "min_recent_total_return": -0.03210000000000002,
  135. "trades": 649,
  136. "win_rate": 0.3852080123266564,
  137. "profit_loss_ratio": 1.5127511000188398,
  138. "profit_factor": 0.9478390350995237,
  139. "trend_sma": 60,
  140. "btc_momentum_lookback": 18,
  141. "eth_momentum_lookback": 9,
  142. "vol_lookback": 18,
  143. "corr_lookback": 42,
  144. "ratio_lookback": 42,
  145. "btc_trend_min": 0.008,
  146. "btc_momentum_min": 0.02,
  147. "eth_momentum_min": 0.006999999999999999,
  148. "max_btc_vol": 0.04,
  149. "max_eth_vol": 0.054000000000000006,
  150. "min_corr": 0.45,
  151. "ratio_z_entry": 0.25,
  152. "stop_loss_pct": 0.01,
  153. "take_profit_pct": 0.018,
  154. "max_hold_bars": 24
  155. },
  156. {
  157. "name": "regime-router-v2-ts120-ml18-vol0.03-mom0.02-rz0.25-h12",
  158. "cost_model": "maker_taker",
  159. "symbol": "ETH-USDT-SWAP",
  160. "signal_symbol": "BTC-USDT-SWAP",
  161. "bar": "4H",
  162. "first_candle": "2020-01-14 00:00",
  163. "last_candle": "2026-05-17 04:00",
  164. "years": 6.342922374429223,
  165. "total_return": -0.3274023611066106,
  166. "annualized_return": -0.06061290565889088,
  167. "max_drawdown": 0.6358720440785742,
  168. "calmar": -0.0953224885782225,
  169. "min_recent_total_return": -0.14866325847569595,
  170. "trades": 557,
  171. "win_rate": 0.39138240574506283,
  172. "profit_loss_ratio": 1.5529545513421432,
  173. "profit_factor": 0.9986551392111719,
  174. "trend_sma": 120,
  175. "btc_momentum_lookback": 18,
  176. "eth_momentum_lookback": 9,
  177. "vol_lookback": 18,
  178. "corr_lookback": 42,
  179. "ratio_lookback": 42,
  180. "btc_trend_min": 0.008,
  181. "btc_momentum_min": 0.02,
  182. "eth_momentum_min": 0.006999999999999999,
  183. "max_btc_vol": 0.03,
  184. "max_eth_vol": 0.0405,
  185. "min_corr": 0.45,
  186. "ratio_z_entry": 0.25,
  187. "stop_loss_pct": 0.01,
  188. "take_profit_pct": 0.018,
  189. "max_hold_bars": 12
  190. },
  191. {
  192. "name": "regime-router-v2-ts120-ml18-vol0.03-mom0.02-rz0.25-h24",
  193. "cost_model": "maker_taker",
  194. "symbol": "ETH-USDT-SWAP",
  195. "signal_symbol": "BTC-USDT-SWAP",
  196. "bar": "4H",
  197. "first_candle": "2020-01-14 00:00",
  198. "last_candle": "2026-05-17 04:00",
  199. "years": 6.342922374429223,
  200. "total_return": -0.3274023611066106,
  201. "annualized_return": -0.06061290565889088,
  202. "max_drawdown": 0.6358720440785742,
  203. "calmar": -0.0953224885782225,
  204. "min_recent_total_return": -0.14866325847569595,
  205. "trades": 557,
  206. "win_rate": 0.39138240574506283,
  207. "profit_loss_ratio": 1.5529545513421432,
  208. "profit_factor": 0.9986551392111719,
  209. "trend_sma": 120,
  210. "btc_momentum_lookback": 18,
  211. "eth_momentum_lookback": 9,
  212. "vol_lookback": 18,
  213. "corr_lookback": 42,
  214. "ratio_lookback": 42,
  215. "btc_trend_min": 0.008,
  216. "btc_momentum_min": 0.02,
  217. "eth_momentum_min": 0.006999999999999999,
  218. "max_btc_vol": 0.03,
  219. "max_eth_vol": 0.0405,
  220. "min_corr": 0.45,
  221. "ratio_z_entry": 0.25,
  222. "stop_loss_pct": 0.01,
  223. "take_profit_pct": 0.018,
  224. "max_hold_bars": 24
  225. },
  226. {
  227. "name": "regime-router-v2-ts120-ml18-vol0.04-mom0.02-rz0.25-h12",
  228. "cost_model": "maker_taker",
  229. "symbol": "ETH-USDT-SWAP",
  230. "signal_symbol": "BTC-USDT-SWAP",
  231. "bar": "4H",
  232. "first_candle": "2020-01-14 00:00",
  233. "last_candle": "2026-05-17 04:00",
  234. "years": 6.342922374429223,
  235. "total_return": -0.4182816914218416,
  236. "annualized_return": -0.08186711681789471,
  237. "max_drawdown": 0.685071896813172,
  238. "calmar": -0.1195014964104139,
  239. "min_recent_total_return": -0.14866325847569606,
  240. "trades": 564,
  241. "win_rate": 0.3882978723404255,
  242. "profit_loss_ratio": 1.5507087572030804,
  243. "profit_factor": 0.9843629502245641,
  244. "trend_sma": 120,
  245. "btc_momentum_lookback": 18,
  246. "eth_momentum_lookback": 9,
  247. "vol_lookback": 18,
  248. "corr_lookback": 42,
  249. "ratio_lookback": 42,
  250. "btc_trend_min": 0.008,
  251. "btc_momentum_min": 0.02,
  252. "eth_momentum_min": 0.006999999999999999,
  253. "max_btc_vol": 0.04,
  254. "max_eth_vol": 0.054000000000000006,
  255. "min_corr": 0.45,
  256. "ratio_z_entry": 0.25,
  257. "stop_loss_pct": 0.01,
  258. "take_profit_pct": 0.018,
  259. "max_hold_bars": 12
  260. },
  261. {
  262. "name": "regime-router-v2-ts120-ml18-vol0.04-mom0.02-rz0.25-h24",
  263. "cost_model": "maker_taker",
  264. "symbol": "ETH-USDT-SWAP",
  265. "signal_symbol": "BTC-USDT-SWAP",
  266. "bar": "4H",
  267. "first_candle": "2020-01-14 00:00",
  268. "last_candle": "2026-05-17 04:00",
  269. "years": 6.342922374429223,
  270. "total_return": -0.4182816914218416,
  271. "annualized_return": -0.08186711681789471,
  272. "max_drawdown": 0.685071896813172,
  273. "calmar": -0.1195014964104139,
  274. "min_recent_total_return": -0.14866325847569606,
  275. "trades": 564,
  276. "win_rate": 0.3882978723404255,
  277. "profit_loss_ratio": 1.5507087572030804,
  278. "profit_factor": 0.9843629502245641,
  279. "trend_sma": 120,
  280. "btc_momentum_lookback": 18,
  281. "eth_momentum_lookback": 9,
  282. "vol_lookback": 18,
  283. "corr_lookback": 42,
  284. "ratio_lookback": 42,
  285. "btc_trend_min": 0.008,
  286. "btc_momentum_min": 0.02,
  287. "eth_momentum_min": 0.006999999999999999,
  288. "max_btc_vol": 0.04,
  289. "max_eth_vol": 0.054000000000000006,
  290. "min_corr": 0.45,
  291. "ratio_z_entry": 0.25,
  292. "stop_loss_pct": 0.01,
  293. "take_profit_pct": 0.018,
  294. "max_hold_bars": 24
  295. },
  296. {
  297. "name": "regime-router-v2-ts60-ml18-vol0.03-mom0.012-rz0.25-h12",
  298. "cost_model": "maker_taker",
  299. "symbol": "ETH-USDT-SWAP",
  300. "signal_symbol": "BTC-USDT-SWAP",
  301. "bar": "4H",
  302. "first_candle": "2020-01-04 00:00",
  303. "last_candle": "2026-05-17 04:00",
  304. "years": 6.370319634703196,
  305. "total_return": -0.8825832610372419,
  306. "annualized_return": -0.28555618080135825,
  307. "max_drawdown": 0.9341413406061614,
  308. "calmar": -0.3056884096533633,
  309. "min_recent_total_return": -0.18549805082533655,
  310. "trades": 745,
  311. "win_rate": 0.3731543624161074,
  312. "profit_loss_ratio": 1.4695173464772167,
  313. "profit_factor": 0.8747876280956449,
  314. "trend_sma": 60,
  315. "btc_momentum_lookback": 18,
  316. "eth_momentum_lookback": 9,
  317. "vol_lookback": 18,
  318. "corr_lookback": 42,
  319. "ratio_lookback": 42,
  320. "btc_trend_min": 0.008,
  321. "btc_momentum_min": 0.012,
  322. "eth_momentum_min": 0.0042,
  323. "max_btc_vol": 0.03,
  324. "max_eth_vol": 0.0405,
  325. "min_corr": 0.45,
  326. "ratio_z_entry": 0.25,
  327. "stop_loss_pct": 0.01,
  328. "take_profit_pct": 0.018,
  329. "max_hold_bars": 12
  330. },
  331. {
  332. "name": "regime-router-v2-ts60-ml18-vol0.03-mom0.012-rz0.25-h24",
  333. "cost_model": "maker_taker",
  334. "symbol": "ETH-USDT-SWAP",
  335. "signal_symbol": "BTC-USDT-SWAP",
  336. "bar": "4H",
  337. "first_candle": "2020-01-04 00:00",
  338. "last_candle": "2026-05-17 04:00",
  339. "years": 6.370319634703196,
  340. "total_return": -0.8825832610372419,
  341. "annualized_return": -0.28555618080135825,
  342. "max_drawdown": 0.9341413406061614,
  343. "calmar": -0.3056884096533633,
  344. "min_recent_total_return": -0.18549805082533655,
  345. "trades": 745,
  346. "win_rate": 0.3731543624161074,
  347. "profit_loss_ratio": 1.4695173464772167,
  348. "profit_factor": 0.8747876280956449,
  349. "trend_sma": 60,
  350. "btc_momentum_lookback": 18,
  351. "eth_momentum_lookback": 9,
  352. "vol_lookback": 18,
  353. "corr_lookback": 42,
  354. "ratio_lookback": 42,
  355. "btc_trend_min": 0.008,
  356. "btc_momentum_min": 0.012,
  357. "eth_momentum_min": 0.0042,
  358. "max_btc_vol": 0.03,
  359. "max_eth_vol": 0.0405,
  360. "min_corr": 0.45,
  361. "ratio_z_entry": 0.25,
  362. "stop_loss_pct": 0.01,
  363. "take_profit_pct": 0.018,
  364. "max_hold_bars": 24
  365. }
  366. ],
  367. "output_files": [
  368. "reports/recent-regime/regime-router-v2-total.csv",
  369. "reports/recent-regime/regime-router-v2-horizons.csv",
  370. "reports/recent-regime/regime-router-v2-regime.csv",
  371. "reports/recent-regime/regime-router-v2-top10.csv",
  372. "reports/recent-regime/regime-router-v2-summary.json",
  373. "reports/recent-regime/regime-router-v2-report.md"
  374. ]
  375. }