Datasets and Symbols
What GSB needs to know about each market, and how your price files are grouped into data sets
Prefer to watch? This page has a video lesson
Module 1: Getting Set Up · Training Hub · free with a GSB Pro account
- GSB open, with the natural gas settings file from lesson 3 loaded (or your own saved copy)
- The market you want to build on, and its contract details from your exchange or broker: tick size, point value and trading hours
- The trading platform you'll trade on: TradeStation, MultiCharts or NinjaTrader
The click-by-click steps for exporting a file and loading it into GSB are on Uploading Data. This page explains what you're filling in and why.
Symbols and data sets: the two things GSB needs
- A symbol is one row in GSB's
Tools → Contracts List. It tells GSB what one point is worth, how prices tick and when the last bar of the day is. Your price file name starts with the symbol, for exampleESinES.30.Minute.830.1500.CentralUSATime.txt, and GSB shows what it read in the Contract column of the Price Data window. - A data set is a named group of one or more price files in GSB's Price Data window, for example
ES.30. The first file is Data1, the market you build systems on. A second file shows as Data2 (secondary data). The data set you choose is shown in the left panel underData → Opt. Price Data.
Keep it simple to start. Trademaid says you could just choose ES 30-minute data and leave all the other Data fields blank. One market, one bar size, one time zone.
Do you need to touch the Contracts List?
A brand-new market needs adding in Tools → Contracts List before you load its data. Trademaid's screenshot shows rows already there for markets such as ES, EURGBP and FV. If your market already has a row, check its Ticks, Pnt Val, Digits and Last Bar against the table below, then leave it.
Add or check a symbol
- In GSB's top menu, click
Tools, thenContracts List. The Contracts window opens. - Find your market in the Name column. If it isn't there, add a new row for it (check Trademaid's current help for the exact clicks in your version).
- Fill in or check each column, using the table below.
- Close the window, then export and load your price file: see Uploading Data.
- The same symbol on two different sessions needs two rows. Clone the row and rename it.
- After you correct a contract's specs, click
Tools → Reset Price Data Cacheand restart the workers, or GSB keeps using the old values.
Every Contracts List field
Meanings are from Trademaid's Contract list help. The ES column is the E-mini S&P 500 row from Trademaid's screenshot.
| Column | What it means | ES example |
|---|---|---|
| Name | The name GSB uses inside the program, for example in the Data section. | ES |
| NT Name | The name NinjaTrader uses for this market. | ES |
| Type | The kind of market. Trademaid says the options normally used are futures, cash, stock or indices (the list shows codes such as FUT and CASH). | FUT |
| Exch | The exchange. | GLOBEX |
| Cur | The currency, for example USD or EUR. | USD |
| Ticks | How many ticks make one point. The S&P 500 moves in quarters (x.00, x.25, x.50, x.75), so it's 4. Trademaid gives 100 for crude oil futures. A market whose minimum step is 0.2 has 5 ticks per point. | 4 |
| Pnt Val | What a one-point move is worth, in the contract's currency. Buy S&P 500 futures at 3000.00, sell at 3001.00, and you make $50. It matters unless you size trades with Capital Investment quantity. A cash index used as Data2 should get the same point value as its future, because BPV-based secondary filters compare dollar moves. | 50 |
| Digits | How many digits after the decimal point. S&P 500 prices like 3000.25 have 2. Natural gas prices like 2.345 have 3. Peter Zwag (GSB's developer) says Digits has no effect on results. | 2 |
| SF Indicator | The secondary filter for this market, used only when the secondary filter is set to AUTO (which Trademaid recommends). Older guides said to use GeneticAlgorithm for every non-index market. Peter's July 2025 advice: indices use the non-normalized CloseLessPrevCloseDBpv, energies use the normalized version (through GeneticAlgorithm), and for other markets test the filters one at a time. | CloseLessPrevCloseDBpv |
| Exch Time | A comment only, so you can note the exchange's trading hours. GSB doesn't use it. | 830_1500 |
| Last Bar | The time of the last bar of the day in your exported price file. GSB uses it for market-on-close exits. If you don't know it, open the .txt file and look. If GSB warns that the primary price data files do not match their contracts' session, set Last Bar to the time of the last bar in your file. | 1500 |
| Notes | A comment only. | E-mini S&P 500 Futures/Exchange=USA CST… |
Worked example 1: ES (E-mini S&P 500 futures)
Trademaid's ES row, exactly as shown:
- Name
ES, NT NameES, TypeFUT, ExchGLOBEX, CurUSD - Ticks
4(prices move in quarters of a point) - Pnt Val
50(a one-point move is $50) - Digits
2 - SF Indicator
CloseLessPrevCloseDBpv(ES is an index future) - Exch Time
830_1500, Last Bar1500
The matching price file is ES.30.Minute.830.1500.CentralUSATime.txt: 30-minute bars, 8:30 to 15:00 US Central time, so the last bar of the day is stamped 15:00.
Worked example 2: NG (natural gas), the course market
Lesson 3 loads Trademaid's natural gas settings file (NG_20250717_40%InSample). Its data set is natural gas one-minute data. In Trademaid's 2025 screenshot the Opt. Price Data row reads NG:Data1: ng\NG.1.minute.2007-20250610.tickVol.txt: a data set named NG, with one file as Data1, in an ng sub-folder. The file name follows the same naming format: symbol NG, time frame 1, bar type minute, then anything you like.
- Digits:
3. Trademaid's own example: natural gas can trade at 2.345, three digits after the decimal point. - Ticks and Pnt Val: Trademaid's help doesn't list NG's values. Check the NG row in your Contracts List against your exchange's contract specification, or check Trademaid's current help.
- Last Bar: the time of the last bar of the day in the NG file itself. Open the .txt file and look at the end of any day.
- Costs: these aren't in the Contracts List. They're in the
Costssection of the left panel. The natural gas file showsCommission2.5andSlippage15, with both Mode rows set toTrade Per Side. Leave them while you follow the course, and don't set them to zero: costs make the backtest more honest.
Worked example 3: a stock (AAPL with the S&P 500 index)
Trademaid's stock walkthrough builds on Apple, with the S&P 500 index as secondary data:
- In TradeStation or MultiCharts, Trademaid's chart has
AAPL_30(30-minute bars) as Data 1 and the S&P 500 indexSPX.XO_30as Data 2, added withInsert → Instrument. - Both symbols need a row in
Tools → Contracts List. Choose the stock type for AAPL and the index type for SPX in the Type drop-down, and set SF Indicator toCloseLessPrevCloseDBpvfor the index. For AAPL's Ticks, Pnt Val and Digits, check Trademaid's current help. - Export each one as its own file and load them into one data set: AAPL as Data1, SPX as Data2. The steps are on Uploading Data.
- Make sure the session times of the two files match. Trademaid notes that in the chart, session times can be changed under
Instruments → Edit Instruments.
Trademaid has found that for stock systems an index works best as secondary data, because it has been shown to build better systems. In the same walkthrough, the left panel uses Quantity set to CapitalInvestment with 10,000, and a commission of $13.50 per side, because commission matters when the trade size is small.
Session times and time zones
This is where most GSB users get confused, Trademaid says. The rules:
- GSB times are the times in your data file, not the exchange's times. TradeStation and MultiCharts session templates are in exchange time, but the exported data is stamped in your computer's local time (with the chart on local time).
- Use one time zone for every data stream. If you mix them, one stream can look into the future and all your results will be invalid.
- Keep charts on local time in TradeStation and MultiCharts, so two data series can sit on one chart.
Trademaid's example: GSB's supplied data was made on a computer on US Central time. If your computer is on US Eastern time and you export @ES.D with the 8:30 to 15:00 session, the file will run 9:30 to 16:00. Your GSB market-on-close time should then be 1600.
GSB keeps its sessions in Tools → Sessions List. Trademaid's screenshot shows a session named 0830 - 1500 with Monday to Friday rows, Open Time 08:30 and Close Time 15:00. More than one session per day is allowed. The session close is used for end-of-day exits.
Choosing and keeping a session
- Pick the session where the volume and range are. Trademaid's SessionTimeCalcs script (in the GSB scripts ELD) prints the average range and volume for each bar time, so you can see where the activity is.
- Don't end a custom session early (for example 8:30 to 14:59) just to get market-on-close fills sooner. Peter treats the close as the most important price of the day.
- Keep the session the same across all years of your data, and give Data1 and Data2 the same session. If they differ, bars are skipped.
- Defaults in build 75.94 (July 2026): new price files default to a 24/5 session (a 24/7 session can't be replicated in TradeStation), and there are 11 built-in exchange sessions to choose from.
- Living outside the US? Peter, who is in Australia, runs his trading PC on US Central time. Daylight saving changes on different dates in the US and elsewhere, and day-based values such as CloseD(1) can misbehave in some non-US time zones. From Australia a US trading day can also span two local dates, which causes obscure errors; Peter's fix (2022) is a PC clock on US Central time, or charts on exchange time.
- Data2 from another time zone (for example DAX with ES): leave out the roughly two weeks a year when US and European daylight saving don't line up.
Data sets in the Price Data window
You open the Price Data window from the left panel: open Data, click the Opt. Price Data row, then click the three-dots button at the right end of the row. Each data set is a Name on the left, with its files on the right:
- File Path: the price file. The first row is Data1, a second row shows as Data2.
- Mult.: multiplies the bar size. If your file is already 30-minute bars, it's
1. With one-minute data,30makes 30-minute bars. - Session: newer versions show a session here, such as
MOC @ 14:30in Trademaid's crude oil example. - Contract, Time Frame and Bar Type: read from the file name. Check them every time.
Trademaid's names for data sets include ES.30, ES.30 -+- SPX.30, EMD.30-$IDX.X and CL15.30. You can also clone a data set (right-click it, then Clone) and change the multiple, for example turning a 30-minute set into a 29-minute one.
The full click-by-click steps are on Uploading Data.
Using Data2 and more streams
- A build with Data2 can look better while the GA hardly uses the second stream. In one of Peter's tests it appeared in only 2 of 72 indicator slots. Check the data-stream usage in the Automation spreadsheet before you assume Data2 is helping.
- Since 2025 there's an option to allow only systems that use more than one stream.
- From build 67.21 you can force a chosen DataN onto selected indicators and filters.
- With two tradeable markets (for example ES as Data1 and NQ as Data2), the GA may choose which one to trade.
Going further: one-minute data and the multiple
Trademaid recommends exporting one-minute data once and using Mult. to make other bar sizes:
- Export one-minute bars once.
- Set Mult. to the bar size you want, for example 1 minute × 30 = 30-minute bars.
- Build on one bar size. Peter says he'd be hard pressed to ever beat 30-minute bars.
- Verify systems later on clearly different bar sizes, for example 15, 20, 40 and 60 minutes for a 30-minute system. Verification comes in Module 3.
Older guides (2018–19) suggested building on 29, 30 and 31 minutes and verifying on 25 to 35. Peter stopped building on several intervals in 2022, and his 2024 tests found widely different bar sizes a far better check than nearby ones such as 29 or 31 minutes.
- Any Mult. above 1 needs a one-minute source file (build 66.25 and later).
- Data2 and Data3 must be the same bar size as Data1 or a whole multiple of it, never smaller. Otherwise GSB reports "Time-frames inconsistent".
- Bar sizes must fit the session. For an 8:30 to 15:00 session, 390 minutes is one day and 1950 minutes is one week.
Data quality rules
Peter's rules for price files:
- Oldest bar first. Data must run from oldest to newest.
- Leave missing bars missing. Don't fill gaps with zeros and don't delete whole days.
- Back-adjust futures data. With normalised indicators the signals stay the same; only the P&L differs slightly.
- Start when the market became liquid. Peter's rule of thumb is 1 January 2007 for most markets (NQ from 2007; ES from 2001 or 2007). One year of data is far too short.
- Every secondary stream needs the same history as Data1.
- Build on the feed you'll trade. Peter rates Interactive Brokers' historical data as poor. On 30-minute bars, TradeStation versus IQFeed hardly matters, but tick data must match exactly.
- Tick data needs a long history from somewhere. TradeStation only keeps a few months of tick history, which won't give the 100-plus trades a build needs (Peter calls 100 trades dangerously low). Buy tick history from a data vendor, or build on time bars such as 30 minutes. Members who tried non-time bars (Kase, Renko) in 2018 also found them hard to reconcile with TradeStation and MultiCharts.
Video walkthroughs by platform
These Trademaid videos show the same jobs on screen. The written steps for each platform are on Uploading Data.
Adding symbols
Set up a stock symbol in GSB so you can build systems on a stock or a portfolio of stocks, for TradeStation, MultiCharts or NinjaTrader.
Add a futures contract symbol to GSB's Contracts List.
TradeStation
Generate the data in TradeStation, then save and name the file.
In short: open a chart of your market and bar size on local time, click the Save icon at the top left of TradeStation's Data Window, browse to GSB's Price Data folder, type the name in GSB's format, leave Save as type on Text Files and click Save. Full steps
MultiCharts
Trademaid's written help doesn't list the MultiCharts clicks, so lesson 4 sends you here. Follow this video, then save the file into GSB's Price Data folder in GSB's naming format, just as for TradeStation.
Export intraday data from MultiCharts for use in GSB, for stocks, futures, currencies, ETFs or CFDs. Naming and loading steps
NinjaTrader
Export intraday data from NinjaTrader for use in GSB.
In short: after the one-time GSB AddOn setup, open a chart with a Custom range, add the GSB Price Data Exporter indicator without changing its settings, and save the file into GSB's Price Data folder. Full steps
Setting up price data in GSB
Set up several data sets, and use one-minute data as your master file with the multiple to make any intraday bar size.
Price data from different sources is slightly different, even for the same market, time frame and chart type. Those differences can change which trades are taken and at what price. As a general rule, Trademaid says to build GSB systems on data from the platform you intend to trade on.
Next steps
With your symbol checked, export your price file and load it into GSB.
GSB's main tools are its genetic algorithm search, its walk-forward and robustness tests and its export to TradeStation, MultiCharts and NinjaTrader. New to it? See what Genetic System Builder does and how GSB compares with StrategyQuant and Build Alpha.