← Back to Skills Marketplace
100
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install stock01
Description
计算股票或组合的年化收益率,支持按股票代码+日期范围自动拉取K线计算,也支持直接输入初始/最终资金计算,输出年化收益率、总收益率、最大回撤、夏普比率等完整绩效报告
Usage Guidance
Before installing, verify the following: (1) Where does the stock_api implementation come from? The SKILL.md expects a local scripts/stock_api module but the skill bundle has no code — ask the author to provide the module or explain how the agent will obtain it. (2) Confirm BITSOUL_TOKEN scope and trustworthiness of https://www.aicodingyard.com / info.aicodingyard.com — only provide a token with minimal, read-only permissions and avoid reusing sensitive credentials. (3) Expect runtime failures or unexpected network fetches if the missing code is pulled dynamically; request a clear install or source URL for any required client libraries. (4) Note small issues that may break execution (e.g., a possible typo get_symbol_basic_infomation). If the author provides the missing code or documents how stock_api is supplied (and the token only grants read access), the skill is coherent; otherwise treat it as untrusted and do not provide production credentials.
Capability Assessment
Purpose & Capability
Name/description, required binary (python3), and BITSOUL_TOKEN align with a skill that fetches stock data from a service. However, the SKILL.md imports a local module (scripts/stock_api) and calls many api.* helpers (get_daily_kline, get_annualized_return, etc.) while this package contains no code files — that mismatch suggests missing implementation or an implicit external dependency.
Instruction Scope
Instructions explicitly modify sys.path to load scripts from a local 'scripts' folder and then call many api methods; since no scripts are present, runtime behavior is undefined. The skill also mandates calling api.get_annualized_return() instead of computing the formula locally and requires strict output formatting. The instructions do not attempt to read unrelated system files, but they assume availability of a local code module or an external fetch mechanism that is not documented.
Install Mechanism
This is an instruction-only skill with no install spec and no code written to disk by the skill itself, which is the lowest-risk install pattern. There is no download/install step declared.
Credentials
Only one required secret (BITSOUL_TOKEN) is declared as the primary credential, which is proportional for a service that pulls stock data. The metadata also lists an allowed network host (info.aicodingyard.com) that matches the skill homepage. No unrelated credentials or broad system paths are requested.
Persistence & Privilege
The skill does not request always-on presence and uses normal model invocation. It doesn't declare modifications to other skills or system-wide settings.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install stock01 - After installation, invoke the skill by name or use
/stock01 - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
**重大更新:Skill 由单一股票查询升级为专业年化收益率与绩效分析计算工具。**
- 移除了原有实时股票行情文件与依赖(bin/stock.js, package.json)。
- Skill 现可自动拉取指定股票或多只股票历史K线,支持按资金或价格输入。
- 全面输出年化收益率、总收益率、最大回撤、夏普比率等绩效报告,并强制规范输出格式。
- 增加对 BITSOUL_TOKEN 环境变量的支持,需要完成 token 配置。
- 明确面向中文用户,完善了示例触发句式和输出样例。
- 新增详细文档及错误/数据不足处理。
Metadata
Frequently Asked Questions
What is A股交易助手 stock bitsoul?
计算股票或组合的年化收益率,支持按股票代码+日期范围自动拉取K线计算,也支持直接输入初始/最终资金计算,输出年化收益率、总收益率、最大回撤、夏普比率等完整绩效报告. It is an AI Agent Skill for Claude Code / OpenClaw, with 100 downloads so far.
How do I install A股交易助手 stock bitsoul?
Run "/install stock01" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is A股交易助手 stock bitsoul free?
Yes, A股交易助手 stock bitsoul is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does A股交易助手 stock bitsoul support?
A股交易助手 stock bitsoul is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created A股交易助手 stock bitsoul?
It is built and maintained by KangQirun (@kangqirun); the current version is v1.0.0.
More Skills