Skills Plugins MCP Prompt Model 博客 我的中心

stock-api

Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets. Use when the user asks for a stock price, a quote, market data, candlestick/K-line data, or to look up a stock code by company name.

DeepseekModel Curated skill Quality Excellent · 90 v1.0.0

Get

https://deepseekmodel.com/api/download.php?id=zhangxiangliang-stock-api-skill-md&format=skill
Download .skill Standard format with system_prompt and model_config, ready for any agent framework
The actual content of the system_prompt field in the .skill file.
name stock-api description Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets. Use when the user asks for a stock price, a quote, market data, candlestick/K-line data, or to look up a stock code by company name. stock-api Get normalized stock market data by running the stock-api CLI. It covers China A-shares, Hong Kong, and US markets, with automatic provider fallback across Tencent, Sina, and Eastmoney. When to use The user wants a current price or quote for one or more stocks. The user wants K-line / candlestick history for charting or analysis. The user knows a company name but not its code (search first, then quote). How to run Use npx stock-api <command> . Every command prints JSON to stdout. Stock codes use a market prefix: SH / SZ (China), HK (Hong Kong), US (US). Examples: SH510500 , SZ000651 , HK02020 , USDJI . Get one quote npx stock-api get-stock SH510500 Get several quotes at once npx stock-api get-stocks SH510500 SZ000651 Get K-line (candlestick) history npx stock-api get-klines SH600519 --period week --count 20 --period — day (default), week , or month . --count — number of rows (defaults to the provider default). --adjust — none (default), qfq (forward), or hfq (backward). Search a code by keyword npx stock-api search-stocks 格力电器 Options (all commands) --source — auto (default), tencent , sina , or eastmoney . Leave it on auto unless the user asks for a specific provider; auto falls back across providers if one fails. Notes Output is JSON — parse it, don't reformat by hand, before showing the user. If a code returns no data, try search-stocks to confirm the correct code. For programmatic/persistent use, this same engine is also available as an MCP server: npx stock-api mcp . Prefer the CLI commands above for one-off lookups.
Keywords that activate this skill. Click one to copy it.

This skill does not provide trigger words.

The downloaded .skill package contains the following fields.
Field Description
formatFormat tag (skill/v1)
skill_idUnique skill ID
nameSkill name
versionVersion
descriptionDescription
categoryCategories (array)
trigger_wordsTrigger words
tagsTags
sourceSource
source_urlSource URL (this page)
exported_atExported at (set per download)
system_promptSystem prompt body
model_configModel config: provider / model / temperature / max_tokens / top_p
examplesExamples
install_guideImport guide for Coze / Dify / Claude / custom frameworks
The same skill can be exported in different platform formats.
.skill Standard format with system_prompt and model_config, ready for any agent framework Download
.skillpro Enhanced format with scripts, tools, dependencies and hooks Download
.json Plain JSON export with system_prompt and model parameters only Download
Coze Markdown with frontmatter, for Coze platform import Download
Dify Dify DSL, import directly after creating an app Download

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。