Sync market data to the analytics database

Once you complete Getting Started, two background plugins begin indexing your brokerage's contract catalog and live quotes into the local analytics store:

Ticker Universe

Indexes the tradable contract universe from your brokerage (equities, option chains and futures) into the local database. Shows Connected on the Plugin Health tab once running.

The Ticker Universe row in the plugin list with status Connected
Quote Sweep

Continuously cycles through your synced contract universe and writes the latest live quote snapshots to the local database. The status line on Plugin Health reports Fetching along with its progress through the current pass.

The Quote Sweep row in the plugin list with status Fetching and its progress through the current pass

Interactive Brokers: set up the Client Portal Gateway

On IBKR, Ticker Universe uses the local IBKR Client Portal Gateway to enumerate the full contract catalog.

  1. Install a Java runtime (JRE/JDK) on your Mac.
  2. Download the Client Portal Gateway zip from IBKR (Web API quick start).
  3. Unzip the gateway into ~/Library/Application Support/deltaforge/plugins/user.ibkr_provider/data
  4. Open the IBKR Status Panel in DeltaForge and confirm Gateway Install shows Discovered and Java JVM shows Found.
  5. Click Open login and sign in through your browser. Once Session reads Authenticated, Ticker Universe will begin syncing.
The IBKR Status Panel showing Gateway Install, Java JVM, and Session rows with an Open login button

Signing into the Client Portal Gateway with the same IBKR username as a running TWS session temporarily claims that username's market data session from TWS. Because DeltaForge streams real-time quotes from TWS rather than the gateway, click Reconnect inside TWS after authenticating the gateway; the gateway will continue serving contract definitions while TWS resumes streaming quotes. Creating a second IBKR username dedicated to the gateway avoids this handoff completely.

Charles Schwab

No extra gateway is needed. Ticker Universe and Quote Sweep start automatically as soon as the Schwab provider connects.

Sync bulk historical data

Plan for disk space. Daily equity bars and macro series take very little storage, but intraday bars and full historical options chains can easily exceed 500 GB. If your internal drive is tight, point the store at an external NVMe/SSD before enabling bulk history sync.

Universe History Sync

Universe History Sync pulls daily historical bars (plus composite implied volatility for optionable underlyings) from your brokerage for every contract in Ticker Universe. It refreshes every 12 hours and can also be triggered on demand by your agent.

It is disabled by default so you can configure storage first. To enable it:

  1. Open Settings → Plugins → Universe History Sync.
  2. Under History, check Enabled.
  3. Set Stock Bar Type to match your brokerage feed: Split and Dividend Adjusted (default, for IBKR) or Split Adjusted (for Schwab).
  4. Optionally adjust lookback depth: History Start (years) controls daily equity/ETF history (integer >= 1, default 20 years), and Dated Futures History (years) controls per-contract futures history (integer >= 1, default 3 years, capped at History Start).
  5. Click Save.
Universe History Sync settings

Note for Schwab users: the Schwab API serves split-adjusted daily bars without dividend adjustments, historical option bid/ask quotes or stock-borrow rates. For total-return or options backtesting, pair DeltaForge with IBKR or a dedicated historical market data feed.

Move the database to an external drive

  1. Open Settings → Plugins → Analytics Store.
  2. Set Database Path to a directory named deltaforge_duckdb_data on your external volume (for example, /Volumes/external-ssd/deltaforge_duckdb_data). The macOS sandbox requires the leaf folder to be named deltaforge_duckdb_data.
  3. Click Save and quit DeltaForge.
  4. Move your existing analytics.duckdb file (and analytics.duckdb.wal, if present) from ~/Library/Application Support/deltaforge/plugins/user.duckdb_store/data/deltaforge_duckdb_data/ into the new external folder.
  5. Relaunch DeltaForge.
Analytics Store Database Path setting

Sync free economic and market data

The FRED bundle is installed automatically with your brokerage connector during Getting Started. You can add any other public data bundle for free from the Store:

  1. Open the Store tab and select Browse.
  2. Pick a data bundle (for example, BLS or SEC EDGAR).
  3. Click Subscribe, then Install.

Each public data bundle installs two plugins:

Sync plugins ship disabled by default so you only download datasets you care about. To start a sync job, configure any required API key or contact header on the Provider plugin first, then open Settings → Plugins → <Source> Sync, check Enabled and click Save.

You can watch ingestion progress in real time on the Plugin Health tab, where each Sync plugin displays the table or archive currently loading.

FDIC and FFIEC Provider and Sync plugin rows on Plugin Health, with their status lines
Sync pluginWhat it loadsWhat its Provider needs
BEA SyncNational (NIPA), industry, regional and international economic accountsNothing for bulk archives (national, fixed assets, regional, industry). An API Key, free from BEA, is required for international and multinational datasets.
BLS SyncFull survey histories with revision vintages: CPI, employment, wages, PPI, JOLTS, productivity, ECI and import/export pricesA contact email address for bulk downloads (no API key required).
Census SyncEconomic Indicator Time Series across 21 Census survey programsA Census API Key, free from Census.
CFTC SyncWeekly Commitments of Traders (COT) positioning across futures marketsNothing
EIA SyncComplete EIA energy bulk datasets: petroleum, natural gas, electricity, coal and renewablesNothing
FDIC SyncInstitution directory and quarterly bank balance-sheet and income financials mapped to public tickersNothing
FFIEC SyncBank-level Call Report schedules plus optional UBPR performance ratiosNothing
Fiscal Data SyncAll U.S. Treasury Fiscal Data tables (auctions, debt, daily/monthly statements) with revision historyNothing
FRED SyncCurated macro time series plus full point-in-time ALFRED vintage revision historyA FRED API Key, free from FRED.
OCC Market Data ProviderOptions and futures volume, open interest, contract series, FLEX reports and position limitsNothing
PortWatch Sync18 IMF maritime port call, chokepoint transit and trade disruption layersNothing
SEC EDGAR SyncXBRL financial statements, Form 4 insider transactions, company submissions and optional 13F/N-PORT holdingsA User-Agent contact string (name and email), plus Ticker Universe running.

OCC is the single-plugin exception: OCC Market Data Provider handles both API requests and local database syncing directly.

SEC EDGAR Sync's optional Form 13F and N-PORT institutional holdings tables add roughly 460 MB (23 million rows) per calendar quarter. Check your free disk space before enabling them.

Once your tables are populated, you can query them directly through your AI agent or build saved screens and visual pipelines with Scanner and Studies.

Next: explore your data with Scanner and Studies