SuperAPI AI Directory

a-stock-market

Data & analytics

View repository

Updated 10-15 17:26

About this skill

A-share Market Skill

Get real-time A-share stock market data (using Sina Finance's free API)

Commands

# 查询单只股票
a-stock <股票代码>

# 查询多只股票
a-stock <代码 1> <代码 2> ...

# 查询指数
a-stock sh000001  # 上证指数
a-stock sz399001  # 深证成指
a-stock sh000300  # 沪深 300

Stock code format

  • Shanghai Stock Exchange:sh + 6 digits (e.g., sh600519 Kweichow Moutai)
  • Shenzhen Stock Exchange:sz + 6 digits (e.g., sz000858 Wuliangye)

Examples

a-stock sh600519
a-stock sz000858 sh600519