DocsGuidesRebalance a basket index

Rebalance a basket index

Append a new date of holdings to the file a live index reads, and check it took.

A live basket index holds whatever its dataset says it holds. To rebalance it you do not touch the index at all: you add rows with a new date to that file, and the index picks them up at that date's close. No rebuild, no new index id, no code.

This page assumes you already have a live index built from a file, as in Build a basket index. Five minutes.

Step 1 — Prepare the new rows

Same three columns as the original file — date, symbol, weight — but only the new rebalance: one date, and every holding you want from that date on.

rebalance_2026-10-01.csv
date,symbol,weight
2026-10-01,AAPL.US,0.40
2026-10-01,MSFT.US,0.30
2026-10-01,NVDA.US,0.30
RuleWhy
Only the new rowsAppending stacks your file on top of what is already there. Re-including old dates doubles their weights.
The whole basket for that dateEach date is a complete statement of what the index holds. A name missing from the new date is sold.
Date it today or a future trading dayThe index rebalances at that day's close. A date on or before the last rebalance is never used.
Weights add up to 1They are used exactly as written — a total of 0.9 leaves 10% uninvested.
Header row, YYYY-MM-DD, venue-suffixed symbolsSame format rules as the original file — see Build a basket index.

Step 2 — Open the dataset

  1. 1

    Go to Datasets

    In the left-hand rail. The Used by column names the indices each file feeds — find the one your index reads.

  2. 2

    Click its row

    The dataset opens in a dialog showing its current rows.

Or from the index

On the index's Track page, uploading weights for a day names the dataset the index rebalances from and asks what to do with them: Use the dataset adds them to it, the same as this guide does, while Ad-hoc override changes that one rebalance of this index only, and leaves the file as it is.

Step 3 — Upload and append

  1. 1

    Add the file

    Click Add data or drop the CSV anywhere in the dialog.

  2. 2

    Keep append selected

    Two chips appear next to the file name: append and replace. Append is the default and is what a rebalance is. Replace throws away the whole history and keeps only your new file — use it only when the existing data is wrong.

  3. 3

    Read the table

    The rows are shown with what the upload does to each: your new rows marked added, the existing ones stays. A row marked duplicate is already in the file. A cell with a wavy underline has a problem — hover it to see what.

  4. 4

    Click Append rows

    The notification confirms it and says when the index rebalances: Data appended in my_basket. Rebalances My Index on 2026-10-01. If it says Nothing scheduled, your dates are all in the past.

Problems do not stop the upload

Checks are advisory: a red issue only asks you to press Append rows a second time. An unmatched ticker that you save anyway is a holding the index will silently not have.

Step 4 — Check it happened

The index rebalances at the market close of the date you gave, or straight away if that close has already passed. On the index's Track page the new rebalance appears on the chart at that date: select it to see what it traded. The table button at the top right of the page has every stored snapshot, and the run itself under Executions.

Wrong file? Undo it

Open the dataset again and click Undo last append. It restores the previous data and re-schedules the index from that — one step back, previewed in the same table before anything is written.

When something looks wrong

What you seeWhat it usually is
Nothing scheduled after the uploadThe date is in the past. Add rows dated today or later.
Fewer holdings than rows you addedSymbols that matched nothing. Look for the underlined cells before you save, or check the file against Symbols & identifiers.
Old names still held after the uploadThe rebalance runs at the close of the date you gave, not on upload. Wait for the close, then check its run under Executions (the table button on the Track page).
Weights roughly doubledOld dates were re-uploaded with append. Undo, then upload only the new rows.

Where to go next