get_stock_quote
Retrieve real-time quotes for China A-share stocks. Input a 6-digit stock code to get price, change percentage, volume, turnover, and market cap.
Instructions
Get the real-time quote for a single A-share stock.
Args:
symbol: A 6-digit A-share code, e.g. "600519" (Kweichow Moutai) or
"300750" (CATL).
Returns:
A dict with the latest price, change percentage, volume, turnover and
market-cap figures. On failure, a dict with an error key explaining
what went wrong.
Example: >>> get_stock_quote("600519") # doctest: +SKIP {'symbol': '600519', 'name': '贵州茅台', 'price': 1683.0, 'change_pct': 0.85, 'volume': 31250, 'total_market_cap': 2.1e12, ...}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||