ashares_intraday_bars

Pack: china-stocks · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/ashares_intraday_bars for the schema, then POST the same URL with its arguments for the data.

A China A-share stock’s intraday minute bars and cumulative volume/turnover up to a given time on a past trading day, from Sina.

Tool description as the model sees it

Intraday minute bars (分钟线/分时/分钟K线) for Chinese A-share stocks/ETFs on a given trading日/交易日, with cumulative volume and turnover (累计成交量/累计成交额) computed up to a requested time of day (截至

Parameters

NameTypeRequiredDescription
symbolsstringyesOne 6-digit code or a comma-separated list, up to 5, e.g. “515050” or “600519,000001”. sh/sz/bj prefixes accepted but optional. ETF codes work the same as stock codes.
datestringyesThe trading day the bars are for, YYYY-MM-DD or YYYYMMDD, e.g. “2026-09-01”.
up_tostringnoTime of day (24-hour, Beijing time) to cumulate volume/turnover through, e.g. “11:05”. Omit for the whole trading day (or “as of now” if date is today and the market is open).
intervalstringnoBar interval in minutes. Default “5”. Smaller intervals keep a shorter lookback window — see the tool description.

Example call

Arguments

{
  "symbols": "515050,600519",
  "date": "2026-09-01",
  "up_to": "11:05"
}

curl

curl -X POST https://gateway.pipeworx.io/china-stocks/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ashares_intraday_bars","arguments":{"symbols":"515050,600519","date":"2026-09-01","up_to":"11:05"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('ashares_intraday_bars', {
  "symbols": "515050,600519",
  "date": "2026-09-01",
  "up_to": "11:05"
});

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the china-stocks pack
{
  "mcpServers": {
    "china-stocks": {
      "url": "https://gateway.pipeworx.io/china-stocks/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 7, 2026