mcpField
C
cn-stock-price

cn-stock-price

github.com/nohumaneraOther0386 installsUpdated 38w ago
Repository

About cn-stock-price

cn-stock-price is a script for checking real-time prices of China A-share stocks. It suits users who need single-stock or batch lookups and includes a default list of major indexes and individual stocks.

Key features

  1. 01Check real-time A-share prices
  2. 02Query multiple stocks at once
  3. 03Use a default stock list

Use cases

  1. 01Check a stock's current price
  2. 02Look up several stock codes
  3. 03Review default indexes and stocks

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/nohumanera/cn-stock-price --skill cn-stock-price

After installing, type/cn-stock-pricein Claude Code to confirm it loaded.

Bundled filesscripts/check.pyREADME.md

Details

From the project README

股票价格查询工具

一个简单的中国A股实时股票价格查询脚本。

功能

  • 查询实时股票价格
  • 支持单只或多只股票同时查询
  • 提供默认股票列表(主要指数+个股)

Example

# 查询默认股票列表
python ./scripts/check.py
# 查询指定股票(支持多只)
python ./scripts/check.py sh600519
python ./scripts/check.py sh600036 sz002352

Dependencies

  • requests

Comments

Markdown supported