Skip to content

chore: archive quoting_engine, SEDA oracle, legacy deploy templates#73

Open
JaeLeex wants to merge 1 commit into
jl/archive-legacy-strategies-keep-cfi-hedgefrom
jl/archive-qe-seda-deploy
Open

chore: archive quoting_engine, SEDA oracle, legacy deploy templates#73
JaeLeex wants to merge 1 commit into
jl/archive-legacy-strategies-keep-cfi-hedgefrom
jl/archive-qe-seda-deploy

Conversation

@JaeLeex

@JaeLeex JaeLeex commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Move quoting_engine/ (incl. feeds/seda_oracle.py), deploy/hermes-railway/, and deploy/openclaw-railway/ to archive/ with deprecation README (2026-07-02, hedge-only product focus)
  • Add strategies/cfi_funding.py — HL fundingHistory + metaAndAssetCtxs only; hedge commands no longer import SEDA
  • Move tests/quoting_engine/tests/_archive/quoting_engine/; exclude archive/ from pytest/setuptools

SEDA removal points

  • cli/commands/hedge.pystrategies.cfi_funding replaces quoting_engine.feeds.seda_oracle
  • cli/hedge_display.py — K2 source label shows HL fundingHistory (no SEDA live/replay)
  • New strategies/cfi_funding.py — HL-only snapshot; back-compat aliases kept

Test plan

  • hl hedge propose --help
  • Import cfi_hedge, CfiHedgeAgent, cfi_funding
  • Full suite: 1153 passed, 1 skipped (22 QE tests archived under tests/_archive/quoting_engine/)

Stacked on #68.

Made with Cursor

Move quoting_engine (incl. seda_oracle), Hermes/OpenClaw Railway deploy
templates, and QE tests to archive/. Hedge uses strategies/cfi_funding.py
(HL fundingHistory only) — no SEDA dependency.

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

@sdb001 sdb001 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed locally. This looks mergeable to me.

The PR is mostly archive moves for legacy Railway deploy templates and quoting_engine tests/code. I checked for stale runtime imports and compiled the changed runtime files; the remaining quoting_engine references are archive/docs/test context.

Checks run:

  • .venv312-review/bin/python -m pytest tests/test_mcp_gateway_context.py tests/test_entrypoint.py = 28 passed
  • .venv312-review/bin/python -m py_compile cli/api/status_reader.py cli/commands/hedge.py cli/hedge_display.py strategies/cfi_funding.py scripts/validate_agent_cli.py

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.

2 participants