query_dataset
Read China A-share datasets such as fund flow, margin trading, and block trades by date window and stock symbols, with paged results and totals.
Instructions
Read any other dataset by date window and symbol — fund_flow, margin_trading, dragon_tiger, block_trades, northbound_holdings, share_unlock_schedule, corporate_actions, valuation_metrics, index_constituents and the rest. Call describe_lake for the full list and each one's coverage. Bars go through query_bars and financial statements through query_fundamentals. Results are paged with limit/offset and the response reports the true total and a truncated flag; for cross-sectional ranking use run_sql instead of paging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Inclusive end date, YYYY-MM-DD. | |
| limit | No | Max rows to return (default 200, cap 2000). Responses always report the true total and set `truncated`. | |
| start | No | Inclusive start date, YYYY-MM-DD. | |
| offset | No | Rows to skip, for paging with `limit`. | |
| dataset | Yes | Dataset name from describe_lake. | |
| symbols | No | Symbols as '<code>.<EX>', e.g. ['600519.SH', '000001.SZ']. Omit for every symbol in range. Use resolve_symbol to turn a company name into a code. | |
| include_provenance | No | Include per-row source/data_version/fetched_at. Off by default — the response lists the distinct sources instead, at a fraction of the size. |