Skip to main content

The four wizard steps, and where to click to read the results, write them into the workbook, and repeat a run.

Running a calibration

Menu → New calibration, then four steps.

Step 1 · Price series

  1. In the worksheet, highlight the date and price columns, header row included. Hold Ctrl to add columns that are not next to each other.
  2. Press Use selection.
  3. Fill in Series name, Date column, Price column, and Delta column if your sheet has one.
  4. Press Next.

Show in sheet re-highlights the range, Re-select points the series at a new one, Remove drops it.

Step 2 · Explanatory variables

One variable at a time:

  1. Highlight its date column and one value column. Ctrl again if they are apart.
  2. Press Add from selection.
  3. Fill in Name, Dataset, Key, Date column, Value column and Impact on price, then set the switches: Seasonality, Trend, Only positive, NDVI, Monthly analysis, Include weekends.
  4. Repeat for each variable, then press Next.

Variables stack up as a list - click a name to reopen it.

Step 3 · Backtest parameters

The defaults are ready to run. Press Next.

WantClick
Start date, activation, allocation, return typeBacktest
Out-of-sample scoringValidation → Walk-forward cross-validation on, then fill the fields it reveals
Initial capital, contract size, VaR budgetSizing
Correlation horizons, walk-forward policiesAdvanced

Step 4 · Review and run

Enter a Project name (Tag and Description are optional), check What will be submitted, then press Run calibration.

While it runs

The pane follows the engine and the header carries a Running badge. You can close the pane - the run continues, and is picked back up next time you open AlphaGen.

ClickTo
Check nowPoll the engine immediately
View resultsOpen the results, once it has finished
Mark as failedRelease a run you are sure is stuck

Reading the results

Showing, at the top of the results, switches every section below it between Aggregation and a single variable.

Drawdown, High water mark, Yearly breakdown, Statistics and Variable parameters start collapsed - click the title to open one. Walk-forward runs also show Out-of-sample P&L and Recalibration steps.

Writing results into the workbook

WantClick
Every table and chart, on new sheetsWrite to workbook - creates an AG<n> sheet group
One signal column in a sheet of your ownUse this signal, below

Use this signal

  1. Choose the signal with Showing.
  2. Choose the column - select one column on any sheet, then press Use selection.
  3. Write the intensity - press Write intensity. Existing values in the column are replaced.
  4. Keep it up to date - press Create script sheet to refresh it from a macro. See Running from a macro.

Values are written against the dates of the price series. Writing the column once is also what lets History repeat the run.

Repeating a run

Menu → History, then on the row you want:

ClickTo
Repeat runRe-read the same ranges, re-run the calibration, refresh the same column
Open resultsReopen a finished run
Check statusPoll a run still on the engine
Mark failedRelease a run you are sure is stuck
RefreshRe-read the list

Repeat run stays greyed out until you have written an intensity column for that run - hover it to see why. It only works while the pane is open, and not for walk-forward runs. To repeat those, or to repeat with the pane closed, use a macro.

Next