Skip to main content

Run a full calibration and prediction from the webapp with alphagen-3, using the bundled sample dataset (TTF futures + IFS weather forecast).

Your first calibration

This page walks you through the exact UI steps to calibrate an alphagen-3 model on a real example (TTF gas futures driven by German weather variables), then to run a prediction on top of it. No code, no notebook — everything happens in the webapp.

alphagen-3 is the model selected by default, and the one every plan can run. This guide covers the standard calibration path; the wizard's Advanced section (walkforward validation) is deliberately left untouched here and documented separately.

Team & seat prerequisites

The project you create and every calibration/prediction you launch live inside the team currently active in the top-right team switcher.

  • You need a builder or manager seat in that team to create projects, calibrations and predictions. The + New buttons appear disabled with a 403 seat message otherwise.
  • Every row you create records who launched it (Created by (email) column — hidden by default, toggle it from the column-visibility menu of any calibration/prediction table).
  • If you belong to several teams, switch to the right one before clicking + New project — a project name is unique per team, not globally.

Download the sample data

Two Excel files. Save them anywhere on your machine.

TTF futures prices — ttf.xlsxttf.xlsx

German IFS 1-day-ahead weather forecast — forecast_ifs_allemagne_step_24.xlsxforecast_ifs_allemagne_step_24.xlsx

FileColumns used
ttf.xlsxdate, nearby (price), px_delta (price change)
forecast_ifs_allemagne_step_24.xlsxDate, Temperature (Celcius), Wind speed (m/s), Precipitation rate (mm/h)

You'll load ttf.xlsx as the price, then pull three explanatory variables out of the IFS file: temperature, wind speed and precipitation rate.

1. Create a project

A project is a container for related calibrations and predictions (e.g. "EU power", "Brent crude", "TTF").

  1. Open My projects (/dashboard).
  2. Click + New project (top-right).
  3. Give it a name — for this walkthrough, use DEMO_PROJECT. Add a one-line description if you want.
  4. Click Create.

The new project appears in the table. Click its name to enter it.

2. Launch the calibration wizard

On the project page, click + New calibration (top-right). The wizard opens with five steps. The progress bar at the top lets you jump back to any step you've already passed.

The Model card just above the progress bar lets you pick the algorithm. It already reads AlphaGen v3 — leave it there.

The picker only lists models your team is entitled to, so what you see depends on your plan and subscriptions:

ModelWho can run it
alphagen-3Every plan. The default, and the subject of this guide.
impromai-modelsTeams with the matching product subscription. Its wizard starts with a Product step instead of a price upload.
alphagen-2AlphaGen administrators only.
alphagen-1Retired — no plan carries it. Existing calibrations still open and display normally; new ones cannot be created.

Step 1 — Price data

  1. Drag-and-drop ttf.xlsx on the upload zone (or click to pick).
  2. The wizard previews the file and auto-fills the column mapping. If it doesn't, set them yourself:
    • Date → date
    • Value → nearby
    • Delta (optional) → px_delta
  3. You should see a green confirmation: ✓ N points recognized as a valid time series.

Click Next →.

Step 2 — Explanatory variables

This is where the IFS weather file becomes three separate variables.

  1. Drag-and-drop forecast_ifs_allemagne_step_24.xlsx on the upload zone. The wizard creates one variable per file by default, so you start with a single entry.

  2. Configure that first entry:

    • Variable name → Temperature
    • Dataset → dataset_1
    • Technical key → temperature
    • Date column → Date
    • Value column → Temperature (Celcius)

    The card shows the Final identifier dataset_1.temperature — this is the handle the model uses internally.

  3. Drop the same file again on the upload zone twice more to create two additional entries, and map them as follows:

    Variable nameDatasetTechnical keyValue column
    Wind Speeddataset_2wind_speedWind speed (m/s)
    Precipitation Ratedataset_2precip_ratePrecipitation rate (mm/h)

    The Date column is Date for both.

You should end up with three variables grouped into two datasets:

dataset_1
  └─ dataset_1.temperature
dataset_2
  ├─ dataset_2.wind_speed
  └─ dataset_2.precip_rate

Click Next →.

Step 3 — Series editing

The wizard plots each series, highlights gaps and outliers, and lets you edit cells in place if you want to clean the data. For this walkthrough you can leave everything as-is and just click Next →.

If you do want to try the editor: open one of the variable cards, use the toolbar to fill missing values (forward-fill, linear interpolation), clip outliers, or edit individual rows in the inline table.

Step 4 — Parameters

Two layers of parameters. Sensible defaults are pre-filled — for this walkthrough the only thing worth tuning is the Expected impact direction on each variable.

Backtest parameters (shared by all variables)

These parameters drive the simulator that turns the model's signal into a NAV curve. Defaults are tuned for daily commodity-futures backtests on a single instrument — you can change them, but the values below work out of the box for the demo data.

FieldDefaultWhat it controls
Backtest start date2023-01-01The signal is still fitted on the whole price history (everything before this date acts as the training window). PnL accounting and the statistics in the dashboard only start counting from this date onwards.
Initial capital10,000,000Starting NAV of the simulated portfolio, in the same currency unit as the price series.
Contract size1Futures-contract multiplier (USD/€ per point). The position size in the backtest is number_of_contracts × contract_size × price. Set to your instrument's official contract size (e.g. 1000 for a TTF lot).
Max Value-at-Risk10,000Daily VaR budget (in NAV currency, 95% confidence, computed from a 75-day EWMA of log-returns). The Target VaR allocator sizes each day's position so the resulting one-day VaR is bounded by this number — it caps potential daily loss, not the cumulative drawdown.
Signal activation modelSignThe model first centres the intensity (0–100) into a signal in [-1, +1], then applies one of three activation functions: Sign → snaps to {-1, 0, +1} (binary full-short / flat / full-long); Linear → identity, signal stays proportional; Tanh → soft saturation near ±1, less binary than sign but bounded.
Activation slope1.0Only read when the activation is Tanh — it is ignored for Sign and Linear. Steepness of the S-curve, using the normalised form tanh(k·x) / tanh(k) so the endpoints always land exactly on ±1. k → 0 behaves like Linear, k = 1 is a soft curve, large k approaches Sign.
Allocation schemeTarget VaRHow position size is set day-by-day. Four schemes are exposed (a small (i) next to the label opens a recap inside the wizard): Target VaR (volatility targeting — sizes positions so the daily VaR matches the cap above), Fully invested (NAV-proportional sizing, compounds gains and losses), Fixed notional (constant number of contracts, never adjusted). Kelly fractional is reserved and disabled in the picker. Keep Target VaR for this demo — it gives the most readable backtest.
Return typeAbsolute deltaHow returns are expressed when computing PnL. Keep Absolute delta (px_delta): it uses the price change column directly and is the most numerically stable choice for futures. See the warning below before touching this field.
PnL from returnONWhen ON (default), the backtester consumes the delta column built by the wizard from your price file. When OFF, it ignores your delta and recomputes a percentage-change return internally from the price column. Keep ON.

For TTF gas with the demo data, leave every backtest parameter at its default.

Per-variable parameters

Each variable card has its own toggles. For our three weather variables, use:

VariableSeasonalityTrendPositive onlyNDVIImpact
temperatureONOFFOFFOFFNegative
wind_speedONOFFONOFFNegative
precip_rateONOFFONOFFNegative

A quick reminder of what each toggle actually does:

ToggleWhat it does
Monthly analysisWhen ON, the variable is fit once per calendar month (twelve independent sub-models) instead of a single annual fit. Use it when the variable's relationship to price changes from month to month (e.g. heating-degree-days). For daily weather over a single regime, leave OFF.
Include weekendsWhen OFF, weekends are dropped from the variable's series before analysis. When ON (default), Saturdays and Sundays are kept. For weather data — which has values every day — keep ON.
SeasonalityWhen ON, a monthly seasonal pattern is extracted from the variable and removed before the analysis, so the model studies the residual (de-seasonalised) component. ON for any variable with an obvious yearly cycle — temperature, wind, precipitation all qualify.
TrendWhen ON, an expanding linear trend is fitted on the variable's full raw history and subtracted before the analysis, so the model studies the detrended residual. The fit is expanding — at each date it only uses data up to that date, never the future. Useful for variables that drift over years (e.g. climate anomalies, stock levels). For short windows of raw weather data, leave OFF.
Positive values onlyDeclares whether the variable can take negative values. wind_speed and precip_rate are physically non-negative → ON. temperature (in Celsius) can dip below zero → OFF. This is a hint about the variable's nature, not a constraint on the model's output.
NDVISpecial handling reserved for satellite vegetation indexes (Normalized Difference Vegetation Index). OFF for any other variable.
Expected impactDirection of the relationship between the variable and the price. Positive → when the variable rises, the price rises. Negative → when the variable rises, the price falls. For TTF, mild / windy / rainy weather depresses gas demand → price down, so Negative for all three.

Advanced — not used here

Below the per-variable cards, alphagen-3 exposes a collapsed Advanced section holding the walkforward mode: instead of one fit over the whole history, the model is refitted on a rolling window and reports out-of-sample metrics per step.

It changes what the results mean and adds its own widgets, so this guide leaves it collapsed. Everything below assumes the standard single-fit path.

Click Next →.

Step 5 — Review and launch

The review screen recaps the full configuration. Two fields at the bottom are worth filling in:

  • Tag → short identifier shown in the calibrations table and breadcrumbs. Example: ttf_weather_baseline_v1.
  • Description → free text. Useful for "why this run differs from the previous one".

Click Start calibration. The wizard closes and you land on the calibration's page. A banner shows Running… at the top.

3. Wait for completion

Calibrations run in the background. On this dataset expect well under a minute. While it's running:

  • The same page polls the backend and refreshes automatically — no need to reload. A progress indicator reports the phase the worker is in (preparing, fitting each variable, aggregating, writing results).
  • The Jobs entry in the left sidebar shows every active calibration and prediction across all your projects, with their elapsed time.
  • An email is sent to your account address when the job finishes (or fails).

When it's done the page swaps the Running… banner for the results dashboard. A red Failed badge appears instead if the backend rejected the run — open the linked job page for the error message.

4. View the calibration results

The results page opens on a summary — the verdict at a glance — followed by a customizable dashboard of visualizations.

The summary

  • Latest signal — the last value of the aggregated signal (0–100) on a gauge, with the date it refers to and its state: ▲ Bullish above 67, ▼ Bearish below 33, ◆ Neutral in between (both thresholds included). The tilt underneath says which way the position leans: long above 50, short below.
  • Sharpe ratio, annual return, max drawdown, hit ratio of the aggregated backtest. The max drawdown comes with the date of its trough (ongoing while the NAV is still below its previous peak), the annual return with its volatility, the hit ratio with the profit factor.
  • Strategy P&L — a sparkline of the cumulative P&L against the benchmark, with the max-drawdown trough marked. On a walkforward run the in-sample period is shaded, a dashed line marks the cutoff, and the out-of-sample P&L and Sharpe ratio sit next to the full-period figures.
  • What drives the signal — the variables with the largest weights, their share of the aggregate and each one's own latest signal.

The dashboard

Below the summary, a grid of panels you can move, resize, add or remove. The default view reads top to bottom like a tear sheet:

  1. Key metrics — the backtest statistics on one strip: Sharpe, annual return, max drawdown, hit ratio, profit factor, volatility, Ulcer index and abs. exposure rate.
  2. Price & signal — the price with the model's long and short periods shaded, and the signal underneath on the same time axis.
  3. NAV vs Benchmark, next to the latest signal gauge.
  4. Drawdown — the underwater curve, its deepest point labelled with depth and date.
  5. Yearly P&L (strategy vs underlying, one pair of bars per calendar year), next to the monthly heatmap.
  6. Rolling Sharpe, next to the return distribution.

On a walkforward run the walkforward views come first (see below).

Read and zoom the charts

  • Every time chart has a readout row above the plot: the values on the last date, or on the date you point at (tap on a phone). Click a series name in the readout to hide or show it.
  • The time charts of the dashboard move together: pointing at one shows the same date in all of them, and zooming one zooms them all.
  • The range buttons above the grid — 1M · 3M · 6M · YTD · 1Y · 3Y · 5Y · All — set the window of every time chart at once, always ending on the last date. On a desktop you can also drag across a chart to zoom on a period; Reset (next to the range buttons), a double-click or Esc brings the full history back.
  • In cumulative mode, P&L curves restart at 0 on the left edge of the window, so they show the P&L earned inside it; drawdowns stay measured from the all-time peak.

What the newer views show

  • Signal quality — how the price moved after each signal state (Bearish, Neutral, Bullish) and each quintile of the signal: mean move and hit ratio, plus the rank correlation (IC) between the signal and the move it trades.
  • Drawdown episodes — the five worst drawdowns: depth, peak, trough, recovery date (or ongoing), duration.
  • Rolling Sharpe — the Sharpe ratio over a moving window (126 trading days by default; 63 or 252 in its settings) with its full-period mean.
  • Return distribution — histogram of the daily P&L, coloured by sign, with the 95% VaR and CVaR marked.
  • Walkforward (alphagen-3 walkforward runs only) — in-sample vs out-of-sample key metrics side by side, the cumulated P&L with the in-sample period shaded and the cutoff marked, the P&L of each fold, the stability of the variable weights from fold to fold, and the steps table.

Customize the dashboard

  • Move and resize — drag a panel by its title bar, resize it from its bottom-right corner. The layout is saved automatically for this calibration; there is no edit mode to enter or save.

  • + Add visualization — opens the catalogue of every visualization the model exposes, grouped by category, with a search box (type a few words, e.g. drawdown var; Enter adds the first match):

    CategoryWhat's inside
    MetricsThe key-metrics strip, the latest-signal gauge (aggregated and per variable), and one tile per statistic (Sharpe, Hit Ratio, Max Drawdown, Annualized Return, Final NAV, Profit Factor, Volatility, Ulcer Index).
    ChartsPrice & signal, the aggregated signal, NAV vs Benchmark, Drawdown, High Water Mark, Rolling Sharpe, Return distribution, Signal quality, Monthly heatmap (with a metric picker and a Year column computed on the whole year), Yearly heatmap (variables × years), the signal histogram, yearly Sharpe / P&L / Return-on-VaR bars, the variable weights — plus per-variable versions of the signal, NAV, Drawdown, HWM, histogram and yearly Sharpe.
    DataSortable / filterable tables: statistics, yearly statistics, drawdown episodes, the complete backtest, raw signal points — at the aggregated level and per variable.
    NotesA card recapping the per-variable parameters that produced this run.

    Visualizations that need data this run doesn't have — the walkforward views on a standard calibration — are listed apart under Not available for this run and can't be added. That is expected, not a failure.

  • Panel buttons — the pencil swaps a panel for another visualization in the same slot, the cog opens its settings (cumulative mode, moving average, rolling window, heatmap metric…), the × removes it.

  • Reset layout — back to the default view: default visualizations, layout and settings, full time range.

  • Templates — once you've arranged a dashboard you like, save it as a template. Mark it as the default and every calibration you open for the first time starts from it (minus any visualization that run has no data for).

Export

The Excel button in the dashboard toolbar downloads the entire results (all tables: backtest, intensities, statistics, yearly stats) as a multi-sheet .xlsx.

Read the headline numbers

The summary and the top of the default view answer the two questions you'll have first:

  • Did the signal capture anything? Look at Price & signal: the signal should swing between Bullish and Bearish with visible regimes, not stay flat around 50, and the shaded long / short periods should line up with the price's moves. Signal quality puts a number on it.
  • Did it make money on the backtest? Look at NAV vs Benchmark: the strategy (blue) above the benchmark (grey) means it beat buy-and-hold over the backtest window. The summary's Sharpe ratio and max drawdown give the one-glance assessment; Drawdown and Drawdown episodes show how deep and how long the losing stretches were.

5. Run a prediction from this calibration

Once the calibration is done, the calibration page shows a + New prediction button. Click it.

The prediction wizard is shorter (four steps, no Parameters step): the model and its per-variable parameters are inherited from the parent calibration. You only provide fresh data.

  1. Price data — load ttf.xlsx again (same column mapping as before). In practice you'd load a more recent file here.
  2. Variables — the wizard pre-creates one slot per variable with the correct dataset and technical key locked in (you cannot rename them — the backend matches on these exact identifiers). For each slot, upload forecast_ifs_allemagne_step_24.xlsx and re-map the columns:
    • temperature slot → date Date, value Temperature (Celcius)
    • wind_speed slot → date Date, value Wind speed (m/s)
    • precip_rate slot → date Date, value Precipitation rate (mm/h)
  3. Series editing — leave as-is.
  4. Review — pick a Tag (e.g. ttf_weather_pred_2026q1), then Start prediction.

Predictions are faster than calibrations — the model is not refitted, only scored on the new data.

6. View the prediction results

The prediction page opens on its own summary: the latest signal on the gauge with the date it refers to, its change since the previous observation, how long it has held its current state, the recent signal path with its share of Bullish / Neutral / Bearish observations, the Sharpe ratio and max drawdown of the backtest on the prediction's data, and the variables that drive the signal with their own latest reading. Below it sits the same customizable dashboard as on the calibration page, pre-set to show the prediction's signals. Two ways to find it again later:

  • From the calibration page, the Linked predictions table at the bottom lists every prediction made from that calibration. Click a row to open it.
  • From the project page, the Calibrations table → click the calibration → its predictions appear in the side panel.

The same Excel button downloads the prediction's tables as .xlsx.

Where to go next

  • The API quickstart reproduces this exact flow with Python, using the bundled tutorial notebook — same model, same dataset, same parameters.
  • The Jobs page in the left sidebar lists every running calibration and prediction across all your projects — handy when you have several runs going at once.