Communitygithub.com

tradermonty/uptrend-analyzer

Montyのアップトレンド比率ダッシュボードのデータを使用して市場のブレッドスを分析し、現在の市場環境を診断します。5つの構成要素(ブレッドス、セクター参加率、ローテーション、モメンタム、過去のコンテキスト)から0~100の複合スコアを生成します。市場のブレッドス、アップトレンド比率、株式エクスポージャーを検討する際に使用します。APIキーは不要です。

uptrend-analyzer とは?

Uptrend Analyzerは、Montyのアップトレンド比率ダッシュボードの無料CSVデータを活用して、市場のブレッドス健全性を診断するスキルです。約2,800銘柄を11セクターにわたって追跡し、5つの構成要素(市場全体のブレッドス30%、セクター参加率25%、セクターローテーション15%、モメンタム20%、過去のコンテキスト10%)から0~100の複合スコアを生成します。スコアが高いほど市場参加の裾野が広く健全であることを示し、エクスポージャーガイダンス(フルエクスポージャー~資本保全)を提供します。APIキーは不要で、GitHubからCSVデータを直接取得するため無料で利用できます。このスキルは、マーケットトップディテクター(有料APIベースのリスクスコアラー)とは異なり、無料データで「参加の裾野」を評価することに重点を置いており、Late Cycle、High Spread、Divergenceなどの警告システムによるエクスポージャーペナルティも組み込まれています。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/tradermonty/claude-trading-skills/tree/main/skills/uptrend-analyzer

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Uptrend Analyzer Skill(アップトレンドアナライザースキル)

目的(Purpose)

Montyのアップトレンド比率ダッシュボード(約2,800銘柄を11セクターで追跡)を使用して、市場のブレッドス健全性を診断します。0~100の複合スコア(高いほど健全)とエクスポージャーガイダンスを生成します。

Market Top Detector(APIベースのリスクスコアラー)とは異なり、このスキルは無料のCSVデータを使用して「参加の裾野」すなわち市場の上昇が広範か狭小かを評価します。

このスキルを使用すべき場合(When to Use This Skill)

英語:

  • ユーザーが「市場のブレッドスは健全ですか?」や「上昇相場の裾野は広いですか?」と尋ねた場合
  • セクター別のアップトレンド比率を評価したい場合
  • 市場参加率やブレッドス状況について質問された場合
  • ブレッドス分析に基づくエクスポージャーガイダンスが必要な場合
  • Montyのアップトレンドダッシュボードやアップトレンド比率について言及した場合

日本語:

  • 「市場のブレッドスは健全?」「上昇の裾野は広い?」
  • セクター別のアップトレンド比率を確認したい
  • 相場参加率・ブレッドス状況を診断したい
  • ブレッドス分析に基づくエクスポージャーガイダンスが欲しい
  • Montyのアップトレンドダッシュボードについて質問

前提条件(Prerequisites)

  • Python 3.9+ と requests ライブラリ(CSV解析は標準ライブラリの csv/io モジュールを使用)
  • インターネット接続(GitHubからCSVデータを取得するため。APIキーは不要)
  • 有料のAPIサブスクリプションは不要

Market Top Detectorとの違い(Difference from Market Top Detector)

観点Uptrend AnalyzerMarket Top Detector
スコアの方向性高いほど健全高いほどリスクが高い
データソース無料のGitHub CSVFMP API(有料)
焦点ブレッドス参加率トップ形成リスク
APIキー不要必要(FMP)
手法Montyアップトレンド比率O'Neil/Minervini/Monty

実行ワークフロー(Execution Workflow)

フェーズ1:Pythonスクリプトの実行

分析スクリプトを実行します(APIキーは不要):

python3 skills/uptrend-analyzer/scripts/uptrend_analyzer.py

スクリプトは以下の処理を行います:

  1. MontyのGitHubリポジトリからCSVデータをダウンロード
  2. 5つの構成要素スコアを計算
  3. 複合スコアとレポートを生成

フェーズ2:結果の表示

生成されたMarkdownレポートをユーザーに提示し、以下を強調します:

  • 複合スコアとゾーン分類
  • エクスポージャーガイダンス(フル/通常/縮小/ディフェンシブ/資本保全)
  • 最強・最弱セクターを示すセクターヒートマップ
  • 主要なモメンタムおよびローテーションシグナル

5つの構成要素スコアリングシステム(5-Component Scoring System)

#構成要素ウェイト主要シグナル
1マーケットブレッドス(全体)30%比率レベル+トレンド方向
2セクター参加率25%アップトレンドセクター数+比率のばらつき
3セクターローテーション15%循環株 vs ディフェンシブ株のバランス
4モメンタム20%傾きの方向+加速
5過去のコンテキスト10%過去データにおけるパーセンタイル順位

スコアリングゾーン(Scoring Zones)

スコアゾーンエクスポージャーガイダンス
80-100強い強気フルエクスポージャー(100%)
60-79強気通常エクスポージャー(80-100%)
40-59中立縮小エクスポージャー(60-80%)
20-39慎重ディフェンシブ(30-60%)
0-19弱気資本保全(0-30%)

7段階ゾーン詳細(7-Level Zone Detail)

各スコアリングゾーンは、より粒度の高い評価のためにサブゾーンに分割されます:

スコアゾーン詳細色
80-100強い強気緑
70-79強気-上位薄緑
60-69強気-下位薄緑
40-59中立黄
30-39慎重-上位オレンジ
20-29慎重-下位オレンジ
0-19弱気赤

警告システム(Warning System)

アクティブな警告は、複合スコアが高い場合でもエクスポージャーガイダンスを厳しくするペナルティを適用します:

警告条件ペナルティ
後期サイクルコモディティ平均 > 循環株およびディフェンシブ株の両方-5
高スプレッドセクター比率の最大-最小スプレッド > 40ポイント-3
乖離グループ内標準偏差 > 8ポイント、スプレッド > 20ポイント、またはトレンド反対派の存在-3

ペナルティは累積(最大-10)し、複数警告割引(アクティブ警告が2つ以上の場合+1)が適用されます。複合スコアリング後に適用されます。

モメンタムスムージング(Momentum Smoothing)

傾きの値は、スコアリング前にEMA(3)(指数移動平均、スパン=3)を使用して平滑化されます。加速は、平滑化された傾きの直近10ポイント平均と過去10ポイント平均を比較して計算され(10v10ウィンドウ)、データポイントが20未満の場合は5v5にフォールバックします。

過去のコンテキスト信頼度インジケーター(Historical Confidence Indicator)

過去のコンテキスト構成要素には、以下に基づく信頼度評価が含まれます:

  • サンプルサイズ: 利用可能な過去データポイントの数
  • レジームカバレッジ: 観測された異なる市場レジーム(強気/弱気/中立)の割合
  • 新しさ: 最新データポイントがどれだけ最近のものか

信頼度レベル:高、中、低。


API要件(API Requirements)

必須: なし(無料のGitHub CSVデータを使用)

出力ファイル(Output Files)

  • JSON: uptrend_analysis_YYYY-MM-DD_HHMMSS.json
  • Markdown: uptrend_analysis_YYYY-MM-DD_HHMMSS.md

参考ドキュメント(Reference Documents)

references/uptrend_methodology.md

  • アップトレンド比率の定義としきい値
  • 5構成要素のスコアリング手法
  • セクター分類(循環株/ディフェンシブ株/コモディティ)
  • 過去のキャリブレーションノート

参考ドキュメントを読み込むタイミング(When to Load References)

  • 初回使用時: フレームワーク全体を理解するために uptrend_methodology.md を読み込む
  • 通常実行時: 参考ドキュメントは不要。スクリプトがスコアリングを処理します

Individual skills in this repo

This repo contains 14 individual skills — each has its own dedicated page.

tradermonty/backtest-expert

Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating quantitative trading strategies. Covers "beating ideas to death" methodology, parameter robustness testing, slippage modeling, bias prevention, and interpreting backtest results. Applicable when user asks about backtesting, strategy validation, robustness testing, avoiding overfitting, or systematic trading development.

tradermonty/market-environment-analysis

Comprehensive market environment analysis and reporting tool. Analyzes global markets including US, European, Asian markets, forex, commodities, and economic indicators. Provides risk-on/risk-off assessment, sector analysis, and technical indicator interpretation. Triggers on keywords like market analysis, market environment, global markets, trading environment, market conditions, investment climate, market sentiment, forex analysis, stock market analysis, 相場環境, 市場分析, マーケット状況, 投資環境.

tradermonty/market-news-analyst

This skill should be used when analyzing recent market-moving news events and their impact on equity markets and commodities. Use this skill when the user requests analysis of major financial news from the past 10 days, wants to understand market reactions to monetary policy decisions (FOMC, ECB, BOJ), needs assessment of geopolitical events' impact on commodities, or requires comprehensive review of earnings announcements from mega-cap stocks. The skill automatically collects news using WebSearch/WebFetch tools and produces impact-ranked analysis reports. All analysis thinking and output are conducted in English.

tradermonty/options-strategy-advisor

Options trading strategy analysis and simulation tool. Provides theoretical pricing using Black-Scholes model, Greeks calculation, strategy P/L simulation, and risk management guidance. Use when user requests options strategy analysis, covered calls, protective puts, spreads, iron condors, earnings plays, or options risk management. Includes volatility analysis, position sizing, and earnings-based strategy recommendations. Educational focus with practical trade simulation.

tradermonty/portfolio-manager

Comprehensive portfolio analysis using Alpaca MCP Server integration to fetch holdings and positions, then analyze asset allocation, risk metrics, individual stock positions, diversification, and generate rebalancing recommendations. Use when user requests portfolio review, position analysis, risk assessment, performance evaluation, or rebalancing suggestions for their brokerage account.

tradermonty/scenario-analyzer

Skill that analyzes 18-month scenarios from a news headline. Runs the primary analysis with the scenario-analyst agent and obtains a second opinion with the strategy-reviewer agent. Generates a comprehensive English report covering 1st/2nd/3rd-order impacts, recommended stocks, and a critical review. Example: /scenario-analyzer "Fed raises rates by 50bp" Triggers: news analysis, scenario analysis, 18-month outlook, medium-to-long-term investment strategy

tradermonty/sector-analyst

This skill should be used when analyzing sector rotation patterns and market cycle positioning. It fetches sector uptrend data from CSV (no API key required) and optionally accepts chart images for supplementary analysis. Use this skill when the user requests sector rotation analysis, cyclical vs defensive assessment, overbought/oversold identification, or market cycle phase estimation. All analysis and output are conducted in English.

tradermonty/signal-postmortem

Record and analyze post-trade outcomes for signals generated by edge pipeline and other skills. Track false positives, missed opportunities, and regime mismatches. Feed results back to edge-signal-aggregator weights and skill improvement backlog.

tradermonty/skill-designer

Design new Claude skills from structured idea specifications. Use when the skill auto-generation pipeline needs to produce a Claude CLI prompt that creates a complete skill directory (SKILL.md, references, scripts, tests) following repository conventions.

tradermonty/skill-idea-miner

Mine Claude Code session logs for skill idea candidates. Use when running the weekly skill generation pipeline to extract, score, and backlog new skill ideas from recent coding sessions.

tradermonty/theme-detector

Detect and analyze trending market themes across sectors. Use when user asks about current market themes, trending sectors, sector rotation, thematic investing, what themes are hot or cold, or wants to identify bullish and bearish market narratives with lifecycle analysis.

tradermonty/us-stock-analysis

Comprehensive US stock analysis including fundamental analysis (financial metrics, business quality, valuation), technical analysis (indicators, chart patterns, support/resistance), stock comparisons, and investment report generation. Use when user requests analysis of US stock tickers (e.g., "analyze AAPL", "compare TSLA vs NVDA", "give me a report on Microsoft"), evaluation of financial metrics, technical chart analysis, or investment recommendations for American stocks.

tradermonty/value-dividend-screener

Screen US stocks for high-quality dividend opportunities combining value characteristics (P/E ratio under 20, P/B ratio under 2), attractive yields (3% or higher), and consistent growth (dividend/revenue/EPS trending up over 3 years). Supports two-stage screening using FINVIZ Elite API for efficient pre-filtering followed by FMP API for detailed analysis. Use when user requests dividend stock screening, income portfolio ideas, or quality value stocks with strong fundamentals.

tradermonty/vcp-screener

Screen S&P 500 stocks for Mark Minervini's Volatility Contraction Pattern (VCP) and detect historical VCPs in a single ticker's price path. Identifies Stage 2 uptrend stocks forming tight bases with contracting volatility near breakout pivot points; in historical single-ticker mode walks a multi-year history and emits every VCP that formed with forward-outcome stats (breakout / stop-hit / timeout). Use when user requests VCP screening, Minervini-style setups, tight base patterns, volatility contraction breakout candidates, Stage 2 momentum stock scanning, or historical VCP pattern study on a specific ticker (e.g. FIX, TSLA).

関連スキル