股票分析

Fetch stock data from LongPort and AkShare, calculate TA-Lib indicators, and generate trading reports.

276|46|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/nicepkg/ai-workflow --skill -nicepkg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 股票分析
Source: https://github.com/nicepkg/ai-workflow/tree/main/workflows/stock-trader-workflow/.claude/skills/%E8%82%A1%E7%A5%A8%E5%88%86%E6%9E%90
Command: npx skills add https://github.com/nicepkg/ai-workflow --skill -nicepkg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires longport, akshare, pandas, ta-lib, quantstats, and includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill automates the complex process of gathering stock market data, calculating technical indicators, and generating actionable trading insights, saving traders significant time and effort.

Core Features & Use Cases

  • Data Aggregation: Seamlessly fetches stock data from LongPort and AkShare, ensuring comprehensive market coverage.
  • Technical Analysis: Computes a wide array of technical indicators using TA-Lib for in-depth market assessment.
  • Strategy Generation: Analyzes data to suggest buy/sell points, perform backtesting, and output detailed reports.
  • Use Case: A user can ask the AI to "Analyze all stocks in my LongPort watchlist, calculate their 14-day RSI and MACD, and suggest potential buy signals based on oversold conditions."

Quick Start

Use the 股票分析 skill to fetch K-line data for 700.HK and calculate its 14-day RSI.

Frequently Asked Questions about 股票分析

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate technical indicators like RSI and MACD for stock analysis?

To calculate technical indicators for stock analysis, you can use TA-Lib within this skill to compute metrics like RSI and MACD on market data fetched from LongPort or AkShare, generating actionable buy and sell signals based on your specified conditions.

Can I backtest a trading strategy using historical K-line data from AkShare?

Yes, you can backtest a trading strategy using historical K-line data fetched from AkShare. The skill utilizes the quantstats library to perform strategy backtesting, optimize parameters, and output detailed performance reports for your stock analysis.

Does this stock analysis tool work with my LongPort watchlist?

Yes, this stock analysis tool works directly with LongPort. It can obtain your user-defined stock groups from your LongPort watchlist, fetch their market data, calculate technical indicators, and suggest potential trading recommendations automatically.

What is the best way to generate buy and sell recommendations for multiple stocks?

The best way to generate buy and sell recommendations for multiple stocks is to aggregate market data from LongPort and AkShare, calculate technical indicators using TA-Lib, and let the AI analyze the data to suggest trading points based on oversold or overbought conditions.

Do I need pandas and quantstats installed to output backtesting reports?

Yes, you need pandas and quantstats installed as dependencies. The skill relies on pandas for data manipulation and quantstats to perform backtesting, optimize trading strategies, and render the final performance report outputs.