TR-GAB DocsBack to TR-GAB
Market Vault

One place for the data every test depends on.

Market Vault stores the historical candles, broker connections and calendar data that the rest of TR-GAB consumes. Miners, Labs, Workflows and exports all read from the vault, so the quality of your research is decided here first.

Sources per platform Connect MetaTrader 5 terminals, NinjaTrader, cTrader and LEAN as independent data sources.

Candles you can audit Sync symbols and timeframes explicitly and see exactly which data each test used.

One default broker A single ambient default decides where mining, tests and exports go unless you override it.

Sources and synchronization

Each source represents a platform installation or connection with its own symbols, candles and configuration. Sync downloads candles per symbol and timeframe into the vault; the vault view shows the available range so date modes such as “days back from the last vault candle” resolve against real data.

Spread handling is per broker: use the automatic values captured from the platform, or set manual overrides per symbol when you want conservative assumptions. Symbol calibration tools help align broker-specific contract settings before exporting bots. Spreads are expressed in price units (the symbol quote), the same units the backtests apply. A sync also re-calibrates the symbol’s spread override from the ticks it downloaded unless you ask it not to: jobs run before and after a sync may therefore use a different spread.

All candle and trade timestamps in TR-GAB are the broker server’s time. Each broker exposes its offset from UTC (visible in the Brokers tab and returned by the MCP tools), so sessions defined in UTC can be translated before mining.

Syncing candles: what to expect

  • Sync runs in the background. Press Sync and keep working: the panel shows progress per chunk and a Stop button; what was downloaded before a Stop is kept. Through MCP, sync_candles returns a job id and get_sync_status reports progress.
  • Pick the timeframe. The default M1 sync derives the other timeframes from the minute candles. When a broker keeps only a few months of M1 (common on demo servers), choose H1, H4 or D1 directly: brokers usually serve years of those.
  • The vault stores what the broker served. After a sync the panel says exactly which range arrived and, when the first candle is far later than requested, that the terminal had no older history: it is the broker’s depth, not a download error. Raising “Max bars” in the platform does not create history the server does not have.
  • Deeper direct syncs survive. Re-syncing M1 rebuilds the derived timeframes only over the range the M1 candles cover; an H1 or H4 series synced directly with more history is not overwritten.
  • The first request for a symbol the platform never opened can take a few seconds while the terminal downloads; the sync retries it automatically.

The default broker

The default broker (visible as a chip in the top bar, changeable from there or from Market Vault) is the ambient destination for platform actions across the product: row-level test buttons, workflow exports and bot downloads route to it unless a screen selects something else. Jobs and tests always record which source they used, so results remain attributable when you switch defaults.

Market calendar

The vault also manages the economic calendar used by Event Mining and by calendar-aware features. Install the calendar bridge, sync events, and the calendar status view shows the coverage you can mine against.

Keep research data and broker-specific data separate on purpose: mine and iterate on your research source, then confirm the survivors on the exact broker data you intend to trade. Differences between feeds are themselves information — the tester batch tools exist to measure them.