원클릭으로
akshare
使用 akshare 获取中国金融市场实时数据和历史数据。当需要查询 A 股、港股、美股、指数、基金、期货等金融产品的实时行情、历史数据、财务报表时使用该技能。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
使用 akshare 获取中国金融市场实时数据和历史数据。当需要查询 A 股、港股、美股、指数、基金、期货等金融产品的实时行情、历史数据、财务报表时使用该技能。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Senior high-frequency factor construction workflow for turning a market mechanism into a causally valid, measurable, normalized, and implementable factor design. Trigger when the user asks to construct, formalize, document, or pseudo-implement microstructure / order flow / orderbook / event-time alpha factors, maker toxic-flow filters, liquidation cascade factors, OFI / imbalance signals, Hawkes smoothing design, or binary-mask factor decomposition. Do NOT use for pure backtest optimization, factor mining/search, label design, model selection, feature importance, or full strategy validation. Core output is a fixed research contract: mechanism, data contract, temporal contract, dimensions, mask semantics, aggregation, normalization, smoothing, observability risk, must-fail scenarios, and minimal sanity checks.
交易系统开发知识库,基于《Trading Systems》(Tomasini & Jaekle 2009)。支持:(1) 趋势跟踪/均值回归策略设计;(2) Walk Forward Analysis 参数优化;(3) 仓位管理(固定分数、固定比率);(4) 组合构建(权益线交叉、相关性管理)。触发于:开发交易系统、设计量化策略、参数优化验证、回测评估、仓位管理方法、多策略组合。
Industrial-grade workflow for developing, testing, and verifying financial ML strategies based on "Advances in Financial Machine Learning" (AFML) and "Machine Learning for Asset Managers" (MLAM) by Marcos López de Prado. Use when: (1) Building Dollar/Volume/Imbalance bars, (2) Triple-barrier or meta-labeling, (3) Sample weights and uniqueness, (4) Purged/embargoed cross-validation, (5) Feature importance (MDI/MDA/Clustered MDA), (6) Trend scanning, (7) Backtest verification (DSR/PSR/CPCV), (8) HRP portfolios, (9) Fractional differentiation, (10) CUSUM filtering, (11) Market microstructure analysis. Includes causal verification framework with validation metrics and book references. For code-level implementation, see afmlkit skill.
Evaluate whether a design pattern is warranted during feature design, refactoring, architecture changes, or code review, then choose a fitting pattern and a Python-idiomatic implementation. Use when code shows change pressure such as repeated if/elif branching, tangled object creation, oversized classes, mixed responsibilities, unstable dependencies, event fan-out, or requests to "apply a design pattern", "improve extensibility", "decouple modules", or "make this easier to evolve".
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of "Word doc", "word document", ".docx", or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a "report", "memo", "letter", "template", or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.
A specialized Financial Machine Learning knowledge expert based on the works of Marcos López de Prado. Use when the user asks for theoretical explanations, methodology, or best practices in Financial ML (e.g., Triple-Barrier Method, Fractional Differentiation, Hierarchical Risk Parity).
| name | akshare |
| description | 使用 akshare 获取中国金融市场实时数据和历史数据。当需要查询 A 股、港股、美股、指数、基金、期货等金融产品的实时行情、历史数据、财务报表时使用该技能。 |
| license | MIT |
| metadata | {"author":"Alice","version":"1.0.0","category":"finance","language":"python"} |
此技能允许浮浮酱使用 akshare 库获取中国金融市场的实时和历史数据,包括股票、指数、基金、期货等各类金融产品。
# 查询股票实时行情
python ~/.openclaw/skills/akshare/akshare_tool.py --code 000001
# 查询指数实时行情
python ~/.openclaw/skills/akshare/akshare_tool.py --code 000001 --type index
# 查询历史数据
python ~/.openclaw/skills/akshare/akshare_tool.py --code 000001 --mode history --start 20250101
# 查看指数概览
python ~/.openclaw/skills/akshare/akshare_tool.py --mode index-overview
# 查看热门板块
python ~/.openclaw/skills/akshare/akshare_tool.py --mode sector-top
# 查询股票信息
python ~/.openclaw/skills/akshare/akshare_tool.py --code 000001 --mode info
# 查询财务数据
python ~/.openclaw/skills/akshare/akshare_tool.py --code 000001 --mode financial
| 参数 | 说明 | 默认值 |
|---|---|---|
--code, -c | 股票/指数代码 | 无 |
--type, -t | 代码类型 (stock/index) | stock |
--mode, -m | 查询模式 | realtime |
--period, -p | K 线周期 (daily/weekly/monthly) | daily |
--start | 开始日期 (YYYYMMDD) | 无 |
--end | 结束日期 (YYYYMMDD) | 当前日期 |
realtime: 实时行情(需要 --code)history: 历史 K 线(需要 --code,可选 --start, --end, --period)index-overview: A 股主要指数概览(无需参数)sector-top: 热门板块排行(无需参数)info: 股票基本信息(需要 --code)financial: 财务指标(需要 --code)pip install akshare pandas