FinVest Audit
Independent, read-only audit of FinVest (harshyadavv2456/finvest-app @ c3dcad0, API finvest-api-gwkz.onrender.com) performed 2026-10-01 IST. Nothing in FinVest was modified. Counts below are audit evidence, not a stock list.
0. Summary of findings
- Pipeline reliability is excellent: 30/30 of the last 30
daily-refresh.ymlruns succeeded (29 scheduled + 1 manual), every job in every run succeeded. Typical run takes 2.75 h (min 2.55, max 3.34). - The schedule is not 06:00 IST in practice. GitHub starts the cron late: mean delay 298 min (max 909 min). Runs finish between ~11:30 and 14:20 IST (mean 12.92 h IST, max 14.2). A 14:30 IST fetch is usually, but not always, safe.
- Diagnosis for why FinVest’s own tracking never updates: CONFIRMED, with refinements (section 5).
as_of_dateis the run date, not the price date (section 3). For India, the stock payload'sprice_dateis one calendar day earlier than the true bar date, and prices are 1–2 sessions behindas_of_date.- API has no history: every endpoint serves only the latest snapshot; the by-intent screener is capped at 200 per call (AVOID lists hit the cap), so the full universe must be pulled through
/stocks/{market}+/stock/{ticker}(done here). - No verifiable historical signals exist; no backfill was done (section 7).
- Today the model is almost entirely AVOID (India 769/844, US 482/611) with only 5/8 long signals and zero ADD/REDUCE/EXIT: the INITIATE/ADD book will be tiny and concentrated. Every stock in each market also carries the same market regime label (all “recovery” in IN, all “accumulation” in US).
1. What each FinVest page shows and whether it works (headless-browser walk, 2026-10-01)
| Page | What it shows | Status |
|---|---|---|
| /intelligence | Stock Intelligence — per-stock intent, conviction, regime, return distribution | Loads; data from /api/top-opportunities, /api/intelligence-stocks, /api/screener. Works. |
| /opportunities | Top Opportunities (edge ranking) | Rendered “Failed to load opportunities data” during the test (cold-start timeout/CORS error in console); the API endpoint itself returns 200 with data when called directly. Intermittent. |
| /positions, /exits | Recommendation Memory — INITIATE→HOLD→EXIT lifecycle | Stuck on “Loading positions…”. API returns 0 positions (ephemeral disk wiped, see §5). Not functional. |
| /simulator | Recommendation Simulator / stance history | “Failed to Load – Network error – server unreachable”; INITIATE (0), AVOID (0). Timeline history is empty (days_found 0). Not functional. |
| /timeline, /confidence | Decision Timeline / Confidence timeline | Render but show 0 aged decisions: “No aged decisions yet”. Empty. |
| /trust | Trust Dashboard (“If you followed FinVest…”) | Renders with Net Trust Score 0, 0 decisions tracked, 0% accuracy, ₹0 impact. Empty — this is the feature FinVest would use to prove itself. |
| /system/status, /system/authority | System status | Render; console shows 404 for /api/system/health on every page (route called by the front-end does not exist; /api/health and /api/system/status do). |
| /screener, /smart-money, /insider-flow, /markets, /market-intel, /daily-brief, /stratax, /intrinsiq, /alpha-rankings, /insights | Screener, flows, news, valuation etc. | Pages load. Some show CORS/404 console errors; not part of this audit’s numerical scope. |
Raw walk: 23 routes opened with Playwright/Chromium; all returned the SPA shell. Console errors on most pages: 404 on /api/system/health; a few CORS errors during Render cold starts. The API has permissive CORS (access-control-allow-origin: *) when warm.
2. Live data: fields, intents, conviction scale, counts
Endpoints used (all unauthenticated, 200 OK): /api/health, /api/coverage, /api/system/status, /api/intelligence/stocks/{IN|US} (list of tickers: IN 844, US 611, no duplicates), /api/intelligence/stock/{ticker} (full record), /api/intelligence/screeners/by-intent/{INTENT}?market=&limit=200 (limit max 200, returns only ticker/market/intent/conviction/asset_regime/cvar_95/last_price/rationale), /api/top-opportunities/{market}, /api/ticker/{t}/daily (≈1100–2500 OHLCV rows, 4 s warm).
Per-stock fields (stock endpoint): ticker, market, as_of_date, intent, direction, conviction (0–1 float), conviction_pct (0–100, 1 dp), confidence, asset_regime, market_regime, regime_divergence, return_p10/p25/p50/p75/p90, cvar_95 (+normal/stress/panic), vol fields, recommended_position_pct, supporting/opposing_signals, comparable_win_rate, last_price, price_date, price_change_1d/5d/20d, data_quality, rationale, raw_data.generated_at. Intent values observed: INITIATE, ADD, HOLD, REDUCE, EXIT, AVOID (the engine also defines HEDGE, never observed). Conviction scale: 0–1; observed AVOID 0–0.42, HOLD 0.40–0.63, INITIATE 0.58–0.69 — i.e. conviction is not comparable across intents (low conviction on AVOID means a weak avoid, not a strong buy); 19 IN and 12 US stocks have conviction exactly 0.
First snapshot (counts per intent per market):
| Market | as_of_date | stocks scored | INITIATE | ADD | HOLD | REDUCE | EXIT | AVOID |
|---|---|---|---|---|---|---|---|---|
| IN | 2026-09-30 | 844 | 5 | 0 | 70 | 0 | 0 | 769 |
| US | 2026-09-30 | 611 | 8 | 0 | 121 | 0 | 0 | 482 |
Cross-checks passed: for every market the sum of the by-intent counts equals /api/coverage.decision_generated and the full-universe pull; the 200-cap affected only AVOID (769 IN / 482 US > 200), which is why the per-ticker route is used. Three Indian entries are non-equity fund identifiers (0P0000XW8F.BO etc.) — flagged non_equity_id. The US universe also includes some ETFs/funds.
3. How as_of_date relates to the last price bar
as_of_date=date.today()on the GitHub runner (quant_system/run_full_daily_intelligence.pylines 1298 & 2089), i.e. the UTC run date, not the date of the last price. Intelligence was generated 2026-09-30 13:52 IST foras_of_date2026-09-30.- US:
price_date2026-09-29 for 600/611 stocks = the last completed US close, 1 session behindas_of_date.last_pricematched Yahoo close exactly (600/600 within 1%). - India:
price_dateis the UTC date of a midnight-IST timestamp, so it is one day early: shifting by +1 day matches Yahoo closes for 811/828 stocks (within 0.1%). True bar dates: 437 stocks on the 2026-09-29 close, 393 on 2026-09-28 — a mixed 1–2 session lag. Example: a stock whose last_price equals the 28-Sep close shows price_date 2026-09-27. - FinVest’s
/api/ticker/{t}/dailycarries an unfinished bar withclose=nullfor the most recent session on India tickers (the row for “2026-09-29” has Yahoo’s 30-Sep open and no close). Closes for all earlier dates match Yahoo exactly (max diff 0.0 across 500 overlapping days for RELIANCE, TCS, CHOICEIN, AAPL, NVDA, GNRC). - 11 Indian and 9 US scored tickers have no Yahoo history at all (delisted/renamed: e.g. TATAMOTORS.NS, LTIM.NS, K, MMC); 14 IN and 11 US have price dates months or years old (one currently long-rated Indian name carries a last price dated 2018). These are stale-price signals; this tracker never invents a price: such names are flagged and, if entered, cannot be marked (see Methodology).
Implication for timing: the signal is observable from ≈14:00 IST on its own as_of_date (the run finishes 13:52–14:20 IST, then publishes to R2 and triggers a Render redeploy), not “the day after”. The tracker conservatively uses its own fetch time as the observation time (see Methodology), and the signal’s information is already 1–2 sessions old when observed.
4. Reliability of daily-refresh.yml — last 30 runs
Runs 30 · success 30 (100%) · window 2026-09-02 → 2026-09-30. Source: GitHub Actions API (runs + jobs).
| Job | success | not success |
|---|---|---|
| indian-announcements | 30 | 0 |
| fii-dii | 30 | 0 |
| insider-flow | 30 | 0 |
| market-data | 30 | 0 |
| alpha-rankings | 30 | 0 |
| intelligence | 30 | 0 |
| screener | 30 | 0 |
| publish-static-bundle | 30 | 0 |
| notify-status | 30 | 0 |
Notes: workflow success does not guarantee fresh signals: the Render API only serves new data after the “Trigger Render redeploy” step (needs secrets RENDER_API_KEY/ID; failure of the curl would be silent because curl -s without -f never fails the step). The job market-data (price download for ~2,300 tickers) is the long pole. Because redeploy restarts Render, cold starts follow. 30 consecutive successes is a good result; one caveat — runs are triggered 4–5 hours after the 06:00 IST cron.
All 30 runs
| Run # | Trigger | Result | Started (IST) | Hours | Finished (IST) | intelligence job done (IST) |
|---|---|---|---|---|---|---|
| 54 | schedule | success | 2026-09-30 11:17 | 2.62 | 13:54 | 13:53 |
| 53 | schedule | success | 2026-09-29 11:28 | 2.74 | 14:12 | 14:10 |
| 52 | schedule | success | 2026-09-28 11:10 | 2.73 | 13:54 | 13:53 |
| 51 | schedule | success | 2026-09-27 11:01 | 2.63 | 13:39 | 13:37 |
| 50 | schedule | success | 2026-09-26 10:46 | 2.61 | 13:22 | 13:21 |
| 49 | schedule | success | 2026-09-25 10:40 | 2.63 | 13:17 | 13:16 |
| 48 | schedule | success | 2026-09-24 10:38 | 2.55 | 13:11 | 13:08 |
| 47 | schedule | success | 2026-09-23 10:28 | 2.68 | 13:08 | 13:07 |
| 46 | schedule | success | 2026-09-22 10:43 | 2.77 | 13:29 | 13:27 |
| 45 | schedule | success | 2026-09-21 10:44 | 2.68 | 13:24 | 13:23 |
| 44 | schedule | success | 2026-09-20 10:38 | 2.62 | 13:15 | 13:14 |
| 43 | schedule | success | 2026-09-19 10:20 | 2.64 | 12:58 | 12:57 |
| 42 | schedule | success | 2026-09-18 10:27 | 2.66 | 13:07 | 13:05 |
| 41 | schedule | success | 2026-09-17 10:35 | 3.06 | 13:38 | 13:36 |
| 40 | schedule | success | 2026-09-16 10:32 | 2.58 | 13:07 | 13:05 |
| 39 | schedule | success | 2026-09-15 10:37 | 2.79 | 13:24 | 13:23 |
| 38 | schedule | success | 2026-09-14 10:45 | 2.88 | 13:37 | 13:36 |
| 37 | schedule | success | 2026-09-13 10:37 | 2.63 | 13:14 | 13:13 |
| 36 | schedule | success | 2026-09-12 10:20 | 2.91 | 13:14 | 13:13 |
| 35 | schedule | success | 2026-09-11 10:27 | 2.72 | 13:10 | 13:09 |
| 34 | schedule | success | 2026-09-10 10:31 | 2.71 | 13:13 | 13:12 |
| 33 | workflow_dispatch | success | 2026-09-09 21:09 | 3.34 | 00:29 | 00:28 |
| 32 | schedule | success | 2026-09-09 10:27 | 2.68 | 13:08 | 13:06 |
| 31 | schedule | success | 2026-09-08 10:27 | 2.62 | 13:05 | 13:03 |
| 30 | schedule | success | 2026-09-07 10:30 | 3.33 | 13:49 | 13:48 |
| 29 | schedule | success | 2026-09-06 10:25 | 2.58 | 13:00 | 12:59 |
| 28 | schedule | success | 2026-09-05 10:16 | 2.97 | 13:14 | 13:13 |
| 27 | schedule | success | 2026-09-04 10:22 | 2.71 | 13:05 | 13:03 |
| 26 | schedule | success | 2026-09-03 10:20 | 2.72 | 13:03 | 13:01 |
| 25 | schedule | success | 2026-09-02 10:22 | 2.78 | 13:08 | 13:06 |
5. Why FinVest’s own tracking never updates — diagnosis verdict: CONFIRMED
- Timeline + positions live on Render's ephemeral disk.
timeline_api.py:29→FinSight/public/timeline;position_tracker_api.py:35-41→FinSight/public/positions..gitignore:78ignoresFinSight/public/and:77FinSight/data/;render.yamldeclares nodisk:(free plan). Evidence live:/api/timeline/history/IN?days=30→days_found: 0;/api/positions/active/IN→ 0 positions;/api/positions/summary→ all zeros. Additionally the workflow ends with a Render redeploy every day (daily-refresh.yml:327-333), which wipes the disk, and the free tier also sleeps/restarts. - No workflow calls the position/timeline writers.
grep -rn "sync_positions\|positions/sync\|timeline/save\|save-all\|score_decision_outcomes\|sync_decision_calls" .github/returns nothing. The only callers are (a)FinSight/daily_refresh_orchestrator.py:276-327,394-395(step_timeline,step_positions→sync_positions.py) — a retired local orchestrator not referenced by any workflow; (b) front-end buttons:ActivePositionsPage.tsx:105(POST/api/positions/sync/{market}) andSimulatorPage.tsx:85(POST/api/timeline/save/{market}) that only run when a visitor opens the page and are lost at the next redeploy. score_decision_outcomes.pyandsync_decision_calls_to_supabase.pyare never invoked. The only repo occurrences of those names are their own docstrings and a comment insupabase_schema.sql:153.score_decision_outcomes.py:11-12claims “Run daily … (see .github/workflows/daily-refresh.yml)” but the workflow contains no such step (it has onlysync_intelligence_to_supabase.py, line 233).- Decision-call log is written to a runner-local directory.
decision_logger.py:33,102-103writesFinSight/state/decision_calls/YYYY-MM-DD.jsonlfromlayer6_decision_engine.py:782-790during theintelligencejob; the job uploads onlyFinSight/public/intelligence/as artifact, so the JSONL is destroyed with the runner. Even if sync_decision_calls were scheduled it would find an empty directory on a fresh runner (sync_decision_calls_to_supabase.py:25). - Refinement:
sync_intelligence_to_supabase.pydoes run daily and appends to Supabaseintelligence_historywith a 90-day prune — this is a potential durable history but it is capped at 90 days, was not used here (Supabase untouched by design), and nothing reads it for performance tracking. The Trust Dashboard / Timeline front-ends read the empty ephemeral stores instead. - Net: FinVest produces a fresh signal set every day but nothing durable stores prior days or scores outcomes, so every “track record” page is empty by construction. That is exactly the gap this project fills.
6. Other things that could distort performance numbers
- Date/time labelling: as_of_date = UTC run date; India price_date is one day early (§3). Tracking must use observation time (fetch time) and exchange calendars, never as_of_date for pricing.
- Price lag: signals use prices 1–2 sessions older than observation (§3); India’s partial last bar has null close. Signal-day-open results are therefore a look-ahead variant (labelled theoretical).
- Survivorship / universe drift: the universe is whatever is scored today (844 IN / 611 US); names drop out silently (delisted/renamed: 11 IN, 9 US in the first snapshot have no Yahoo data). Exits for “dropped from universe” are logged as reason
dropped_universe; there is no history to measure what was removed earlier. Today’s universe is also survivor-biased relative to any past date, which is why backfill is not attempted. - Stale prices on signals: 14 IN/11 US names have last_price older than 30 days; one long-rated name priced in 2018. A model long signal on a stock whose data is years old is not tradeable evidence — flagged, and unpriceable names are excluded from entries.
- Non-equity and duplicate listings: 3 BSE mutual-fund-like ids (
0P…BO) in IN; US ETFs (in the first snapshot two long-rated names were share classes of the same index fund) → double-counts one exposure. Different tickers are not de-duplicated by this tracker; the effect is shown in the data. - Split/dividend adjustment: FinVest’s bars have
adj_close == closein sampled tickers (not dividend-adjusted); this tracker uses Yahoo adjusted close/open (adj factor applied to open) and logs any later revisions of cached closes (>0.1%). - India holidays:
exchange_calendarshas no NSE calendar; BSE (XBOM) holiday set is used (identical in practice) and is only populated through 2026-12-31 — beyond that Mon–Fri is assumed and the benchmark bars decide which days exist. Muhurat sessions and ad-hoc closures should be rechecked yearly. - Everything-AVOID regime: market_regime is identical for all names in a market, so “hit rate by regime” is effectively one regime until it changes; conviction is not comparable across intents (§2).
- Render cold starts / partial pulls: a full pull needs ~850 calls; the fetcher requires ≥98% of the listed universe and a unique, fresh
as_of_date, or the day is not recorded. - Benchmark index data:
^CRSLDX(Nifty 500) verified on Yahoo (bars through 2026-09-30); ^NSEI, SPY, RSP, ^IRX also verified. Index levels are price indices (no dividends) while stocks are total-return adjusted — a small favourable bias to stocks (≈1–1.5%/yr India). Noted, not adjusted. - Free-tier drift: Yahoo data is unofficial and can be revised or throttled; every refresh re-downloads the window and logs revisions.
7. Historical (backfill) sources
The Wayback Machine CDX index returned no captures of finvest-api-gwkz.onrender.com/api/intelligence/* or /api/top-opportunities*; the site itself is a client-side SPA whose captures contain no signal data. FinVest’s own history stores are empty (§5), git history of signals is excluded (signals are gitignored). No verifiable dated historical signals were found, so no backfill was performed. Live tracking starts with the first snapshot (as_of 2026-09-30); the first tradeable entry is the next session after observation.