How rudhra6467/ananta-quant-research-db works
Ananta’s research database is an empirical-memory system, not a backtester or execution engine. Its principal workflow turns market inputs into canonical facts, derives point-in-time features and state, records experiments and evidence, and rebuilds current summaries for read-only agent context. The README also documents event, grouping, shift, and zero-capital paper capabilities. Some subsystem connections are documented rather than verified in sampled implementation; README-backed edges identify those limits, and unsampled internals are represented only at supported paths.
Main entry points: ingest Ingestion · observe/engine.py Feature observations · lifecycle/engine.py Canonical facts · lab/engine.py Experiments and trials
Components 23
Market data
- Ingestion
research_db/ingest - Data contract
research_db/ingest/contract.py - Data validation
research_db/ingest/validate.py - Ingestion charter
research_db/activation/charter.py - Canonical facts
research_db/lifecycle/engine.py - Deterministic fixture
research_db/lifecycle/fixture.py
Research memory
- Empirical memory
research_db/lifecycle/store.py - Feature observations
research_db/observe/engine.py - Feature calculation
research_db/lifecycle/features.py - Experiments and trials
research_db/lab/engine.py - Evidence records
research_db/persist/evidence.py - Evidence identifiers
research_db/persist/ids.py - Ranks and cohorts
research_db - Current projections
research_db/lifecycle/engine.py - Domain schemas
research_db/models/base.py
Interpretation
- Events and windows
research_db/events/engine.py - Temporal grouping
research_db/group/engine.py - Shift review
research_db/shift/engine.py
Agent and paper
- Point-in-time context
research_db/agent/context.py - Paper session
research_db/paper/session.py - Paper ledger
research_db/paper/engine.py
Other components
- Market source
- Ananta system
Connections 21
- Market source → Ingestion: supplies data
README.md - Ingestion → Canonical facts: canonicalizes into
README.md - Data contract → Ingestion: defines contract
research_db/ingest/orchestrator.py - Ingestion → Data validation: validates data
research_db/ingest/orchestrator.py - Ingestion charter → Ingestion: sets constraints
research_db/ingest/orchestrator.py - Deterministic fixture → Canonical facts: provides fixture
research_db/lifecycle/engine.py - Canonical facts → Empirical memory: appends facts
research_db/lifecycle/engine.py - Canonical facts → Feature observations: feeds features
README.md - Feature observations → Feature calculation: uses RSI math
research_db/observe/engine.py - Feature observations → Empirical memory: records observations
- Feature observations → Experiments and trials: supports research
README.md - Experiments and trials → Evidence records: records evidence
README.md - Evidence records → Evidence identifiers: uses identifiers
research_db/persist/evidence.py - Experiments and trials → Ranks and cohorts: produces scores
README.md - Ranks and cohorts → Current projections: rebuilds summaries
README.md - Current projections → Point-in-time context: supplies facts
README.md - Point-in-time context → Ananta system: provides context
README.md - Events and windows → Shift review: annotates review
research_db/shift/engine.py - Point-in-time context → Paper session: informs decision
research_db/paper/session.py - Paper session → Paper ledger: records decision
research_db/paper/session.py - Domain schemas → Empirical memory: models facts