Skip to content

chore: archive legacy strategies; keep cfi_hedge funding-rate hedge only#68

Open
JaeLeex wants to merge 3 commits into
jl/docs-deploy-cleanupfrom
jl/archive-legacy-strategies-keep-cfi-hedge
Open

chore: archive legacy strategies; keep cfi_hedge funding-rate hedge only#68
JaeLeex wants to merge 3 commits into
jl/docs-deploy-cleanupfrom
jl/archive-legacy-strategies-keep-cfi-hedge

Conversation

@JaeLeex

@JaeLeex JaeLeex commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Archive 18 legacy strategy modules to strategies/_archive/ (2026-07-02 deprecation) and shrink STRATEGY_REGISTRY to cfi_hedge only.
  • Update BTCSWP market→strategy routing to cfi_hedge; refresh defaults, docs (README.md, cli/skill.md), and tests.
  • Keep hl hedge (propose/execute/status/auto/backtest) and MCP funding_hedge_* tools unchanged and verified.

Archived

  • Strategies (18): simple_mm, avellaneda_mm, mean_reversion, hedge_agent, rfq_agent, aggressive_taker, claude_agent, engine_mm, funding_arb, regime_mm, liquidation_mm, momentum_breakout, grid_mm, basis_arb, simplified_ensemble, funding_momentum, oi_divergence, trend_follower, risk_multipliers
  • Tests (17): moved to tests/_archive/ (excluded from default pytest via norecursedirs)

Test plan

  • pytest tests/1312 passed, 1 skipped
  • hl hedge propose --help
  • CfiHedgeAgent import/instantiate
  • resolve_instrument('para:BTCSWP', mainnet=True)BTCSWP-PARA
  • Manual: hl hedge execute BTC --dry-run on testnet with credentials

Made with Cursor

Move 18 legacy strategy modules to strategies/_archive and shrink the registry
to cfi_hedge only. Update market routing, defaults, docs, and tests while
keeping hl hedge and MCP funding_hedge_* tools fully functional.

Co-authored-by: Cursor <cursoragent@cursor.com>
JaeLeex and others added 2 commits July 3, 2026 18:26
* chore: archive APEX stack and remove SEDA from hedge path

Move APEX/Radar/Pulse/Guard/Reflect, quoting_engine, adapters, deploy
templates, and related tests to _archive/. Hedge K2 inputs now come from
Hyperliquid funding history via strategies/cfi_funding.py with no SEDA oracle.

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs: mark archived operator stack as legacy

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant