Summary
Explore using generative recommendation systems + HyDE (Hypothetical Document Embeddings) to propose novel trading hypotheses. Instead of purely literature-based discovery, generate synthetic "ideal strategies" and search for empirical evidence of them.
This could discover hypothesis combinations not yet written about in papers.
Motivation
Current Research Agent (Phase 1-3) is literature-dependent: only finds strategies already published. A generative + retrieval approach could:
- Generate hypothetical strategies from first principles ("what if we combined X + Y?")
- Score them by embedding similarity to regime contexts
- Retrieve supporting evidence from academic + market data
- Find novel combinations faster than literature search alone
Approach (HyDE-inspired)
- Generate hypotheticals: Use Claude to generate 5-10 synthetic strategy descriptions given current regime
- Example: "Short-lived mean reversion in high-VIX regimes with 2-hour windows"
- Embed & retrieve:
- Embed each hypothesis using strategy semantics
- Retrieve nearest empirical patterns from historical backtests
- Retrieve supporting research papers/blogs
- Score & validate: Rank by evidence density and backtest Sharpe
- Propose parameters: Map winning hypothetical to actionable parameter set
Task
- Design hypothesis generation prompt (what makes a good synthetic strategy description?)
- Implement embedding-based retrieval of:
- Similar backtest results from memory (SQLite)
- Related research findings (from Literature Agent)
- Create scoring function: evidence density + backtest quality
- Prototype on 1-2 market regimes (e.g., high-vol, low-vol)
- Compare results: generated hypotheses vs. literature-only hypotheses
Files to Create/Modify
src/agent/hypothesis_generator.py — Generative component (NEW)
src/agent/hypothesis_scorer.py — Embedding + retrieval scoring (NEW)
src/research/hypothesis_memory.py — SQLite schema for hypothesis archival (NEW)
tests/test_hypothesis_generation.py — Evaluation (NEW)
docs/HYPOTHESIS_GENERATION.md — Design doc (NEW)
Acceptance Criteria
Success Metrics
- Does it find strategies NOT in the literature/grid?
- Do generated hypotheses have >0.5 Sharpe on validation?
- How much faster than literature search?
- False positive rate (hypotheses with <0.4 Sharpe)?
Related
Priority
🔵 EXPERIMENTAL - Novel approach worth prototyping; decide after Phase 1-3 if it adds value
Notes
This is speculative. Start only after Research Agent Phase 1-3 are solid. Could complement or replace literature-only discovery depending on results.
Summary
Explore using generative recommendation systems + HyDE (Hypothetical Document Embeddings) to propose novel trading hypotheses. Instead of purely literature-based discovery, generate synthetic "ideal strategies" and search for empirical evidence of them.
This could discover hypothesis combinations not yet written about in papers.
Motivation
Current Research Agent (Phase 1-3) is literature-dependent: only finds strategies already published. A generative + retrieval approach could:
Approach (HyDE-inspired)
Task
Files to Create/Modify
src/agent/hypothesis_generator.py— Generative component (NEW)src/agent/hypothesis_scorer.py— Embedding + retrieval scoring (NEW)src/research/hypothesis_memory.py— SQLite schema for hypothesis archival (NEW)tests/test_hypothesis_generation.py— Evaluation (NEW)docs/HYPOTHESIS_GENERATION.md— Design doc (NEW)Acceptance Criteria
Success Metrics
Related
docs/RESEARCH_AGENT_DESIGN.md(complementary to existing agent)Priority
🔵 EXPERIMENTAL - Novel approach worth prototyping; decide after Phase 1-3 if it adds value
Notes
This is speculative. Start only after Research Agent Phase 1-3 are solid. Could complement or replace literature-only discovery depending on results.