NQ Data Center

Data access for agents

A public HTTP API serving clean OHLCV candles straight from the database — no local files needed. Point any new agent or script at the endpoints below. The main prepared dataset is NQ1 1-minute (≈3 years, continuous). Time is a UNIX timestamp in seconds, UTC.

Full-history download — NQ1 1-minute

The complete NQ1 1-minute OHLCV history as a single file — every stored candle, original prices, timezone-aware UTC timestamps. No session filtering, no aggregation. 1,378,249 rows, 2022-12-26 → 2026-11-17 (UTC).

Columns: time_unix (unix s, UTC), datetime_utc (tz-aware), open/high/low/close (index points), volume (tick). For custom date ranges or other instruments, use the API below.

Full-history download — ES1 1-minute

Complete ES1 (ES1! CME E-mini S&P 500 futures) 1-minute OHLCV history. 385,287 rows, 2025-10-29 → 2026-11-30 (UTC).

Same column schema as NQ1. ES1 tick size 0.25 pts (1 ES pt = $50/contract, 1 MES pt = $5).

Endpoint

GET /api/nq-data?ticker=NQ1&interval=1&from=2024-01-01&to=2024-01-31&format=csv
  • ticker — default NQ1 (also NAS100, BTC, ES1, EURUSD, GOLD)
  • interval — default 1 (1-min); also 30, 120, 1D, 1W, 1M where available
  • from, to — YYYY-MM-DD or unix seconds, UTC, inclusive
  • format — json (default) or csv
  • limit — default 10000, max 500000
  • order — asc (default with a range) or desc
  • after — unix-seconds cursor to page large pulls (use next_after from the previous JSON response)

Examples

Available data

TickerIntervalRowsFromTo
BTC1277,9882026-05-102026-11-30
BTC1D2,1912020-11-302026-11-29
BTC1M912018-11-012026-05-01
BTC1W3912018-11-122026-05-04
BTC30105,1802020-11-302026-11-30
BTCW302026-05-042026-11-23
ES11385,2872025-10-292026-11-30
ES11D2822025-10-292026-11-30
EURUSD1195,6812026-05-222026-11-30
EURUSD1D1,8792020-01-022026-11-26
GOLD1186,9182026-05-222026-11-30
GOLD1D1,9342020-01-022026-11-26
NAS1001547,9202022-01-022026-11-30
NAS1001D1,4852021-03-022026-11-26
NAS100306,6522026-05-102026-11-30
NQ111,390,6932022-12-262026-11-30
NQ11D1,0162022-12-272026-11-30

Coverage is live from the database. For a machine-readable version call /api/nq-data?meta=1.

Onboarding a new agent — copy & paste this

Paste the block below into a fresh agent at the start. It tells it exactly what it has access to and — crucially — how to use it without burning tokens. No strategy templates: the agent writes whatever backtest you ask for, it just pulls the data the efficient way.

You have access to a prepared NQ (Nasdaq futures) market-data service. Use it instead of asking me for data files.

BASE URL: https://nasdaqbtc.abacusai.app

WHAT IS AVAILABLE
- Clean OHLCV candles for several instruments, served over HTTP from a database.
- Main dataset: NQ1 (NQ1! CME E-mini Nasdaq futures), 1-minute, ~3 years continuous. Also NAS100, BTC, ES1, EURUSD, GOLD and higher intervals (30, 120, 1D, 1W, 1M) where available.
- First call GET /api/nq-data?meta=1 to see exact instruments, intervals and date coverage.

HOW TO PULL DATA (IMPORTANT - be token-efficient)
- NEVER load raw candles into your context/chat. Download to a FILE, then compute locally.
- Example: curl -s "https://nasdaqbtc.abacusai.app/api/nq-data?ticker=NQ1&interval=1&from=2024-01-01&to=2024-03-31&format=csv" -o nq.csv
- Pull only the date range you need (params: ticker, interval, from, to=YYYY-MM-DD, format=json|csv, limit max 500000, order, after=<cursor for paging>).
- For big spans, page with &after=<next_after>&order=asc (JSON) or loop month-by-month CSV.

HOW TO WORK
- Load the CSV with pandas/numpy on your machine and build whatever backtest/analysis I ask for. There are no fixed strategy templates - you write the logic per request.
- Return only the SMALL result to me (stats, trade list, equity curve) - not the raw bars.

DATA CONVENTIONS
- time = UNIX seconds, UTC. Convert to America/New_York for session logic.
- OHLC = index points; volume = tick volume; bars timestamped at the minute OPEN.
- NQ1 tick size 0.25 pts (1 pt = 4 ticks); 1 NQ pt = $20/contract, 1 MNQ pt = $2.
- RTH (US cash session) = 09:30-16:00 ET (last 1-min bar 15:59). Overnight/Globex bars are also present - filter by ET minute-of-day if RTH-only.

Full docs: https://nasdaqbtc.abacusai.app/data

Also available as plain text at /api/nq-data/guide.

How an agent should use this (efficiency rules)

  • Never load raw candles into the chat / context. Pulling ~1.36M 1-min rows into context is a massive token cost. Download to a FILE on the machine instead: curl -s ".../api/nq-data?ticker=NQ1&interval=1&from=2024-01-01&to=2024-03-31&format=csv" -o nq.csv.
  • Pull by date range, then compute locally. Load the CSV with pandas/numpy on the machine, build whatever backtester the task needs, and return only the SMALL result (stats, trades, equity) to the conversation.
  • Page very large pulls with &after=<next_after>&order=asc (JSON) instead of one giant request.
  • Start with /api/nq-data?meta=1 to see instruments, intervals and exact coverage before requesting bars.

Data conventions (tell the agent)

  • time is a UNIX timestamp in seconds, UTC. Convert to New York time for session logic.
  • OHLC are index points; volume is tick volume.
  • Primary dataset: NQ1 1-minute (NQ1! CME E-mini Nasdaq futures), continuous ~3 years.
  • NQ1 tick size is 0.25 index points (1 point = 4 ticks); 1 NQ point = $20 per contract, 1 MNQ point = $2.
  • RTH (regular US cash session) convention used across this project: 09:30–16:00 ET (last RTH 1-min bar is 15:59). The feed also contains overnight/Globex bars outside that window — filter by ET minute-of-day if the strategy is RTH-only.
  • Bars are timestamped at the OPEN of the minute.