
The Data Problem
Big Picture Capital monitors financial markets across five asset classes - indices, ETFs, futures, commodities, and crypto - using macroeconomic indicators from the Federal Reserve alongside technical chart analysis.
Before engaging DataFlos, this meant:
- 5 separate data sources - with different APIs, formats, rate limits, and authentication patterns
- Manual synthesis - checking yields on FRED, charts on TradingView, sector rotation on another screener, then mentally aggregating it all
- No computation layer - raw data everywhere, computed intelligence nowhere. Indicators were done by eye, not by system.
- No historical pipeline - each session started from scratch with no cached data, no trend tracking, no automated refresh
Our Approach
This is what a fractional data function looks like in practice.
Scope the Data Landscape
Before writing code, we mapped every data source, its constraints, and the transformations needed. Each source had its own rate limits, data formats, and reliability characteristics. A single-source strategy would have been fragile. A brute-force multi-source strategy would have hit rate limits immediately.
Design the Pipeline
We designed a daily ETL pipeline that runs unattended. Extract: fetch from all 5 sources with rate-limiting, retry logic, and cascading fallbacks. Transform: compute 8 technical indicators per ticker, classify instruments into market cycle stages, calculate sector relative strength, derive a composite regime score, compute cross-asset correlations, and normalize FRED unit mismatches. Load: upsert into a 12-table PostgreSQL cache. Then an AI synthesis pass generates natural-language narratives from the structured output.
Build the Delivery Layer
The pipeline produces intelligence. The dashboard surfaces it. A dark-themed analytics terminal reads exclusively from the cache — no client-side computation, sub-second page loads. The interface is the least interesting part of the engineering; the pipeline is the product.
Automate and Maintain
The entire pipeline runs on a daily cron schedule (6:30 PM ET). Zero manual intervention. The client opens the dashboard and sees fresh, computed data. No scripts to run, no exports to manage, no "can you pull the latest numbers?"
The Data Pipeline
This is the core of what we built — the dashboard is just the interface.
- ExtractRate-limited fetchers with fallback chains
- TransformEMA, RSI, MACD, Stage, RS, Regime, Correlations, Net Liquidity
- Load12-table PostgreSQL cache architecture
- AI SynthesisStructured data → natural-language narratives
- 30+ API Endpoints → DashboardRead-only cache hits, sub-second renders
What the pipeline computes daily
| Computation | Input | Output |
|---|---|---|
| Technical indicators | Raw OHLCV per ticker | EMA-10, EMA-21, SMA-30W, RSI-14, MACD |
| Weinstein Stage | Price vs. 30-week SMA + slope | S1 (Base), S2 (Advance), S3 (Top), S4 (Decline) |
| Macro regime score | 8 FRED series | Single 0–1 composite score |
| Sector relative strength | Sector ETF prices vs. SPY | RS-Ratio + RS-Momentum per sector |
| Cross-asset correlations | 30/90/365-day price windows | Pairwise Pearson coefficients |
| Net liquidity | WALCL, WDTGAL, RRPONTSYD | Fed balance sheet − TGA − reverse repo (unit-normalized) |
| AI narratives | All of the above | Market pulse, section briefs, event calendar |
The Delivery Layer
The dashboard is how the client interacts with the pipeline's output. Every screen reads from the cache - no computation happens in the browser.
Terminal Home - Regime at a Glance
Composite regime gauge (0-1 from 8 macro factors), key metrics grid with weekly changes, AI market pulse, LCD ticker, and upcoming events - all from the pre-computed cache.

Watchlists with Computed Intelligence
Drag-and-drop watchlist groups with prices, 30-day sparklines, and stage badges. Crypto (BTC, ETH, SOL) alongside traditional assets.

Full-Screen Charting

Macro Terminal

Sector Rotation

Data Engineering Challenges
Rate Limits Across Providers
Problem: Polygon.io's free tier allows only 5 calls/min. With 20+ tickers each needing OHLCV data plus historical backfill, a naive approach would exhaust the quota immediately.
Solution: Batched pipeline with configurable delays, exponential backoff, and a multi-source routing strategy. If one provider is down, the pipeline degrades gracefully.
Unreliable Index Feeds
Problem: Polygon.io's free tier returned empty data for NASDAQ Composite. Missing index data breaks the entire regime computation downstream.
Solution: Twelve Data as primary index source with cross-provider symbol mapping (^GSPC → SPX → I:SPX). ETF proxies as final fallback.
FRED Unit Mismatches
Problem: Net liquidity combines three FRED series in different units — WALCL and WDTGAL in millions, RRPONTSYD in billions. Without normalization, the math produces plausible-looking but wrong numbers.
Solution: Normalization layer that detects each series' unit denomination and converts to a common base (trillions) before arithmetic. The worst kind of data bug is the one that looks correct.
Edge Runtime Cookie Handling
Problem: OAuth sessions weren't persisting — infinite login redirect. Next.js Edge Runtime silently dropped Set-Cookie headers during the callback.
Solution: Middleware detects OAuth verifier and redirects to a Node.js API route where cookies work. A platform-level nuance that cost hours to diagnose.
Chart Sync Fragility
Problem: Four chart panels needed time-axis sync via polling. Failed on slow loads.
Solution: Migrated to single TradingView Advanced Chart widget. Replaced ~500 lines of custom sync with one component.
Bugs That Pass Static Analysis
Problem: Race conditions, null values from partial API responses, timezone edge cases in cron — none flagged by linting or type-checking.
Solution: Mandatory e2e test sweeps after every phase — browser automation, screenshot evidence, database verification. One sweep caught 7 bugs in a single pass.
How We Ship
DataFlos uses an AI-augmented development workflow built around Claude Code. This encodes methodology into repeatable, auditable processes.
- 01Requirements
- 02/plan-feature
- 03Human Review
- 04/execute
- 05/e2e-test
- 06/commit
/plan-featureGenerates a comprehensive plan: codebase analysis, design decisions with alternatives, step-by-step tasks, e2e specs. Detailed enough for single-pass implementation./executeImplements the plan task-by-task in dependency order, validating after each step./e2e-testBrowser automation testing every user journey with screenshots and database verification.A living architecture document (CLAUDE.md, 500+ lines) encodes project conventions and constraints. Persistent memory carries context across sessions. Every implementation session starts fully informed — no ramp-up, no pattern drift.
Claude as a Product Feature
Beyond development, Claude powers features inside the application:
All AI outputs cached 24h. The dashboard works fully without AI — it's progressive enhancement, not a dependency. Costs scale with the cron schedule, not page views.
Results
- 5 platforms, manually checked
- Synthesis done in the trader's head
- No computation layer
- Every session starts from scratch
- No AI analysis
- Unified pipeline, auto-refreshed daily
- Computed: regime score, stages, RS, correlations
- 12-table cache architecture
- Zero-touch — cron runs, dashboard is ready
- Market pulse, section narratives, ticker insights
What This Demonstrates
This project is a compressed example of what a fractional data function delivers:
- Data pipeline engineering: Multi-source ingestion with rate limiting, fallbacks, and error handling. Not just "connecting APIs" — handling the edge cases that make pipelines reliable.
- Transformation & computation: Raw data in, computed intelligence out. The client sees regime scores, stage classifications, and correlation matrices — not OHLCV rows.
- AI integration: Claude wired into the pipeline, receiving structured data, producing natural-language synthesis cached and served like any other computed metric.
- Automation: The pipeline runs itself. No scheduled exports, no manual refresh. Open a tab and the intelligence is there.
- Zero-ops delivery: Serverless infrastructure means no servers to patch, no containers to monitor. The client gets a production system without a production burden.
Your data is an asset. We build the plumbing.
For businesses that need the edge of a data team without building one - that's what DataFlos delivers.
Book A Call