{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-ai-assistants/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"VandaMacro in your AI assistant","description":"Ask an AI assistant to find and draw VandaMacro charts and tables by title, over the dates you choose - what you can ask, how charts are drawn, and troubleshooting.","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":"vandamacro-in-your-ai-assistant","__idx":0},"children":["VandaMacro in your AI assistant"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ask your AI assistant to find a VandaMacro chart and draw it in the chat, in plain English."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For example:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["\"Which VandaMacro charts cover US inflation?\""]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["\"Draw that chart since January 2020.\""]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["\"What columns does this table have?\""]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["\"Describe what the latest readings on this chart show.\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The assistant fetches the chart under your own Vanda login and draws it in the chat, line for line as the VandaMacro page draws it, for every line your account can read through the API."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Setup:"]}," VandaMacro comes through the same Vanda MCP connector as VandaTrack, VandaXasset and VandaInsights. ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ai-assistants"},"children":["Connect your assistant"]}," once and VandaMacro appears whenever your account includes it."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"what-you-can-explore","__idx":1},"children":["What you can explore"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["VandaMacro gives your assistant the charts and tables of the VandaMacro pages. With it you can:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Search"]}," the charts and tables by words in their title."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Draw"]}," one chart by its title, over the page's own period or the dates you choose."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Open a table"]}," to see its columns, then draw any one column as a chart."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The assistant works chart by chart: it finds a chart by its title and draws it. It does not search the underlying series one by one."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"what-you-can-ask","__idx":2},"children":["What you can ask"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You don't need to learn any commands; just describe what you want."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"finding-a-chart","__idx":3},"children":["Finding a chart"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["\"Which VandaMacro charts mention China?\""," ","\"Find the charts on euro area growth.\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The search matches words in chart and table titles and returns up to 100 titles at a time, most recently updated first. If more match, the assistant can fetch the next page. Use the words the chart title is likely to contain. Charts the page fills in from a search you make there are not listed, because they cannot be drawn in the assistant."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"drawing-a-chart","__idx":4},"children":["Drawing a chart"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["\"Draw the first one.\""," ","\"Show me that chart from 2018 to 2022.\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The assistant draws the chart in the chat. Without dates, the chart covers the same period the page shows. Give a start date, an end date or both to change it."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"tables","__idx":5},"children":["Tables"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["\"Open the table on global PMIs.\""," ","\"Draw its first column.\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A table answers with its column titles. Ask for one column and the assistant draws it as a chart."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-vandamacro-charts-are-drawn","__idx":6},"children":["How VandaMacro charts are drawn"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["The same lines as the page."]}," ","The assistant draws a chart's lines as the page computes them, including moving averages, cumulative totals and forecasts that continue a line."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Every chart is drawn over time."]}," ","A page that shows a chart as a snapshot of latest values, or year by year, is drawn here as lines over time. The assistant says so when that happens."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["What the page leaves out."]}," ","Lines the page hides by default, and years the page blanks out, are left off here too."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Forecasts."]}," ","Points after today are forecasts, and the assistant labels them as forecasts, not observations. When it gives a chart's latest reading, it means the latest on or before today."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Shares."]}," ","A chart the page stacks to 100% is drawn as each line's share of the total, in percent. If some lines are left off, they are not in the total, so the shares differ from the page's."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Lines left off."]}," ","Only the lines your account can read through the API are drawn. The assistant names every line it leaves off and why: not available via API or MCP, computed only on the page, no data in the dates you asked for, too much history to draw, it could not be loaded just then, or more than the 30 lines one chart can draw. It does not describe a line it left off as if it were drawn."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Units and axes."]}," ","Each chart shows the unit the page publishes. When the page publishes none, the chart uses the series' own unit if all its lines share one; otherwise the axis says the unit is not published. A line the page draws on a right-hand axis keeps its own axis and unit."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["VandaMacro data is data, not investment advice."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"troubleshooting","__idx":7},"children":["Troubleshooting"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["I don't see VandaMacro in my assistant."]}," ","Your account may not include VandaMacro. Contact your Vanda account manager. You can also sign in again, in case your session has expired."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["The assistant says a chart is not available in VandaMacro."]}," ","No VandaMacro chart has exactly that title. Ask the assistant to search first, then draw one of the titles it finds."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["The assistant says a chart isn't available via API or MCP."]}," ","None of the chart's lines can be read outside the VandaMacro page. Some charts are also filled in on the page from a search you make there; those cannot be drawn in the assistant either."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Some lines are missing from a chart."]}," ","The assistant lists each one it left off and the reason. Ask your Vanda account manager about lines your account cannot read."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["A line has too much history to draw."]}," ","Ask for a later start date."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["A line couldn't be loaded."]}," ","Ask again in a moment."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["A table didn't draw."]}," ","Tables answer with their columns. Ask for one column by name."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For connection and sign-in problems, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ai-assistants#troubleshooting"},"children":["Troubleshooting"]}," on the setup page."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"faq","__idx":8},"children":["FAQ"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Can I ask for a single macro series, not a chart?"]}," ","No. The assistant works with the charts and tables on the VandaMacro pages."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Are the legacy Exante Data charts included?"]}," ","No. Only charts on the VandaMacro pages are available."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Questions or access requests: contact your Vanda account manager."]}]}]},"headings":[{"value":"VandaMacro in your AI assistant","id":"vandamacro-in-your-ai-assistant","depth":1},{"value":"What you can explore","id":"what-you-can-explore","depth":2},{"value":"What you can ask","id":"what-you-can-ask","depth":2},{"value":"Finding a chart","id":"finding-a-chart","depth":3},{"value":"Drawing a chart","id":"drawing-a-chart","depth":3},{"value":"Tables","id":"tables","depth":3},{"value":"How VandaMacro charts are drawn","id":"how-vandamacro-charts-are-drawn","depth":2},{"value":"Troubleshooting","id":"troubleshooting","depth":2},{"value":"FAQ","id":"faq","depth":2}],"frontmatter":{"seo":{"title":"VandaMacro in your AI assistant","description":"Ask an AI assistant to find and draw VandaMacro charts and tables by title, over the dates you choose - what you can ask, how charts are drawn, and troubleshooting."}},"lastModified":"2026-11-27T13:15:04.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ai-assistants/vandamacro","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}