Read this once before building on Vanda data. Each section explains one idea that applies across the APIs, the AI assistant connector and Snowflake.
| Product | What it measures | APIs | Also available through |
|---|---|---|---|
| VandaTrack | Retail buying and selling in US-listed securities | Series (single securities), Aggregates (sectors, industries, indices, baskets) | Platform, AI assistants, Snowflake |
| VandaXasset | Investor positioning and flows across equities, rates, FX and commodities | Positioning, Flow | Platform, AI assistants, Snowflake, AWS S3, Excel |
| VandaMacro | Macroeconomic series and Vanda's macro models, across countries and asset classes | Macro | Platform |
| VandaInsights | Vanda's published research | None | Platform, AI assistants |
VandaXasset flow is not the same as VandaTrack retail flow. VandaXasset covers investor types per market (foreign investors, dealers, futures positioning, short interest, CTA exposure). VandaTrack covers retail turnover in single stocks, sectors, indices and baskets.
Every dataset is a set of series, each with its own history. Find series in each API's catalog (/positioning/catalog, /flow/catalog, /macro/catalog) rather than building identifiers by hand.
| Positioning | Flow | Macro | |
|---|---|---|---|
| Preferred | series_label, in the form dataset_id:entity:metric | slug, from the catalog entry. Store this one | series_id, from the catalog entry. Store this one |
| Also accepted | A legacy label such as USEQCOMB, the entity or series_id | A label such as JPEQSTCKFORINSMIXMIX, the entity or series_id | None |
Avoid storing the numeric series_id on Flow: it changes when the pipeline reloads. On Macro it is stable and is the only identifier; send it as a string, since the values are too large for JavaScript numbers.
A label can cover several series, for example one per metric or per model version. Narrow the request with metrics (Flow) or version (Positioning), or use the exact slug or series_label. On Macro each series_id is already one series.
Labels are built from short codes in a fixed order, starting with country and asset class. MIX means "all" for that position.
| Label | Reads as |
|---|---|
USEQCOMB | US equity, combined positioning |
USFICOMB-10YR | US Treasury 10-year, combined positioning |
JPEQSTCKFORINSMIXMIX | Japan · equity · stocks · foreign · institutional (MIX = all) |
The catalog tour notebook walks through the full grammar.
A combined positioning score measures how stretched investor positioning is in one market. It blends several positioning measures (for example short interest, systematic fund exposure and foreign holdings), converts each to a z-score against its own full history and weights them by estimated investor volumes.
The result is in standard deviations (σ) from that market's own history, so readings compare across markets:
| Score | Signal | Reads as |
|---|---|---|
| +1.5σ or above | crowded_long | Positioning is unusually long |
| between −1.5σ and +1.5σ | neutral | Within the normal range |
| −1.5σ or below | crowded_short | Positioning is unusually short or underweight |
A high score says positioning is crowded, not that an asset is attractive. Crowded trades can be vulnerable to reversal, and crowded shorts can see short-covering.
Positioning and Macro can be read two ways, set with revision:
restated(the default): values after later revisions. Best for analysis of the history as it is now understood.point_in_time: each value as it was known on the date. Use this for backtests, so a signal never uses information that was not yet available.
The two differ on most series and can flip the crowding signal on some, so always record which one you used.
Positioning and Macro series are versioned (V1, V2, …). Omit version to get the latest, or pass it to pin a model so your results stay stable when a new version ships.
- Cadence varies by series. Most positioning is daily, but some series are weekly, fortnightly or monthly. A one-month window can return about 20 points for one series and 1 for another. Nothing is gap-filled or resampled, so read the timestamps rather than assuming a frequency.
- Data publishes with a lag. Each catalog entry gives its publication lag and expected update time. CFTC-based series, for example, are weekly and several weeks behind.
- Some series have stopped publishing. Flow returns
staleness_dayswith each latest value andis_activein the catalog. On Macro, checklast_tsfrom/macro/availability. Check them before treating a value as current. - Some macro series include forecasts. Future-dated rows are kept, so the newest row can be later than today.
Flow values come in different units, such as USD millions, shares, contracts, index points and percentages. Each data point carries its own unit, metric and frequency.
Each flow series also has a measure_class:
flow: a quantity per period, such as net buying. It can be summed over time; chart it as bars.level: a position at a point in time, such as outstanding exposure. Do not sum it; chart it as a line.
Never add, net, average or rank values with different units together.
The Positioning, Flow and Macro timeseries endpoints can transform a series for you:
| Parameter | Values | Notes |
|---|---|---|
transformation | rolling_sum, moving_avg | Needs window |
window | Set values from 2 to 252, such as 5, 20, 60 and 252 | Counted in observations, not days: 20 is 20 weeks on a weekly series, 12 is a year on a monthly one |
normalisation | zscore, percentile_rank (Positioning also accepts none) | Percentile rank is a fraction from 0 to 1 |
normalisation_period | 3m, 6m, 1y, 2y, 5y, Expanding, All | The lookback the normalisation uses |
- Results are computed over the series' full history and returned under
transformation.results.data.datastill holds the raw values. - Transformations and normalisation apply to one series per request. A multi-series request returns raw values and says why under
transformation. - Positioning normalises by default (
zscoreoverAll). Passnormalisation=nonefor the raw stored values. - Flow and Macro normalisation is opt-in, and
normalisationandnormalisation_periodmust be sent together. - Macro also offers
invert(negate every value),sum(add several series into one, date by date) andcumulative_compounded(a running total of value × 100). They change the rows themselves and cannot be combined withtransformationornormalisation. - A score over
Alluses the whole history, including data after each point. For "was this extreme at the time", use a fixed lookback such as1y.
Some Flow series publish model forecasts as a cube: for each run date, every combination of a horizon and a scenario.
- Horizon: market days ahead of the run date (the run date is horizon 0). The cube currently spans 0 to 15.
- Component: the systematic strategy the forecast belongs to (
cta,vt,rporgamma). Each publishes its own metrics. - Scenario: a branch of the cube. CTA,
rpandvtbranch on a z-score (Allis the unconditional path);gammabranches on a return.
Call /flow/forecast/runs first to see the run dates, horizons and scenarios a series publishes, then /flow/forecast to read them. Pair run_date with horizon to place a point in time; there is no separate forecast date. Forecasts are projections, not observations: keep them apart from observed history.
- Timeseries and catalog responses are paged. Set
records_per_page(up to your tier's limit) andpage_number, and readpagination.has_nextto know when to stop. - For a full history in one file, use the Positioning and Flow
/timeseries/exportendpoints: CSV or JSON, optionally gzip or zip compressed. Macro has no export endpoint; page through/macro/timeseries. - Use
/availabilityto see the first and last observation of each series before you request it.