Appearance
How the Pipeline Works
How the Pipeline Works
FIN runs a continuous cycle every day. This page explains what happens at each stage and why it matters.
The 5-Stage Cycle
Collect → Analyze → Predict → Validate → LearnThink of it like a factory assembly line — raw materials go in one end and finished predictions come out the other. Between each cycle, the system gets a little smarter.
Stage 1: Collect
FIN gathers data from many sources every day:
Stock Prices
The system fetches daily trading data for your selected stock: where it opened, the high and low of the day, where it closed, and how many shares changed hands (volume).
News
Articles are collected from RSS feeds — the same feeds your news reader uses. These can include Google News, Yahoo Finance, Reddit discussions, and corporate announcements. Each article is saved so it can be analyzed for sentiment, and new articles are also scanned for dated events — an earnings surprise, a guidance change, a regulatory action — so the system can judge each event separately instead of only averaging the mood of the news.
Calendar Events
Important dates are tracked: earnings announcements (when companies report their financial results), dividend dates (when they pay shareholders), and other market-moving events.
Financial Statements
The company's financial reports are gathered — how much money it's making (income), what it owns and owes (balance sheet), and how cash is moving through the business (cash flow).
Options Data
FIN pulls the full options chain for your stock from market data providers. This gives the system insight into how options traders are positioning themselves:
- Put/Call Ratios — Volume-based and open-interest-based ratios that show whether traders are betting more on price drops (puts) or rises (calls)
- Implied Volatility (IV) — A 30-day at-the-money volatility estimate extracted from option prices, reflecting the market's expectation of future price movement
- IV Percentile — Where current IV sits relative to the last 20 days, indicating whether volatility is historically high or low
Options data comes from Yahoo Finance (for US-listed tickers, resolved automatically via ISIN). Financial Modeling Prep does not expose an options dataset on the current plan, so when Yahoo Finance is unavailable the options metrics are omitted gracefully rather than substituted.
Beyond positioning insight, the 30-day implied volatility also serves as a forward-looking sanity check on the prediction's confidence band. Because option prices embed the market's own bet on how much the stock will move, FIN compares that implied move against the band its model produced. When the model's range is far tighter than what option buyers are paying for, the band is widened to respect the market's view (see The Options-Market Band Floor in the Predictions guide).
Sovereign Rates & FX
FIN pulls USD and EUR government bond yields (2Y, 5Y, 10Y) and EUR/USD exchange rate data for macro-economic context. This data feeds both the AI thesis and the ML models.
Competitor Data
If you've configured competitor tickers for your stock, FIN automatically collects data on them too:
- Price performance — 5-day and 20-day returns for relative strength comparison
- Financial metrics — P/E, forward P/E, revenue growth, profit margin, and EV/EBITDA for valuation comparison
- News analysis — competitor RSS feeds are processed through the same sentiment, surprise, and psychology pipeline as your primary ticker, giving the prediction model a complete picture of the competitive landscape
Stage 2: Analyze
This is where raw data becomes useful information.
Sentiment Analysis
Every article is read by AI and scored on multiple dimensions:
- Ticker Sentiment: Is this article positive or negative about the company? (0–100 scale)
- Economy Sentiment: What does it say about the broader economy?
- Relevance: Is the article actually about this stock?
- Momentum: Is the sentiment getting stronger or weaker?
A score below 45 is negative, above 55 is positive, and in between is neutral.
Surprise Detection
The system looks for surprises in the news — unexpected events that move markets:
- Earnings surprises: Did a company report much better or worse results than expected?
- Economic surprises: Did economic data (GDP, jobs, inflation) come in differently than forecast?
- Guidance surprises: Did a company change its outlook for the future?
Each surprise is graded on magnitude (how big a deal it is), direction (good or bad), and relevance (does it matter for this stock?).
Event Extraction
Every new article is also checked for concrete, dated events. Each event is classified by type, likely direction, importance, surprise value, relevance to the stock, source quality, and how much of it already looks priced in. Events that are ambiguous or poorly sourced are kept aside and never influence a forecast; only clear, active events can contribute. Each active event receives an expected price move with a confidence range.
Psychology Scoring
Markets aren't always rational. FIN tracks 12 cognitive biases — patterns of irrational thinking that affect investor behavior. For each bias, the system scores how strongly it's present in current market news:
| Bias | What It Looks Like |
|---|---|
| Loss Aversion | People are more afraid of losses than excited about gains |
| Herding | Everyone is following the crowd |
| Recency | Recent events are being over-weighted |
| Confirmation | People only see what confirms their beliefs |
| Anchoring | Everyone is fixated on a specific price |
| Overconfidence | Traders think they can't lose |
| FOMO | Fear of missing out is driving buying |
| Disposition | Selling winners too early, holding losers too long |
| Narrative | A compelling story is driving decisions |
| Ambiguity Aversion | Avoiding uncertain outcomes |
| Availability | Recent dramatic events feel more likely to repeat |
| Regret Minimization | Avoiding actions that might cause regret |
Technical Indicators
From the stock price data, the system calculates:
- RSI (Relative Strength Index): A 0–100 score. Above 70 = the stock might be overbought (due for a drop). Below 30 = it might be oversold (due for a bounce)
- Trend Direction: Is the stock moving up, down, or sideways?
- Volume Trends: Are more or fewer shares being traded?
Stage 3: Predict
All the analyzed signals are combined to produce predictions through a thesis-first, tiered architecture.
Step 1: Thesis Generation
Instead of jumping straight to a price number, the LLM first produces a qualitative thesis — a structured reasoning document:
- Direction: Bullish, bearish, or neutral
- Conviction: How strong is the evidence? (0–100 scale)
- Regime: Trending, mean-reverting, volatile, or range-bound
- Scenarios: Bull case and bear case with probabilities
- Falsifiable hypotheses: Specific testable predictions (e.g., "If RSI drops below 30 the thesis is wrong")
These hypotheses are registered as thesis monitors — the system checks daily whether a hypothesis has been triggered by live market data.
Step 2: Tiered Price Prediction
With the thesis in hand, the system picks the best available method to produce numeric prices:
| Tier | Method | When Available |
|---|---|---|
| Tier 1 | Your personal quantile ML model (5 models: q10, q25, q50, q75, q90) | After ~100+ resolved snapshots |
| Tier 2 | Pooled ML model (trained across all users) | After enough data accumulates |
| Tier 3 | Sector-transfer ML model | When a similar company in the same sector is trained |
| Tier 4 | Thesis heuristic (direction + rough magnitude from the thesis) | Always — no training needed |
Each tier is automatically downgraded if its recent accuracy is poor — you never see bad model outputs.
Step 3: Event Impact in the Blend
When a material event is active, it adds a bounded news-event view to the final blend. The view is capped so one story cannot dominate, and it is treated as correlated with the AI's own reading because both come from the same article. When no material event is active, the forecast uses the other views unchanged.
Step 4: Self-Critique
A second LLM pass reviews the thesis for consistency, plausibility, and falsifiability. If issues are found, the thesis is revised before the final prediction is saved.
What You Get
- Predicted price for 1 day, 2 days, and ~10 days ahead
- Confidence band: A range (low to high) where the actual price is expected to fall
- Confidence score: How sure the system is (0.0–1.0)
- Reasoning: The thesis text and critique output — a detailed, explainable view into why the system thinks what it thinks
Intermediate vs. Final Predictions
- Intermediate predictions are provisional updates made during the day as new news arrives (clearly marked as not final)
- Final predictions are the refined, complete forecasts
Stage 4: Validate
After the market closes each day, FIN checks its work:
- Compare: What was predicted vs. what actually happened?
- Error %: How far off was the prediction?
- Band Hit: Did the actual price fall within the confidence band?
Small errors (under 5%) and consistent band hits mean the system is performing well. Large errors tell the system something went wrong.
This validation data becomes the fuel for the next stage — learning.
Stage 5: Learn
This is what makes FIN different from a simple forecasting tool. The system learns from its mistakes.
Feature Snapshots
Every prediction saves a feature snapshot — a complete record of everything that went into it:
- Technical indicators (RSI, ATR, trend, volatility)
- Sentiment scores and psychology bias measurements
- Financial fundamentals (P/E, earnings growth, etc.)
- Market context (beta, correlation with SPY)
- Options data (put/call ratios, implied volatility)
- Sovereign rates & FX (USD/EUR yields at 2Y/5Y/10Y, EUR/USD exchange rate)
- Thesis features (conviction strength, regime probabilities, etc.)
When the target date passes, the accuracy tracker resolves the snapshot with the actual outcome (actual price, return %, error %). This turns every snapshot into a labeled training example.
Quantile ML Training
When enough resolved snapshots accumulate (typically 100+; short-horizon models can activate from 50, configurable in the system settings), the system trains quantile GBM models — five models that predict different points on the return distribution:
| Model | What It Predicts |
|---|---|
| q10 | Pessimistic case (10th percentile) |
| q25 | Conservative case (25th percentile) |
| q50 | Median (most likely) case |
| q75 | Optimistic case (75th percentile) |
| q90 | Very optimistic case (90th percentile) |
The q50 gives the central prediction; the q10–q90 gap forms the confidence band. These bands are optionally tightened by conformal prediction — a statistical calibration that guarantees ~80% coverage on held-out data.
Event Outcome Learning
Event forecasts are also checked against what the stock actually did. These outcomes calibrate the expected move the system assumes for each event type over time, so it learns which kinds of news genuinely move a stock and which are usually already priced in.
Cold Start
New tickers don't have to wait weeks for training data. The system backfills historical feature snapshots from existing stock price data — a single run can generate hundreds of resolved snapshots, enabling Tier 1 training on the very first retrain cycle. Backfilled samples are weighted lower than live samples during training so the model prioritizes real outcomes over simulated history.
Self-Correction
If a model's performance drops (market conditions change, old patterns break), it's automatically downgraded. The system falls back to Tier 4 (thesis heuristic) until fresh models can be trained. This prevents stale models from producing bad predictions.
What This Means for You
- You don't need to do anything — the pipeline runs automatically
- Check the Jobs page to see what stage the pipeline is in
- Watch accuracy over time — it should improve as the system learns
- Use the reasoning behind predictions to understand market forces
- Track psychology scores to spot irrational market behavior

