jpskill.com
📄 ドキュメント コミュニティ

akshare-online-alpha

株価コードや保有銘柄、現金、CSVデータなどからワイコフ分析を行い、銘柄の入れ替えや追加・削減、現金配分などを提案するオンライン多機能分析Skillです。

📜 元の英語説明(参考)

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.

🇯🇵 日本人クリエイター向け解説

一言でいうと

株価コードや保有銘柄、現金、CSVデータなどからワイコフ分析を行い、銘柄の入れ替えや追加・削減、現金配分などを提案するオンライン多機能分析Skillです。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o akshare-online-alpha.zip https://jpskill.com/download/5589.zip && unzip -o akshare-online-alpha.zip && rm akshare-online-alpha.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/5589.zip -OutFile "$d\akshare-online-alpha.zip"; Expand-Archive "$d\akshare-online-alpha.zip" -DestinationPath $d -Force; ri "$d\akshare-online-alpha.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して akshare-online-alpha.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → akshare-online-alpha フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

[スキル名] akshare-online-alpha

ユーザーがオンラインデータ取得とソースフォールバックによるワイコフ式分析を希望する場合に、このスキルを使用します。

入力スキーマ

単一/複数銘柄分析:

  • 入力:証券コード(複数可)、オプションのCSV、オプションのチャート画像、テキストによる目標。

ポートフォリオ意思決定分析:

  • holdings(空でも可):[股票A+成本+数量, 股票B+成本+数量, ...]
  • cash:利用可能な現金残高
  • candidate(オプション):現在保有していない証券コード
  • オプションのCSV/画像/テキスト指示も引き続きサポートされます。

ポートフォリオの例:

  • holdings = [600519+1450+100, 000001+10.2+3000]
  • cash = 80000
  • candidate = 300750

使用すべきケース / 使用すべきでないケース

以下の条件の少なくとも1つが真である場合に、このスキルを使用します。

  • ユーザーが証券コードを提供し、現在またはほぼ現在の分析を求めている場合。
  • ユーザーが保有銘柄 + 現金 + 候補銘柄を提供し、ポジションを切り替えるべきか尋ねている場合。
  • ユーザーが現在の保有銘柄を増やすべきか/減らすべきか/維持すべきか尋ねている場合。
  • ユーザーが保有銘柄がなく、利用可能な現金でどのように行動すべきか尋ねている場合。
  • ユーザーがCSVとオンライン検証を組み合わせるよう求めている場合。
  • ユーザーがチャート画像を提供し、ワイコフ解釈を求めている場合。

以下の場合は、このスキルを使用しないでください。

  • ユーザーが市場分析とは無関係な一般的なPython/チャートのデバッグのみを求めている場合。
  • ユーザーがオンラインデータ要件なしに、純粋にオフラインの履歴分析を要求している場合。

自動意図推論

holdings/cash/candidateが提供されている場合、ユーザーに「switch / add / reduce / empty-position」と言うことを要求しないでください。

提供されたフィールドから自動的に推論します。

  • holdingsが空ではない + candidateが提供されている:ローテーション比較と保有銘柄ごとのアクションを含めます。
  • holdingsが空ではない + candidateがない:保有銘柄ごとの追加/削減/保持/売却の提案を提供します。
  • holdingsが空 + cashが提供されている:空ポジションの現金展開の提案を提供します。

必須実行順序

  1. 入力を検証し、構造化フィールドを解析します。
  • 入力フィールドから、シンボルのみのフローかポートフォリオフローかを判断します。
  • CSV(提供されている場合):履歴構造の主要なソース。
  • テキスト指示:制約と目標。
  • 画像(提供されている場合):日中/ミクロ構造の補足シグナル。
  • ポートフォリオフローでは、分析の前にholdings/cash/candidate(optional)を解析します。
  1. 取引提案の前に現在の北京時間を解決します。
  • ツール/システムから実際の現在時刻を取得します。
  • Asia/Shanghaiに変換します。
  • 当前北京时间:YYYY-MM-DD HH:MM(UTC+8)を出力します。
  • A株の連続オークション期間中であるかを判断します。
  1. 取引セッションルールを強制します。
  • 取引可能なセッションではない場合、市場後のレビュー/翌日計画/注文戦略のみを提供します。
  • 即時の日中実行コマンドは出力しません。
  1. オンラインソース切り替えでデータを取得します。
  • rules/source-fallbacks.mdの順序を使用します。
  • 各シンボルについて、ソース監査ログを保持します。
  • ソースが失敗した場合、スキーマチェックが失敗した場合、または行が不十分な場合、ソースを切り替えます。
  • ポートフォリオフローでは、提供されている場合、すべての保有シンボルと候補シンボルを取得します。
  1. まずワイコフ分析を実行します。
  • MA50/MA200を使用して最新500日間の構造を分析します。
  • 完全なフェーズセットを強制することなく、フェーズ/イベントを特定します。
  • イベント日付のニュースチェックは検証のみに許可し、意思決定の根拠とはしません。
  1. ポートフォリオフローでは、ワイコフ式のポートフォリオ推奨を生成します。
  • 各保有銘柄について、1つのアクション(add / reduce / hold / exit)を提供します。
  • 候補銘柄が提供されている場合、構造の強さ、フェーズ位置、イベントの質から候補銘柄と現在の保有銘柄を比較します。
  • 候補銘柄が提供されている場合、現在の保有銘柄の中で構造的に最も弱いものを特定し、ローテーションが必要かどうかを判断します。
  • 保有銘柄が空の場合、利用可能な現金と現在の構造コンテキストを使用して、空ポジションの提案を提供します。
  • cost/qty/cashを使用して、具体的なアクション提案を物語形式で提供します。
  • 最終的な推奨はワイコフのトーンを保ち、switch / partial switch / hold / add / reduceなどのアクションラベルを明確に示します。
  1. 許可されている場合にのみプロットします。
  • 現在時刻が日中取引時間の場合、プロットをスキップします。
  • それ以外の場合は、システムプロンプトからの厳密なレンダリング制約を使用してプロットコード/結果を生成します。

固定出力契約

常にこの順序で出力します。

  1. 当前北京时间:YYYY-MM-DD HH:MM(UTC+8)
  2. 取引判断:
  • 当前是否可盘中交易:是/否
  • いいえの場合:当前不可盘中交易(原因:...)
  1. シンボルごとのデータ監査テーブル:
  • symbol
  • source_used
  • rows_kept
  • window_end_date
  • fallback_count
  1. ワイコフ分析結果:
  • 現在のサイクル背景とフェーズ(証拠があるもののみ)。
  • 主要イベント(SC/ST/Spring/LPS/SOS/UTADが存在する場合)と簡潔な根拠。
  • T+1と現在のセッションステータスを尊重するアクション境界。
  1. ポートフォリオアクションセクション(ポートフォリオフローのみ):
  • 提供されたcost/qty/cashからの保有銘柄スナップショット。
  • 保有銘柄ごとのアクション提案(add / reduce / hold / exit)と理由。
  • 候補銘柄と最も弱い保有銘柄の比較(候補銘柄が提供されている場合)。
  • 空ポジションの現金アクション提案(保有銘柄が空の場合)。
  • ワイコフのトーンでの最終アクション要約。
  1. プロットセクション(セッションルールで許可されている場合のみ):
  • Pythonコードおよび/または中国語の注釈制約付きで生成されたチャート結果。

失敗と劣化のルール

  • すべてのデータソースがシンボルに対して失敗した場合、そのシンボルをdata_unavailableとして報告し、残りのシンボルで続行します。
  • 有効な行が30行未満の場合、フェーズラベリングを強制せず、「insufficient structure depth」を返します。
  • 画像が読み取れない場合、解析失敗の理由を明示的に述べ、テキスト/CSVパスで続行します。
  • OHLCV行、イベントタイムスタンプ、または取引日ステータスを捏造しないでください。

厳密な制約

  • 明示的に要求されない限り、固定プロンプトの文言を変更しないでください。
  • 欠落しているOHLCV行を捏造しないでください。
  • 画像が解析可能であれば、画像入力を無視しないでください。
  • チャートの注釈で不透明な白いテキストボックスを使用しないでください。
  • データの取得にPythonスクリプトの実行が必要な場合、サンドボックス環境でのみ実行してください。
  • まず直接ウェブ/API取得を優先し、フォールバック、解析、または正規化が必要な場合にのみPythonスクリプトを使用してください。

リソース

  • rules/alpha-system-prompt.md:固定の役割と厳密なルール。
  • rules/source-fallbacks.md:オンラインソース切り替えポリシー。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

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.
  1. 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.
  1. 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.
  1. 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.
  1. 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.
  1. 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.
  1. 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: 当前不可盘中交易(原因:...)
  1. Data audit table per symbol:
  • symbol
  • source_used
  • rows_kept
  • window_end_date
  • fallback_count
  1. 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.
  1. 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.
  1. 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.