TradingView for research
v6 · 25 Sep · TradingView for research · see v7, the current engine →
v6 was a small change on top of v5: TradingView quotes and bars reached the intraday agents as research input. They never touched prices, fills or orders.
Figure 01 · v6 · 25 September 2026
Where the data comes from, and what each night does with it
Sources on the left, one writer in the middle, decisions and fills, then the evidence on the right. The dashed boxes have no order authority. Nothing here moves a strategy to real money on its own.
- Data
- Ranked names
- Next-open fill
- Verdict
Running unattended
Cron starts the nightly run at 22:30 UTC: universe, collect, screen, corporate actions, portfolio step, the three forward monitors, sync, then the heavier jobs through a queue with per-job timeouts and a resource cap. DuckDB has one writer; the collector releases it between batches so the API and the UI are never locked out for a multi-hour pull. Saturdays a verifier re-checks the full universe against a second source and reports disagreements instead of quietly patching them. Sundays the walk-forward replays every portfolio through the live league.py daily step with the config frozen in its database row, so the report can never describe a rule no portfolio is trading.
Coding agents built the engine from a written spec. Even after the research answer became “nothing works yet, wait for evidence”, the agents kept building anyway: forty-six thousand lines of governance for a broker that does not exist. The repo now carries a written rulebook, a list of what is in scope with size limits the test suite enforces, and a status snapshot every coding session must publish. For now, I want it to keep collecting data and reporting against the existing rules while the experiments run.
- paper portfolios
- 21 rule-based (18 replayable) · 1 run by an AI agent
- strategy modules
- 30 · one file each, rules fixed in advance
- test plans with a kill rule
- 10 · 7 closed as rejected or inconclusive
- data sources
- Yahoo · Nasdaq · FRED · Cboe · FINRA · CFTC · AAII · NAAIM · SqueezeMetrics
- research-only source
- TradingView quotes and bars, for the intraday agents
- not connected yet
- Alpaca IEX (dormant) · SEC EDGAR · licensed history
- liquid universe
- ~4,100 US names, refreshed weekly
- walk-forward
- 10 folds · train 24 mo · validate 12 mo
- api
- 34 local-only routes · reads plus paper orders
- tests
- 3,280 collected · warnings are failures
- python
- ~89k lines outside tests · started 2026-07-16