기술 블로그

← 모든 글

· XingAI Invest AI

From Signal Events to Strategy Lab: Worker-Owned Paper Inside Invest AI

UI는 한국어입니다. 글 본문은 아직 영어 또는 중국어만 있습니다.

The chain

ADR-035 position-signal events
  → ADR-036 worker OHLCV bars (Yahoo behind worker only)
  → ADR-037 paper trading ledger + /execution-log
  → ADR-038 strategy-lab backtests over cached bars
  → ADR-039 EEE export into shared eval registry

Before 036, chart-lab and InvestSim could each pull Yahoo and diverge. Programmatic consumers now fail closed on cache miss (503) instead of turning FastAPI into a fetch proxy.

Paper ledger is real audit-shaped state — still far from broker risk. Strategy lab compares policies on the same bars and must not mutate the paper ledger on request. EEE export makes regressions visible outside the dashboard JSON.

Boundary

Worker writes. FastAPI reads. Strategy evaluation is historical math on cache, not a second live decision engine.

Takeaway

Paper and backtests belong next to the signal cache that already owns truth — not in a sibling Yahoo client.

Further reading: ADR-035–039 · loop post 2026-08-05-three-repos-one-paper-to-draft-loop.md.