Communitygithub.com

tradermonty/uptrend-analyzer

Monty의 Uptrend Ratio 대시보드 데이터를 사용하여 시장 폭(market breadth)을 분석하고 현재 시장 환경을 진단합니다. 5가지 구성 요소(폭, 섹터 참여율, 순환, 모멘텀, 역사적 맥락)로 0-100 복합 점수를 생성합니다. 시장 폭, 업트렌드 비율, 또는 시장 환경이 주식 익스포저를 지원하는지에 대한 질문에 사용합니다. API 키가 필요하지 않습니다.

uptrend-analyzer란 무엇인가요?

Uptrend Analyzer는 Monty의 Uptrend Ratio Dashboard(약 2,800개 미국 주식, 11개 섹터 추적)의 무료 CSV 데이터를 활용하여 시장 폭 건강도를 진단하는 AI 에이전트 스킬입니다. 5가지 구성 요소(시장 폭 30%, 섹터 참여율 25%, 순환 15%, 모멘텀 20%, 역사적 맥락 10%)로 0-100 복합 점수를 계산하며, 점수가 높을수록 시장이 건강하다는 것을 의미합니다. 이 스킬은 유료 API가 필요 없는 무료 CSV 데이터 기반이므로 비용 부담 없이 사용할 수 있으며, Claude Code, Cursor, Codex 등 다양한 AI 에이전트 플랫폼에서 실행 가능합니다. 실행 시 Python 스크립트가 데이터를 다운로드하고 점수를 계산하여 마크다운 보고서를 생성하며, 경고 시스템과 모멘텀 평활화(EMA(3))를 포함하여 보다 정밀한 분석을 제공합니다. Market Top Detector(위험 점수 기반)와 달리, 이 스킬은 '참여 폭'에 초점을 맞추어 상승장이 광범위한지 편중되었는지를 평가합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/tradermonty/claude-trading-skills/tree/main/skills/uptrend-analyzer

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Uptrend Analyzer 스킬

목적

Monty의 Uptrend Ratio Dashboard(약 2,800개 미국 주식, 11개 섹터 추적)를 사용하여 시장 폭 건강도를 진단합니다. 0-100 복합 점수(높을수록 건강)와 익스포저 가이던스를 생성합니다.

Market Top Detector(API 기반 위험 점수)와 달리, 이 스킬은 무료 CSV 데이터를 사용하여 '참여 폭'을 평가합니다. 즉, 시장 상승이 광범위한지 좁은지를 판단합니다.

사용 시기

한국어:

  • 사용자가 "시장 폭이 건강한가요?" 또는 "상승장의 폭이 얼마나 넓나요?"라고 질문할 때
  • 사용자가 섹터별 업트렌드 비율을 확인하려 할 때
  • 사용자가 시장 참여율이나 폭 조건에 대해 질문할 때
  • 사용자가 폭 분석에 기반한 익스포저 가이던스가 필요할 때
  • 사용자가 Monty의 Uptrend Dashboard나 업트렌드 비율을 언급할 때

사전 요구 사항

  • Python 3.9+ 및 requests 라이브러리(CSV 파싱은 stdlib csv/io 모듈 사용)
  • GitHub에서 CSV 데이터를 가져오기 위한 인터넷 연결(API 키 불필요)
  • 유료 API 구독 불필요

Market Top Detector와의 차이점

측면Uptrend AnalyzerMarket Top Detector
점수 방향높을수록 건강높을수록 위험
데이터 소스무료 GitHub CSVFMP API(유료)
초점폭 참여율상단 형성 위험
API 키불필요필요(FMP)
방법론Monty Uptrend RatiosO'Neil/Minervini/Monty

실행 워크플로

1단계: Python 스크립트 실행

분석 스크립트 실행(API 키 불필요):

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

스크립트는 다음을 수행합니다:

  1. Monty의 GitHub 저장소에서 CSV 데이터 다운로드
  2. 5가지 구성 요소 점수 계산
  3. 복합 점수 및 보고서 생성

2단계: 결과 표시

생성된 마크다운 보고서를 사용자에게 표시하고, 다음을 강조합니다:

  • 복합 점수 및 영역 분류
  • 익스포저 가이던스(전체/정상/축소/방어/보존)
  • 가장 강한 섹터와 가장 약한 섹터를 보여주는 섹터 히트맵
  • 주요 모멘텀 및 순환 신호

5가지 구성 요소 점수 시스템

#구성 요소가중치주요 신호
1시장 폭(전체)30%비율 수준 + 추세 방향
2섹터 참여율25%업트렌드 섹터 수 + 비율 분산
3섹터 순환15%경기민감 vs 방어주 균형
4모멘텀20%기울기 방향 + 가속도
5역사적 맥락10%역사적 백분위 순위

점수 영역

점수영역익스포저 가이던스
80-100강한 상승장전체 익스포저 (100%)
60-79상승장정상 익스포저 (80-100%)
40-59중립축소 익스포저 (60-80%)
20-39신중방어적 (30-60%)
0-19하락장자본 보존 (0-30%)

7단계 영역 세부 정보

각 점수 영역은 보다 세밀한 평가를 위해 하위 영역으로 나뉩니다:

점수영역 상세색상
80-100강한 상승장녹색
70-79상승장-상위연두색
60-69상승장-하위연두색
40-59중립노란색
30-39신중-상위주황색
20-29신중-하위주황색
0-19하락장빨간색

경고 시스템

활성 경고는 복합 점수가 높은 경우에도 가이던스를 강화하는 익스포저 페널티를 트리거합니다:

경고조건페널티
후기 순환원자재 평균 > 경기민감 및 방어주 평균 모두-5
높은 분산최대-최소 섹터 비율 분산 > 40pp-3
다이버전스그룹 내 표준편차 > 8pp, 분산 > 20pp, 또는 추세 반대자-3

페널티는 합산됩니다(최대 -10). 다중 경고 할인(2개 이상 활성 시 +1)이 적용됩니다. 복합 점수 계산 후 적용됩니다.

모멘텀 평활화

기울기 값은 점수 계산 전에 EMA(3)(지수 이동 평균, 스팬=3)를 사용하여 평활화됩니다. 가속도는 평활화된 기울기의 최근 10-포인트 평균과 이전 10-포인트 평균을 비교하여 계산되며(10v10 윈도우), 데이터 포인트가 20개 미만인 경우 5v5로 대체됩니다.

역사적 신뢰도 지표

역사적 맥락 구성 요소는 다음을 기반으로 한 신뢰도 평가를 포함합니다:

  • 표본 크기: 사용 가능한 역사적 데이터 포인트 수
  • 레짐 적용 범위: 관측된 고유 시장 레짐(상승/하락/중립)의 비율
  • 최신성: 최신 데이터 포인트의 최신 정도

신뢰도 수준: 높음, 중간, 낮음.


API 요구 사항

필요: 없음(무료 GitHub CSV 데이터 사용)

출력 파일

  • JSON: uptrend_analysis_YYYY-MM-DD_HHMMSS.json
  • 마크다운: uptrend_analysis_YYYY-MM-DD_HHMMSS.md

참고 문서

references/uptrend_methodology.md

  • 업트렌드 비율 정의 및 임계값
  • 5가지 구성 요소 점수 방법론
  • 섹터 분류(경기민감/방어주/원자재)
  • 역사적 보정 노트

참고 문서 로드 시기

  • 첫 사용: 전체 프레임워크 이해를 위해 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).

관련 스킬