akshare-online-alpha
Run Wyckoff master-style analysis from stock codes, holdings (symbol/cost/qty), cash, CSV data, and optional chart images. Use when users want online multi-source data fetching with source switching, strict Beijing-time trading-session checks, fixed system prompt analysis, single-stock analysis, holding rotation, holding add/reduce suggestions, or empty-position cash deployment suggestions.
Best use case
akshare-online-alpha is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Run Wyckoff master-style analysis from stock codes, holdings (symbol/cost/qty), cash, CSV data, and optional chart images. Use when users want online multi-source data fetching with source switching, strict Beijing-time trading-session checks, fixed system prompt analysis, single-stock analysis, holding rotation, holding add/reduce suggestions, or empty-position cash deployment suggestions.
Teams using akshare-online-alpha should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/wyckoff-a-share/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How akshare-online-alpha Compares
| Feature / Agent | akshare-online-alpha | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Run Wyckoff master-style analysis from stock codes, holdings (symbol/cost/qty), cash, CSV data, and optional chart images. Use when users want online multi-source data fetching with source switching, strict Beijing-time trading-session checks, fixed system prompt analysis, single-stock analysis, holding rotation, holding add/reduce suggestions, or empty-position cash deployment suggestions.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for ChatGPT
Find the best AI skills to adapt into ChatGPT workflows for research, writing, summarization, planning, and repeatable assistant tasks.
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
SKILL.md Source
# Akshare Online Alpha Use this skill when the user wants Wyckoff-style analysis with online data fetch and source fallback. ## Input Schema Single/multi symbol analysis: - Inputs: stock code(s), optional CSV, optional chart image, text goals. Portfolio decision analysis: - `holdings` (can be empty): `[股票A+成本+数量, 股票B+成本+数量, ...]` - `cash`: available cash amount - `candidate` (optional): stock code not currently in holdings - Optional CSV/image/text instructions are still supported. Portfolio example: - `holdings = [600519+1450+100, 000001+10.2+3000]` - `cash = 80000` - `candidate = 300750` ## When To Use / Not Use Use this skill when at least one condition is true: - User provides stock code(s) and asks for current/near-current analysis. - User provides holdings + cash + candidate and asks whether to switch positions. - User asks whether current holdings should be increased/reduced/kept. - User has no holdings and asks how to act with available cash. - User asks to combine CSV + online validation. - User provides chart image and asks for Wyckoff interpretation. Do not use this skill when: - User only asks for generic Python/chart debugging unrelated to market analysis. - User requests purely offline historical analysis with no online data requirement. ## Auto Intent Inference When `holdings/cash/candidate` are provided, do not require the user to say "switch / add / reduce / empty-position". Infer automatically from provided fields: - `holdings` non-empty + `candidate` provided: include rotation comparison and per-holding actions. - `holdings` non-empty + no `candidate`: provide per-holding add/reduce/hold/exit suggestions. - `holdings` empty + `cash` provided: provide empty-position cash deployment suggestion. ## Required Execution Order 1. Validate input and parse structured fields: - Determine symbol-only flow or portfolio flow from input fields. - CSV (if provided): main source for historical structure. - Text instructions: constraints and goals. - Image (if provided): supplemental intraday/micro-structure signal. - In portfolio flow, parse `holdings/cash/candidate(optional)` before analysis. 2. Resolve current Beijing time before any trading suggestion: - Fetch actual current time from tool/system. - Convert to `Asia/Shanghai`. - Print `当前北京时间:YYYY-MM-DD HH:MM(UTC+8)`. - Determine if in A-share continuous auction window. 3. Enforce trading-session rules: - If not in tradable session, only provide post-market review/next-day plan/order strategy. - Do not output immediate intraday execution commands. 4. Fetch data with online source switching: - Use `rules/source-fallbacks.md` order. - For each symbol, keep source audit log. - If source fails, schema check fails, or rows are insufficient, switch source. - In portfolio flow, fetch all holding symbols and candidate symbol when provided. 5. Perform Wyckoff analysis first: - Analyze latest 500 days structure with MA50/MA200. - Identify phases/events without forcing full phase set. - Allow event-date news checks only for verification, not as decision basis. 6. In portfolio flow, produce a Wyckoff-style portfolio recommendation: - For each holding, give one action: `add / reduce / hold / exit`. - If candidate is provided, compare candidate vs current holdings from structure strength, phase position, and event quality. - If candidate is provided, identify which current holding is structurally weakest and whether rotation is needed. - If holdings are empty, provide an empty-position suggestion using available cash and current structure context. - Use `cost/qty/cash` to give concrete action suggestions in narrative form. - Keep final recommendation in Wyckoff tone and clearly state action labels such as `switch / partial switch / hold / add / reduce`. 7. Plot only when allowed: - If current time is intraday trading time, skip plotting. - Otherwise generate plotting code/result using hard rendering constraints from system prompt. ## Fixed Output Contract Always output in this order: 1. `当前北京时间:YYYY-MM-DD HH:MM(UTC+8)` 2. Trading verdict: - `当前是否可盘中交易:是/否` - If no: `当前不可盘中交易(原因:...)` 3. Data audit table per symbol: - `symbol` - `source_used` - `rows_kept` - `window_end_date` - `fallback_count` 4. Wyckoff analysis result: - Current cycle background and phase (only what is evidenced). - Key events (SC/ST/Spring/LPS/SOS/UTAD if present) with concise rationale. - Action boundaries respecting T+1 and current session status. 5. Portfolio action section (portfolio flow only): - Holdings snapshot from provided `cost/qty/cash`. - Per-holding action suggestions (`add / reduce / hold / exit`) with reasoning. - Candidate vs weakest holding comparison (if candidate is provided). - Empty-position cash action suggestion (if holdings are empty). - Final action summary in Wyckoff tone. 6. Plotting section (only when allowed by session rules): - Python code and/or generated chart result with Chinese annotation constraints. ## Failure And Degrade Rules - If all data sources fail for a symbol, report that symbol as `data_unavailable` and continue with remaining symbols. - If fewer than 30 valid rows are available, do not force phase labeling; return "insufficient structure depth". - If image is unreadable, explicitly state parse failure reason and continue with text/CSV path. - Never invent OHLCV rows, event timestamps, or trading-day status. ## Hard Constraints - Do not change the fixed prompt wording unless explicitly requested. - Do not fabricate missing OHLCV rows. - Do not ignore image input if image is parseable. - Do not use opaque white text boxes in chart annotations. - If fetching data requires running Python scripts, run them only in a sandboxed environment. - Prefer direct web/API fetch first; use Python scripts only when needed for fallback, parsing, or normalization. ## Resources - `rules/alpha-system-prompt.md`: fixed role and hard rules. - `rules/source-fallbacks.md`: online source switching policy.
Related Skills
youtube-watcher
Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.
youtube-transcript
Fetch and summarize YouTube video transcripts. Use when asked to summarize, transcribe, or extract content from YouTube videos. Handles transcript fetching via residential IP proxy to bypass YouTube's cloud IP blocks.
youtube-auto-captions - YouTube 自动字幕
## 描述
youtube
YouTube Data API integration with managed OAuth. Search videos, manage playlists, access channel data, and interact with comments. Use this skill when users want to interact with YouTube. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
yahoo-finance
Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.
xurl
A Twitter research and content intelligence skill focused on attracting WordPress and Shopify clients. Use to analyze Twitter profiles, threads, and conversations for: (1) Identifying what small agency founders and eCommerce brands are discussing; (2) Understanding pain points around WordPress performance, Shopify CRO, and development bottlenecks; (3) Extracting high-performing content angles; (4) Turning insights into authority-building posts; (5) Converting Twitter intelligence into business leverage for clear content angles, strong positioning, and qualified inbound leads.
xlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.
xiaohongshu-mcp
Automate Xiaohongshu (RedNote) content operations using a Python client for the xiaohongshu-mcp server. Use for: (1) Publishing image, text, and video content, (2) Searching for notes and trends, (3) Analyzing post details and comments, (4) Managing user profiles and content feeds. Triggers: xiaohongshu automation, rednote content, publish to xiaohongshu, xiaohongshu search, social media management.
twitter-openclaw
Interact with Twitter/X — read tweets, search, post, like, retweet, and manage your timeline.
x-twitter-growth
X/Twitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X/Twitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code