Market Data

Market Data

Price, OHLC, and technical indicators across crypto, stocks, ETFs, forex, indices, and futures. Unified through a single pipeline with layered fallbacks.

Asset Types Supported

Market type is detected automatically from the ticker. The same analysis tools work across all asset classes.

CRYPTO

BTC, ETH, SOL, XRP, BNB, DOGE, ADA, AVAX, INJ, SUI, TAO, FET

USDT/BUSD pairs plus bare tickers for ~40 known bases.

STOCK

AAPL, NVDA, TSLA, MSFT, META, GOOGL, plus Nordic/European (NOVO-B.CO, EVO.ST)

US tickers direct; European tickers resolved via exchange suffix.

ETF

SPY, QQQ, IWM, DIA, GLD, SLV, TLT, ARKK, VTI, VOO, SOXL, TQQQ

Treated as stock for data fetching.

FOREX

EURUSD, GBPUSD, USDJPY, AUDUSD, XAUUSD (gold), XAGUSD (silver)

Six-char pairs detected automatically; commodity pairs proxied to futures.

INDICES

SPX500, US100, US30, NDX, VIX, DAX, FTSE, NIKKEI, HSI, STOXX50

Mapped to Yahoo index symbols (^GSPC, ^IXIC, ^DJI, etc.).

FUTURES

ES, NQ, CL, GC, SI, NG, HG, ZC, ZW, ZS, plus USOIL/BRENT aliases

Continuous contracts via =F suffix. Commodity aliases resolve to underlying.

Providers & Fallback Order

All market data flows through a single entry point in lib/marketData.ts. Crypto prices hit CoinPaprika first; stocks hit FMP then Finnhub. OHLC is Yahoo-first for every asset, with TwelveData as a universal fallback and Binance as a crypto-only last resort. TradingView Scanner covers emergency price lookups.

Yahoo Finance
Primary OHLC for every asset type. Quotes and chart data.
CoinPaprika
Primary spot price for crypto (covers ~4000 coins).
FMP
Realtime stock quotes, including European and Nordic tickers.
Finnhub
Fallback for US stock quotes when FMP is unavailable.
TwelveData
Fallback OHLC when Yahoo fails.
Binance Public REST
Last-resort OHLC for crypto only (klines endpoint).
TradingView Scanner
Emergency price fallback when everything else is out.
Taapi.io
Bulk technical indicator calculations (crypto + supported stocks).

Update Frequency

Watchlist prices are polled from the client. The interval scales with your plan.

STARTER
15s

Free plan polling interval.

PRO
8s

Roughly twice as fast as Starter.

PREMIUM
5s

Near real-time watchlist refresh.

Polling pauses when the tab is hidden and resumes immediately on focus.

Technical Indicators

Indicators are pulled in a single bulk call from Taapi.io whenever the pipeline has a valid timeframe. The full set passed to analysis engines and bots:

EMA
SMA
RSI
STOCH
MACD
ATR
ADX
Bollinger Bands
Donchian Channels
Keltner Channels
BBW
Squeeze
Ichimoku
OBV
Fibonacci Retracement
Pivot Points

Supplementary Data

Whale Activity

On-chain transfers over $500k logged to our WhaleActivity model for crypto context.

Insider Trades

SEC Form 4 filings parsed for director and officer stock transactions.

Analyst Ratings

Upgrades and downgrades from major banks (Goldman, Morgan Stanley, JPM, etc.).

IPO Calendar

Forward-looking IPO schedule via NASDAQ for upcoming listings.

Earnings Calendar

Daily earnings schedule so bots can widen stops or pause before reports.

Refreshed on the /api/cron/market-intelligence cron, which runs every four hours.

Caveats

  • Yahoo Finance can be intermittent. The fallback chain is designed to smooth over outages, but a full provider blackout will show stale prices until recovery.
  • Chart data can rarely be missing for extremely illiquid symbols (penny stocks, obscure futures, tiny-cap altcoins). Bots will skip these on scan rather than trade blind.
  • Taapi indicators require supported exchanges or a known stock symbol. Forex and index indicators fall back to the engine's own basic calculations.

Next: Connect Your Portfolio

Feed your own live portfolio balances into the system so the AI can reason about your actual exposure, not just market state.

Portfolio Connection