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
- In the worksheet, highlight the date and price columns, header row included. Hold
Ctrlto add columns that are not next to each other. - Press Use selection.
- Fill in Series name, Date column, Price column, and Delta column if your sheet has one.
- 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:
- Highlight its date column and one value column.
Ctrlagain if they are apart. - Press Add from selection.
- 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.
- 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.
| Want | Click |
|---|---|
| Start date, activation, allocation, return type | Backtest |
| Out-of-sample scoring | Validation → Walk-forward cross-validation on, then fill the fields it reveals |
| Initial capital, contract size, VaR budget | Sizing |
| Correlation horizons, walk-forward policies | Advanced |
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.
| Click | To |
|---|---|
| Check now | Poll the engine immediately |
| View results | Open the results, once it has finished |
| Mark as failed | Release 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
| Want | Click |
|---|---|
| Every table and chart, on new sheets | Write to workbook - creates an AG<n> sheet group |
| One signal column in a sheet of your own | Use this signal, below |
Use this signal
- Choose the signal with Showing.
- Choose the column - select one column on any sheet, then press Use selection.
- Write the intensity - press Write intensity. Existing values in the column are replaced.
- 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:
| Click | To |
|---|---|
| Repeat run | Re-read the same ranges, re-run the calibration, refresh the same column |
| Open results | Reopen a finished run |
| Check status | Poll a run still on the engine |
| Mark failed | Release a run you are sure is stuck |
| Refresh | Re-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
Was this article helpful?