openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > stock-cli

用于股票行情查询与分析的命令行技能。用户提到 stock 命令、股票代码、最新资讯、市场概览、K 线或配置管理时调用。

金融与交易

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v0.1.1

统计:⭐ 1 · 258 · 1 current installs · 1 all-time installs

1

安装量(当前) 1

🛡 VirusTotal :良性 · OpenClaw :良性

Package:anoyix/stock-cli

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :良性

OpenClaw 评估

This skill's code, instructions, and requirements are coherent with a command‑line stock quoting/kline tool: it makes network requests to public finance endpoints and stores a small config file in the user's home directory; it does not request secrets or perform unrelated actions.

目的

Name/description (stock CLI for quotes, kline, news, market overview) match the included code. Network requests target finance data providers (qq/gtimg/baidu) and the processing functions (EMA/BOLL/KDJ/RSI) align with the stated features.

说明范围

SKILL.md instructs invoking the 'stock' command for listed scenarios. The runtime code only reads its own configuration file (~/.stock-cli/config.json or path from STOCK_CLI_CONFIG_PATH) and calls finance APIs; it does not instruct reading unrelated system files, scanning the environment for secrets, or exfiltrating data to unexpected endpoints.

安装机制

There is no external install spec that downloads arbitrary archives. Project includes normal Python packaging metadata (pyproject.toml) and source files; dependencies are standard (click, requests). No suspicious remote installer URLs or extract operations are present.

证书

The skill requires no credentials and no special env vars. It does honor an optional STOCK_CLI_CONFIG_PATH env var to override its config file location (reasonable for a CLI). No tokens/keys/passwords are requested.

持久

always:false and autonomous invocation default are normal. The skill writes/reads only its own config under the user's home directory (or path set via STOCK_CLI_CONFIG_PATH) — this is proportional to a CLI that stores user preferences.

综合结论

What to consider before installing: - This tool makes outgoing HTTP requests to third‑party finance endpoints (qq/gtimg/baidu). If you require an offline or air‑gapped environment, do not install. - It stores configuration at ~/.stock-cli/config.json by default (can be overridden via STOCK_CLI_CONFIG_PATH). If you are concerned about files created under your home directory, review or sandbox the install first. - No secrets/credentials are requ…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「stock-cli」。简介:用于股票行情查询与分析的命令行技能。用户提到 stock 命令、股票代码、最新资讯、市场概览、K 线或配置管理时调用。。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/anoyix/stock-cli/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: stock-cli
description: 用于股票行情查询与分析的命令行技能。用户提到 stock 命令、股票代码、最新资讯、市场概览、K 线或配置管理时调用。
author: AnoyiX
version: "0.1.0"
tags:
  - stock
  - 股票
  - cli
  - 行情
  - kline
---

# stock-cli — 股票行情命令行技能

**命令名:** `stock`
**适用场景:** 查询股票实时行情、个股相关板块涨跌幅、个股最新资讯、市场快照、历史数据、日 K 技术指标,以及查看/设置默认市场配置。

## 何时调用

- 用户要求“查某只股票价格/涨跌幅/市值”
- 用户要求“看某只股票相关地域/行业/概念板块涨跌幅”
- 用户要求“看某只股票最新资讯/新闻摘要”
- 用户要求“看市场总览/指数表现”
- 用户要求“搜股票代码或名称”
- 用户要求“查历史数据(1d/5d/1m/3m/6m/1y/5y)”
- 用户要求“看日 K + 技术指标(EMA/BOLL/KDJ/RSI)”
- 用户要求“查看或修改 stock-cli 配置(market)”

## 全局参数

- `-v, --version`:显示版本

## 命令总览

| 命令                                   | 说明                          | 关键参数 |
| -------------------------------------- | ----------------------------- | -------- |
| `stock quote <symbol>`                 | 查看单只股票实时行情          |          |
| `stock plate <symbol>`                 | 查看个股相关板块涨跌幅        |          |
| `stock news <symbol>`                  | 查看个股最新资讯              |          |
| `stock kline <code>`                   | 查看日 K 线 + 技术指标        |          |

## 常用示例

- `stock quote 600519`
- `stock plate 600519`
- `stock news 600519`
- `stock quote 00700`
- `stock quote us.aapl`
- `stock kline 600519`