{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Key concepts","description":"How Vanda data is organised and how to read it correctly - products, identifiers, combined positioning and crowding, revisions, model versions, cadence, units, transformations, forecasts and paging.","llmstxt":{"title":"Vanda API documentation","description":"Data on investor positioning, capital flows, retail activity and macroeconomics across global markets, available through a REST API, the vanda-api Python SDK, an MCP connector for AI assistants and Snowflake Marketplace.","details":{"content":"- Base URL: https://api.vanda-analytics.com. Authenticate with an API key in the `x-api-key` header, or a bearer token from POST /auth/basic.\n- Python SDK: `pip install vanda-api`, then `VandaClient()` reads VANDA_SDK_KEY (or VANDA_LOGIN_EMAIL and VANDA_PASSWORD) from the environment.\n- Find series through each API's /catalog endpoint first. Use series_label for Positioning, slug for Flow and series_id for Macro.\n- Positioning values are z-scores against each series' own history; crowded_long at +1.5 sigma or above, crowded_short at -1.5 sigma or below.\n- Flow units differ between series; read `unit` on every value and never combine different units.\n- Normalisation and transformations apply to one series per request.\n"},"sections":[{"title":"Get started","description":"Products, quickstart, authentication and the concepts needed to read the data correctly.","includeFiles":["guides/index.md","guides/quickstart.md","guides/authentication.md","guides/concepts.md","guides/ai.md"]},{"title":"API reference","description":"Every endpoint, parameter and response field of the public Vanda APIs.","includeFiles":["apis/positioning/vanda-msvc-positioning.json","apis/flow/vanda-msvc-flow.json","apis/macro/vanda-msvc-macro.json","apis/series/vanda-msvc-series.json","apis/aggregates/vanda-msvc-aggregates.json","apis/auth/vanda-msvc-auth.json"]},{"title":"AI assistants (Vanda MCP)","description":"Connect Claude, ChatGPT or another assistant to Vanda data and research.","includeFiles":["ai-assistants/index.md","ai-assistants/vandatrack.md","ai-assistants/vandaxasset.md","ai-assistants/vandainsights.md","ai-assistants/vandamacro.md"]},{"title":"Snowflake","description":"Vanda datasets on Snowflake Marketplace, with views, metrics and example SQL.","includeFiles":["snowflake/index.md","snowflake/us-equities-daily.md","snowflake/us-equities-intraday.md","snowflake/vandaxasset.md"]},{"title":"About","includeFiles":["release-notes.md","policy-of-independence.md"]}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"key-concepts","__idx":0},"children":["Key concepts"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Read this once before building on Vanda data. Each section explains one idea that applies across the APIs, the AI assistant connector and Snowflake."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"products-and-apis","__idx":1},"children":["Products and APIs"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Product"},"children":["Product"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What it measures"},"children":["What it measures"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"APIs"},"children":["APIs"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Also available through"},"children":["Also available through"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["VandaTrack"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Retail buying and selling in US-listed securities"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/series/vanda-msvc-series"},"children":["Series"]}," (single securities), ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/aggregates/vanda-msvc-aggregates"},"children":["Aggregates"]}," (sectors, industries, indices, baskets)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Platform, ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ai-assistants/vandatrack"},"children":["AI assistants"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/snowflake"},"children":["Snowflake"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["VandaXasset"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Investor positioning and flows across equities, rates, FX and commodities"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/positioning/vanda-msvc-positioning"},"children":["Positioning"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/flow/vanda-msvc-flow"},"children":["Flow"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Platform, ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ai-assistants/vandaxasset"},"children":["AI assistants"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/snowflake/vandaxasset"},"children":["Snowflake"]},", AWS S3, Excel"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["VandaMacro"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Macroeconomic series and Vanda's macro models, across countries and asset classes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/macro/vanda-msvc-macro"},"children":["Macro"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Platform"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["VandaInsights"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Vanda's published research"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["None"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Platform, ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ai-assistants/vandainsights"},"children":["AI assistants"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["VandaXasset ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["flow"]}," is not the same as VandaTrack ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"series-and-identifiers","__idx":2},"children":["Series and identifiers"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Every dataset is a set of ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["series"]},", each with its own history. Find series in each API's catalog (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/positioning/catalog"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/flow/catalog"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/macro/catalog"]},") rather than building identifiers by hand."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Positioning"},"children":["Positioning"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Flow"},"children":["Flow"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Macro"},"children":["Macro"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Preferred"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["series_label"]},", in the form ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dataset_id:entity:metric"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["slug"]},", from the catalog entry. Store this one"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["series_id"]},", from the catalog entry. Store this one"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Also accepted"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A legacy label such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["USEQCOMB"]},", the entity or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["series_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A label such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["JPEQSTCKFORINSMIXMIX"]},", the entity or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["series_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["None"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Avoid storing the numeric ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A label can cover several series, for example one per metric or per model version. Narrow the request with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["metrics"]}," (Flow) or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["version"]}," (Positioning), or use the exact slug or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["series_label"]},". On Macro each ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["series_id"]}," is already one series."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"reading-a-label","__idx":3},"children":["Reading a label"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Labels are built from short codes in a fixed order, starting with country and asset class. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["MIX"]}," means \"all\" for that position."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Label"},"children":["Label"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Reads as"},"children":["Reads as"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["USEQCOMB"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["US equity, combined positioning"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["USFICOMB-10YR"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["US Treasury 10-year, combined positioning"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["JPEQSTCKFORINSMIXMIX"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Japan · equity · stocks · foreign · institutional (MIX = all)"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/Vanda-Analytics/VandaXasset-QuantKit/blob/main/Notebooks/02%20-%20Catalogue%20Tour%20%26%20Series%20Taxonomy.ipynb"},"children":["catalog tour notebook"]}," walks through the full grammar."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"combined-positioning-and-crowding","__idx":4},"children":["Combined positioning and crowding"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The result is in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["standard deviations (σ) from that market's own history"]},", so readings compare across markets:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Score"},"children":["Score"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Signal"},"children":["Signal"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Reads as"},"children":["Reads as"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["+1.5σ or above"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["crowded_long"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Positioning is unusually long"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["between −1.5σ and +1.5σ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["neutral"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Within the normal range"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["−1.5σ or below"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["crowded_short"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Positioning is unusually short or underweight"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"restated-and-point-in-time-values","__idx":5},"children":["Restated and point-in-time values"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Positioning and Macro can be read two ways, set with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["revision"]},":"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["restated"]}]}," (the default): values after later revisions. Best for analysis of the history as it is now understood."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["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."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The two differ on most series and can flip the crowding signal on some, so always record which one you used."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"model-versions","__idx":6},"children":["Model versions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Positioning and Macro series are versioned (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["V1"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["V2"]},", …). Omit ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["version"]}," to get the latest, or pass it to pin a model so your results stay stable when a new version ships."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"cadence-lag-and-staleness","__idx":7},"children":["Cadence, lag and staleness"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Some series have stopped publishing."]}," Flow returns ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["staleness_days"]}," with each latest value and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["is_active"]}," in the catalog. On Macro, check ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["last_ts"]}," from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/macro/availability"]},". Check them before treating a value as current."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Some macro series include forecasts."]}," Future-dated rows are kept, so the newest row can be later than today."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"units-and-measure-class","__idx":8},"children":["Units and measure class"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Flow values come in different units, such as USD millions, shares, contracts, index points and percentages. Each data point carries its own ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["unit"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["metric"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["frequency"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each flow series also has a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["measure_class"]},":"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flow"]}]},": a quantity per period, such as net buying. It can be summed over time; chart it as bars."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["level"]}]},": a position at a point in time, such as outstanding exposure. Do not sum it; chart it as a line."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Never add, net, average or rank values with different units together."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"transformations-and-normalisation","__idx":9},"children":["Transformations and normalisation"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Positioning, Flow and Macro timeseries endpoints can transform a series for you:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Values"},"children":["Values"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Notes"},"children":["Notes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transformation"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rolling_sum"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["moving_avg"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Needs ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["window"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["window"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Set values from 2 to 252, such as 5, 20, 60 and 252"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Counted in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["observations"]},", not days: 20 is 20 weeks on a weekly series, 12 is a year on a monthly one"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["normalisation"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["zscore"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["percentile_rank"]}," (Positioning also accepts ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["none"]},")"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Percentile rank is a fraction from 0 to 1"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["normalisation_period"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["3m"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["6m"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1y"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2y"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["5y"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Expanding"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["All"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The lookback the normalisation uses"]}]}]}]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Results are computed over the series' ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["full history"]}," and returned under ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transformation.results.data"]},". ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data"]}," still holds the raw values."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Transformations and normalisation apply to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["one series per request"]},". A multi-series request returns raw values and says why under ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transformation"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Positioning normalises by default"]}," (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["zscore"]}," over ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["All"]},"). Pass ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["normalisation=none"]}," for the raw stored values."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Flow and Macro normalisation is opt-in"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["normalisation"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["normalisation_period"]}," must be sent together."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Macro also offers ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invert"]}]}," (negate every value), ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sum"]}]}," (add several series into one, date by date) and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cumulative_compounded"]}]}," (a running total of value × 100). They change the rows themselves and cannot be combined with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transformation"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["normalisation"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A score over ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["All"]}," uses the whole history, including data after each point. For \"was this extreme at the time\", use a fixed lookback such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1y"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"forecasts","__idx":10},"children":["Forecasts"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Some Flow series publish model forecasts as a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["cube"]},": for each run date, every combination of a horizon and a scenario."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Horizon:"]}," market days ahead of the run date (the run date is horizon 0). The cube currently spans 0 to 15."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Component:"]}," the systematic strategy the forecast belongs to (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cta"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vt"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rp"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["gamma"]},"). Each publishes its own metrics."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Scenario:"]}," a branch of the cube. CTA, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rp"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vt"]}," branch on a z-score (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["All"]}," is the unconditional path); ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["gamma"]}," branches on a return."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Call ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/flow/forecast/runs"]}," first to see the run dates, horizons and scenarios a series publishes, then ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/flow/forecast"]}," to read them. Pair ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["run_date"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["horizon"]}," to place a point in time; there is no separate forecast date. Forecasts are projections, not observations: keep them apart from observed history."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"paging-and-exports","__idx":11},"children":["Paging and exports"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Timeseries and catalog responses are paged. Set ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["records_per_page"]}," (up to your tier's limit) and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["page_number"]},", and read ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pagination.has_next"]}," to know when to stop."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["For a full history in one file, use the Positioning and Flow ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/timeseries/export"]}," endpoints: CSV or JSON, optionally gzip or zip compressed. Macro has no export endpoint; page through ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/macro/timeseries"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/availability"]}," to see the first and last observation of each series before you request it."]}]}]},"headings":[{"value":"Key concepts","id":"key-concepts","depth":1},{"value":"Products and APIs","id":"products-and-apis","depth":2},{"value":"Series and identifiers","id":"series-and-identifiers","depth":2},{"value":"Reading a label","id":"reading-a-label","depth":3},{"value":"Combined positioning and crowding","id":"combined-positioning-and-crowding","depth":2},{"value":"Restated and point-in-time values","id":"restated-and-point-in-time-values","depth":2},{"value":"Model versions","id":"model-versions","depth":2},{"value":"Cadence, lag and staleness","id":"cadence-lag-and-staleness","depth":2},{"value":"Units and measure class","id":"units-and-measure-class","depth":2},{"value":"Transformations and normalisation","id":"transformations-and-normalisation","depth":2},{"value":"Forecasts","id":"forecasts","depth":2},{"value":"Paging and exports","id":"paging-and-exports","depth":2}],"frontmatter":{"seo":{"title":"Key concepts","description":"How Vanda data is organised and how to read it correctly - products, identifiers, combined positioning and crowding, revisions, model versions, cadence, units, transformations, forecasts and paging."}},"lastModified":"2026-11-26T21:58:54.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/concepts","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}