summary.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "command": "rtk .venv/bin/python /home/lxy/okx-codex-trader/scripts/explore_recent_market_adaptation.py --output-dir reports/recent-market-adaptation",
  3. "first_candle": "2019-12-25T00:15:00+00:00",
  4. "last_candle": "2026-05-19T07:45:00+00:00",
  5. "cost_model": {
  6. "roundtrip_cost_on_margin": 0.0021,
  7. "leverage": 3.0
  8. },
  9. "top_summary": [
  10. {
  11. "strategy": "eth-btc-relative-weakness-short",
  12. "description": "Short ETH when BTC is rising over 6h while ETH/BTC keeps falling; fixed stop, take-profit, or 6h max hold.",
  13. "total_return": -0.9877010680714006,
  14. "annualized_return": -0.4968362121704051,
  15. "max_drawdown": 0.9885040975577316,
  16. "calmar": -0.5026142161655414,
  17. "trades": 1381,
  18. "trades_per_30d": 17.725486001550927,
  19. "win_rate": 0.36278059377262856,
  20. "profit_factor": 0.8033573396528738,
  21. "avg_trade_return": -0.0028274552914042644,
  22. "first_candle": "2019-12-25 00:15",
  23. "last_candle": "2026-05-19 07:45",
  24. "min_recent_return": -0.05942917836744677
  25. },
  26. {
  27. "strategy": "eth-compression-breakout",
  28. "description": "Trade ETH 15m close breakouts from a compressed 12h range; fixed stop, take-profit, or 6h max hold.",
  29. "total_return": -0.9645635029666804,
  30. "annualized_return": -0.40642041242750304,
  31. "max_drawdown": 0.9835761563568581,
  32. "calmar": -0.4132068572431384,
  33. "trades": 2421,
  34. "trades_per_30d": 31.074150332914407,
  35. "win_rate": 0.38909541511771994,
  36. "profit_factor": 0.9344153166059748,
  37. "avg_trade_return": -0.0009412249684747143,
  38. "first_candle": "2019-12-25 00:15",
  39. "last_candle": "2026-05-19 07:45",
  40. "min_recent_return": -0.11800580482263134
  41. },
  42. {
  43. "strategy": "recent-style-router",
  44. "description": "Use prior 30d ETH-vs-BTC relative return and prior 90d volatility: relative weakness routes short, trend/high-vol routes breakout, otherwise BTC lead momentum.",
  45. "total_return": -0.984214298625294,
  46. "annualized_return": -0.4768372453837778,
  47. "max_drawdown": 0.9937262116517644,
  48. "calmar": -0.4798477083453222,
  49. "trades": 3106,
  50. "trades_per_30d": 39.866299435783624,
  51. "win_rate": 0.40019317450096586,
  52. "profit_factor": 0.929744901395893,
  53. "avg_trade_return": -0.0009528583405892506,
  54. "first_candle": "2019-12-25 00:15",
  55. "last_candle": "2026-05-19 07:45",
  56. "min_recent_return": -0.5343821055274585
  57. },
  58. {
  59. "strategy": "btc-lead-momentum",
  60. "description": "Trade ETH in the direction of BTC 2h momentum when ETH confirms over 1h; fixed stop, take-profit, or 4h max hold.",
  61. "total_return": -0.9999999998976633,
  62. "annualized_return": -0.9724612683680345,
  63. "max_drawdown": 0.9999999999151225,
  64. "calmar": -0.9724612684505746,
  65. "trades": 10024,
  66. "trades_per_30d": 128.6605877476803,
  67. "win_rate": 0.3932561851556265,
  68. "profit_factor": 0.8527709738173547,
  69. "avg_trade_return": -0.0019693092407505916,
  70. "first_candle": "2019-12-25 00:15",
  71. "last_candle": "2026-05-19 07:45",
  72. "min_recent_return": -0.6305812634798883
  73. }
  74. ],
  75. "outputs": [
  76. "reports/recent-market-adaptation/recent-style.csv",
  77. "reports/recent-market-adaptation/strategy-summary.csv",
  78. "reports/recent-market-adaptation/strategy-horizons.csv",
  79. "reports/recent-market-adaptation/strategy-trades.csv",
  80. "reports/recent-market-adaptation/router-regime-split.csv",
  81. "reports/recent-market-adaptation/summary.json",
  82. "reports/recent-market-adaptation/report.md"
  83. ]
  84. }