← Back to Skills Marketplace
haohanyang92

Sar Calculator

by haohanyang92 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
200
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install sar-calculator
Description
Calculate SAR indicator, analyze A-share trends, price position, volume ratio, momentum, and provide a four-dimensional score and trading suggestion.
Usage Guidance
This skill appears to do exactly what it says: fetch data from Baostock and compute SAR-based analytics. Before installing, consider: (1) pip will install baostock and pandas from PyPI—review those packages if you require strong supply-chain assurance; (2) the script makes network calls to Baostock (so it needs Internet access); (3) the repository/source and homepage are unknown—you should review the included sar_calculator.py yourself (it is present and readable) and run it in a sandbox or isolated environment if you have safety concerns. If you plan to run it regularly, verify Baostock's terms and that no authentication tokens are required for your usage pattern.
Capability Analysis
Type: OpenClaw Skill Name: sar-calculator Version: 1.0.0 The skill is a legitimate financial analysis tool designed to calculate the SAR (Stop and Reverse) indicator for A-share stocks. It uses the standard 'baostock' library to fetch market data and performs transparent mathematical calculations in sar_calculator.py. There is no evidence of data exfiltration, malicious execution, or prompt injection in the code or documentation.
Capability Assessment
Purpose & Capability
Name/description (SAR calculator for A-share analysis) align with the code and SKILL.md: it uses the Baostock client and pandas/numpy to fetch historical K-line data and compute SAR, volume ratio, momentum, and scores. No unrelated credentials, binaries, or services are requested.
Instruction Scope
Runtime instructions only direct the agent/user to run the provided Python script and to install baostock/pandas. The script only calls Baostock APIs and performs local computations; it does not read unrelated system files or transmit data to unexpected endpoints. SKILL.md references a workspace path (~/.openclaw/...), which is an implementation detail but not a data-exfiltration vector.
Install Mechanism
There is no formal install spec; SKILL.md instructs pip install baostock pandas. Installing packages from PyPI is a common, moderate-risk action — expected for a Python tool — but it does mean code is dependent on third-party packages fetched at install time. No obscure download URLs or archive extraction are used.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The Baostock client is used without requiring secrets, which is consistent with the stated purpose.
Persistence & Privilege
The skill is instruction-only with a local script and does not request persistent or elevated platform privileges (always:false). It does not modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install sar-calculator
  3. After installation, invoke the skill by name or use /sar-calculator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of SAR指标计算工具 (SAR Parabolic Indicator Calculator) for A-share technical analysis: - Fetches historical stock K-line (candlestick) data using the Baostock interface. - Calculates SAR (Parabolic Stop and Reverse) values and determines trend direction. - Identifies whether closing price is above or below the SAR value. - Computes today's volume ratio compared to 5-day average. - Provides a four-dimensional scoring system: trend, price position, volume ratio, and momentum. - Generates composite recommendations based on total score. - Includes command-line interface for analyzing single or multiple stocks, and for selecting date ranges or concise output.
Metadata
Slug sar-calculator
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Sar Calculator?

Calculate SAR indicator, analyze A-share trends, price position, volume ratio, momentum, and provide a four-dimensional score and trading suggestion. It is an AI Agent Skill for Claude Code / OpenClaw, with 200 downloads so far.

How do I install Sar Calculator?

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

Is Sar Calculator free?

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

Which platforms does Sar Calculator support?

Sar Calculator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Sar Calculator?

It is built and maintained by haohanyang92 (@haohanyang92); the current version is v1.0.0.

💬 Comments