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 availablefrom,to— YYYY-MM-DD or unix seconds, UTC, inclusiveformat— json (default) or csvlimit— default 10000, max 500000order— asc (default with a range) or descafter— unix-seconds cursor to page large pulls (usenext_afterfrom the previous JSON response)
Examples
Available data
| Ticker | Interval | Rows | From | To |
|---|---|---|---|---|
| BTC | 1 | 277,988 | 2026-05-10 | 2026-11-30 |
| BTC | 1D | 2,191 | 2020-11-30 | 2026-11-29 |
| BTC | 1M | 91 | 2018-11-01 | 2026-05-01 |
| BTC | 1W | 391 | 2018-11-12 | 2026-05-04 |
| BTC | 30 | 105,180 | 2020-11-30 | 2026-11-30 |
| BTC | W | 30 | 2026-05-04 | 2026-11-23 |
| ES1 | 1 | 385,287 | 2025-10-29 | 2026-11-30 |
| ES1 | 1D | 282 | 2025-10-29 | 2026-11-30 |
| EURUSD | 1 | 195,681 | 2026-05-22 | 2026-11-30 |
| EURUSD | 1D | 1,879 | 2020-01-02 | 2026-11-26 |
| GOLD | 1 | 186,918 | 2026-05-22 | 2026-11-30 |
| GOLD | 1D | 1,934 | 2020-01-02 | 2026-11-26 |
| NAS100 | 1 | 547,920 | 2022-01-02 | 2026-11-30 |
| NAS100 | 1D | 1,485 | 2021-03-02 | 2026-11-26 |
| NAS100 | 30 | 6,652 | 2026-05-10 | 2026-11-30 |
| NQ1 | 1 | 1,390,693 | 2022-12-26 | 2026-11-30 |
| NQ1 | 1D | 1,016 | 2022-12-27 | 2026-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=1to see instruments, intervals and exact coverage before requesting bars.
Data conventions (tell the agent)
timeis a UNIX timestamp in seconds, UTC. Convert to New York time for session logic.- OHLC are index points;
volumeis 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.