sge_daily_quote
Pack: sge-quotes · 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/sge_daily_quote for the schema, then POST the same URL with its arguments for the data.
Shanghai Gold Exchange daily quotation: open, high, low, close, weighted average price, volume, turnover and open interest for a contract such as Ag(T+D), Au99.99, Au(T+D), mAu(T+D) or Pt99.95. Omit date for the latest trading day; omit contract for every contract quoted that day. A date with no quotation (weekend, holiday, future) returns published:false with the nearest earlier trading day. Every row states its units (gold and platinum CNY per gram, silver CNY per kilogram).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
contract | string | no | Contract code as quoted by the exchange, e.g. Ag(T+D), Au99.99, Au(T+D). Case-insensitive. Omit for all contracts. |
date | string | no | Trading date YYYY-MM-DD. Defaults to the latest trading day. |
Example call
Arguments
{
"contract": "Ag(T+D)",
"date": "2026-11-27"
}
curl
curl -X POST https://gateway.pipeworx.io/sge-quotes/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"sge_daily_quote","arguments":{"contract":"Ag(T+D)","date":"2026-11-27"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('sge_daily_quote', {
"contract": "Ag(T+D)",
"date": "2026-11-27"
});
More examples
{
"contract": "Au99.99"
}
Response shape
| Field | Type | Description |
|---|---|---|
source | string | |
requested_date | string | |
published | boolean | |
trading_date | string | |
message | string | |
count | number | |
rows | array | |
note | string |
Full JSON Schema
{
"type": "object",
"properties": {
"source": {
"type": "string"
},
"requested_date": {
"type": "string"
},
"published": {
"type": "boolean"
},
"trading_date": {
"type": "string"
},
"message": {
"type": "string"
},
"count": {
"type": "number"
},
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string"
},
"contract": {
"type": "string"
},
"status": {
"type": "string"
},
"open": {
"type": "number"
},
"high": {
"type": "number"
},
"low": {
"type": "number"
},
"close": {
"type": "number"
},
"change": {
"type": "number"
},
"change_pct": {
"type": "number"
},
"weighted_average_price": {
"type": "number"
},
"volume_kg": {
"type": "number"
},
"turnover_cny": {
"type": "number"
},
"open_interest_lots": {
"type": "number"
},
"delivery_direction": {
"type": "string"
},
"delivery_volume_lots": {
"type": "number"
},
"price_unit": {
"type": "string"
},
"volume_unit": {
"type": "string"
},
"turnover_unit": {
"type": "string"
},
"open_interest_unit": {
"type": "string"
}
},
"additionalProperties": true
}
},
"note": {
"type": "string"
}
},
"additionalProperties": true
}
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 sge-quotes pack
{
"mcpServers": {
"sge-quotes": {
"url": "https://gateway.pipeworx.io/sge-quotes/mcp"
}
}
}
See Getting Started for client-specific install steps.