Skip to content

Data Collection

Quantum Trader supports multiple data providers for redundancy and coverage.

Features:

  • Real-time and historical data
  • 2+ years of minute data on free tier
  • Reliable and fast

Rate Limits:

  • Free: 5 calls/minute
  • Starter: 100 calls/minute

Setup:

Terminal window
POLYGON_API_KEY=your_key_here

Features:

  • 20+ years of daily data
  • Fundamental data available
  • Good for historical backfills

Rate Limits:

  • Free: 25 calls/day
  • Premium: 75 calls/minute

Setup:

Terminal window
ALPHA_VANTAGE_API_KEY=your_key_here

Features:

  • No API key required
  • Good for quick tests
  • May be rate-limited

Trigger data collection on-demand:

  1. Go to Tickers
  2. Click Collect on a ticker
  3. Select interval and date range

Set up automatic data collection:

  • Daily data: After market close (4:30 PM ET)
  • Intraday: Every 15 minutes during market hours

For initial setup or backfills:

  1. Go to Tickers > Bulk Collect
  2. Select tickers
  3. Choose intervals
  4. Start collection

The system automatically manages rate limits:

  • Queues requests when limit reached
  • Rotates between providers
  • Retries failed requests

For advanced users, run collectors outside Docker:

from quantum_trader import DataCollector
collector = DataCollector(api_url="http://localhost:8501")
collector.collect("AAPL", interval="1d", start="2020-01-01")