PandaData financial data
Use PandaData as the source of record for supported financial datasets. Retrieve evidence before making data-dependent claims, distinguish observations from interpretation, and never invent missing values.
Tool workflow
The Connector may namespace tool names. Match the available PandaData tools by their logical names below.
- Call
auth_status before the first real data request. If authentication is required or expired, ask the user to complete the WorkBuddy OAuth login and stop the data workflow until it succeeds.
- If the exact
get_* method is unknown, call search_methods with concise domain terms. Prefer this over loading the full catalog with list_methods.
- Call
get_method_doc for the selected method before every data request. Use its documented parameter names, types, required fields, units, enumerations, and example as the authoritative contract.
- Clarify only details that materially change the query, such as instrument identifier, market, date range, frequency, adjustment convention, currency, or statistical definition.
- Call
call_pandadata with the documented method and a params object. Only documented get_* methods are valid. Do not add a top-level row limit; returned row counts are controlled by the user's service quota.
- For a comparison or analysis, fetch each required dataset with aligned dates, frequencies, adjustment conventions, and units before calculating or summarizing.
Use sdk_status only to diagnose service or catalog availability. Use list_methods when the user explicitly asks to browse a category or when focused searches cannot identify a method.
Method selection
- Search using the user's business concept first, then narrow by market, asset class, frequency, or field name.
- When several methods are plausible, compare their summaries and parameters. Ask the user to choose only if the difference changes the intended result.
- Never guess an endpoint, method name, security identifier format, parameter, enum value, or response field.
- If a method is unknown, use the server's suggestions and repeat discovery before attempting another call.
Result handling
- State the queried instruments or indicators, market, date range, frequency, and important data conventions.
- Present compact tables for comparisons when helpful. Keep raw facts, calculations, and interpretation visibly distinct.
- Identify missing periods, null values, stale observations, differing units, and non-trading days that affect the conclusion.
- If the dataset is large, summarize it and show representative rows unless the user explicitly requests the full result.
- Mention the PandaData method name so the query can be reproduced.
Errors
reauth_required: stop and request OAuth login; do not retry in a loop.
- Permission or quota error: explain the restriction accurately. Reauthentication does not grant a higher data entitlement.
- Empty result: verify the identifier, market, trading calendar, date range, and method parameters before concluding that no data exists.
- Gateway or service error: report the useful error detail and suggest retrying later; do not fabricate fallback data.
Financial safety
Provide data retrieval, organization, calculations, comparisons, and neutral trend interpretation. Do not promise returns or issue direct buy/sell instructions. State that outputs are for research and informational purposes when the user could treat the analysis as investment guidance.
Never ask the user to paste a password, JWT, access token, refresh token, or API key into the conversation. Authentication belongs in WorkBuddy's OAuth flow.
1---2name: pandadata3description: Query and analyze financial data through the PandaData MCP Connector. Use whenever users ask for Chinese, Hong Kong, or U.S. equity data, futures, options, funds, macroeconomic indicators, quantitative factors, trading calendars, market comparisons, or data-backed financial trend summaries.4---5
6# PandaData financial data
7
8Use PandaData as the source of record for supported financial datasets. Retrieve evidence before making data-dependent claims, distinguish observations from interpretation, and never invent missing values.
9
10## Tool workflow
11
12The Connector may namespace tool names. Match the available PandaData tools by their logical names below.
13
141. Call `auth_status` before the first real data request. If authentication is required or expired, ask the user to complete the WorkBuddy OAuth login and stop the data workflow until it succeeds.
152. If the exact `get_*` method is unknown, call `search_methods` with concise domain terms. Prefer this over loading the full catalog with `list_methods`.
163. Call `get_method_doc` for the selected method before every data request. Use its documented parameter names, types, required fields, units, enumerations, and example as the authoritative contract.
174. Clarify only details that materially change the query, such as instrument identifier, market, date range, frequency, adjustment convention, currency, or statistical definition.
185. Call `call_pandadata` with the documented method and a `params` object. Only documented `get_*` methods are valid. Do not add a top-level row `limit`; returned row counts are controlled by the user's service quota.
196. For a comparison or analysis, fetch each required dataset with aligned dates, frequencies, adjustment conventions, and units before calculating or summarizing.
20
21Use `sdk_status` only to diagnose service or catalog availability. Use `list_methods` when the user explicitly asks to browse a category or when focused searches cannot identify a method.
22
23## Method selection
24
25- Search using the user's business concept first, then narrow by market, asset class, frequency, or field name.
26- When several methods are plausible, compare their summaries and parameters. Ask the user to choose only if the difference changes the intended result.
27- Never guess an endpoint, method name, security identifier format, parameter, enum value, or response field.
28- If a method is unknown, use the server's suggestions and repeat discovery before attempting another call.
29
30## Result handling
31
32- State the queried instruments or indicators, market, date range, frequency, and important data conventions.
33- Present compact tables for comparisons when helpful. Keep raw facts, calculations, and interpretation visibly distinct.
34- Identify missing periods, null values, stale observations, differing units, and non-trading days that affect the conclusion.
35- If the dataset is large, summarize it and show representative rows unless the user explicitly requests the full result.
36- Mention the PandaData method name so the query can be reproduced.
37
38## Errors
39
40- `reauth_required`: stop and request OAuth login; do not retry in a loop.
41- Permission or quota error: explain the restriction accurately. Reauthentication does not grant a higher data entitlement.
42- Empty result: verify the identifier, market, trading calendar, date range, and method parameters before concluding that no data exists.
43- Gateway or service error: report the useful error detail and suggest retrying later; do not fabricate fallback data.
44
45## Financial safety
46
47Provide data retrieval, organization, calculations, comparisons, and neutral trend interpretation. Do not promise returns or issue direct buy/sell instructions. State that outputs are for research and informational purposes when the user could treat the analysis as investment guidance.
48
49Never ask the user to paste a password, JWT, access token, refresh token, or API key into the conversation. Authentication belongs in WorkBuddy's OAuth flow.