← Back to Skills Marketplace
xuyun9160-lgtm

Noah Stock Trade

by xuyun9160-lgtm · GitHub ↗ · v0.1.4 · MIT-0
cross-platform ⚠ suspicious
92
Downloads
0
Stars
0
Active Installs
5
Versions
Install in OpenClaw
/install noah-stock-trade
Description
用于股票交易相关的订单、成交、可买可卖数量、订单详情、订单费用、下单前费用预估,以及账户、持仓、证券资产、资金流水等场景。当用户询问今日订单、历史订单、今日成交、历史成交、订单状态、订单详情、费用明细、可买可卖数量、融资最大可买数量、账户信息、当前持仓、证券资产、资金流水、组合概览、交易前评估时使用。优先通过统一...
Usage Guidance
This skill appears to implement the trade-query functionality it describes, but pay attention to these points before installing: (1) The metadata declares no required env vars, yet the code and docs require NOAH_TRADE_API_BASE_URL and a Bearer token (NOAH_MARKET_APIKEY or NOAH_MARKET_TOKEN). Expect to provide those. (2) On import the code will attempt to load .secrets files from the workspace and ~/.openclaw/.secrets — review those paths and their content before running to avoid unintentionally exposing unrelated secrets. (3) Prefer running the skill in an isolated/test environment and with a scoped test token (not your main production credentials) until you audit the code. (4) If you need to proceed, verify the base_url is the official trade API host and that the Bearer token has minimal privileges; consider modifying or removing automatic env-file loading if you do not want the skill to read other local secrets. If you want, I can list the exact files/paths the skill will read and point to the lines in the code that do so.
Capability Analysis
Type: OpenClaw Skill Name: noah-stock-trade Version: 0.1.4 The noah-stock-trade skill is a legitimate tool designed for querying stock account information, positions, and performing pre-trade fee estimations. The code (specifically scripts/noah_trade_cli.py and scripts/trade_client.py) implements a structured CLI and HTTP client that communicates with a designated API endpoint (stock-open-api.noahgroup.com) using standard Bearer token authentication. The SKILL.md instructions explicitly restrict the AI agent to read-only operations and provide safety guidelines to prevent unauthorized trade execution, while the configuration logic (scripts/config.py) follows standard practices for loading local environment secrets without any signs of exfiltration or malicious intent.
Capability Tags
requires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The code and SKILL.md implement a trade-query/pre-trade-evaluation CLI against a Noah trade API, which matches the skill name and description. However the skill metadata declares no required environment variables or config paths while the documentation and code clearly require a trade API base URL and a Bearer token (NOAH_TRADE_API_BASE_URL and NOAH_MARKET_APIKEY/NOAH_MARKET_TOKEN). That mismatch between declared requirements and actual needs is a coherence issue.
Instruction Scope
Runtime instructions correctly insist on using the provided CLI entrypoint and staying read-only. But the implementation will automatically try to load secret env files from multiple local locations (workspace .secrets/* and ~/.openclaw/.secrets/*) on import. The SKILL.md tells agents to avoid hand-crafting API calls and to follow preflight checks, which is good, but the code's automatic secret-file loading is broader than the SKILL metadata indicates and could cause unexpected access to local secrets.
Install Mechanism
This is an instruction-first skill with no install spec (no packages/downloads). There is local Python code included, but no remote install URLs or archive extraction. Install risk is low from distribution perspective.
Credentials
The skill needs sensitive credentials (Bearer token) and a base URL to call trade APIs — that is appropriate for a trading integration. However the skill metadata did not declare these required env vars. Additionally, the code will silently source environment files from several paths (workspace .secrets and user home ~/.openclaw/.secrets), which may load other secrets present on the host. That silent loading of local secret files is disproportionate unless you expect the CLI to consult local secrets.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and does not persist authorization itself. It runs as a CLI and only performs outbound HTTP calls to the configured base_url with the configured Bearer token. No elevated platform privileges are requested.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install noah-stock-trade
  3. After installation, invoke the skill by name or use /noah-stock-trade
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.4
Sync workflow docs and install/update rules
v0.1.3
Sync token, asset display, and workflow rules
v0.1.2
Switch production trade base URL and sync latest params
v0.1.1
Sync latest history and push-data parameter requirements
v0.1.0
Initial public trade query skill release
Metadata
Slug noah-stock-trade
Version 0.1.4
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 5
Frequently Asked Questions

What is Noah Stock Trade?

用于股票交易相关的订单、成交、可买可卖数量、订单详情、订单费用、下单前费用预估,以及账户、持仓、证券资产、资金流水等场景。当用户询问今日订单、历史订单、今日成交、历史成交、订单状态、订单详情、费用明细、可买可卖数量、融资最大可买数量、账户信息、当前持仓、证券资产、资金流水、组合概览、交易前评估时使用。优先通过统一... It is an AI Agent Skill for Claude Code / OpenClaw, with 92 downloads so far.

How do I install Noah Stock Trade?

Run "/install noah-stock-trade" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Noah Stock Trade free?

Yes, Noah Stock Trade is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Noah Stock Trade support?

Noah Stock Trade is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Noah Stock Trade?

It is built and maintained by xuyun9160-lgtm (@xuyun9160-lgtm); the current version is v0.1.4.

💬 Comments