quantwise 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (362) hide show
  1. package/.claude/skills/README.md +80 -0
  2. package/.claude/skills/backtest-expert/SKILL.md +206 -0
  3. package/.claude/skills/backtest-expert/references/failed_tests.md +236 -0
  4. package/.claude/skills/backtest-expert/references/methodology.md +227 -0
  5. package/.claude/skills/breadth-chart-analyst/SKILL.md +583 -0
  6. package/.claude/skills/breadth-chart-analyst/assets/SP500_Breadth_Index_200MA_8MA.jpeg +0 -0
  7. package/.claude/skills/breadth-chart-analyst/assets/US_Stock_Market_Uptrend_Ratio.jpeg +0 -0
  8. package/.claude/skills/breadth-chart-analyst/assets/breadth_analysis_template.md +558 -0
  9. package/.claude/skills/breadth-chart-analyst/references/breadth_chart_methodology.md +590 -0
  10. package/.claude/skills/canslim-screener/SKILL.md +599 -0
  11. package/.claude/skills/canslim-screener/references/canslim_methodology.md +606 -0
  12. package/.claude/skills/canslim-screener/references/fmp_api_endpoints.md +707 -0
  13. package/.claude/skills/canslim-screener/references/interpretation_guide.md +516 -0
  14. package/.claude/skills/canslim-screener/references/scoring_system.md +597 -0
  15. package/.claude/skills/canslim-screener/scripts/calculators/earnings_calculator.py +343 -0
  16. package/.claude/skills/canslim-screener/scripts/calculators/growth_calculator.py +334 -0
  17. package/.claude/skills/canslim-screener/scripts/calculators/institutional_calculator.py +347 -0
  18. package/.claude/skills/canslim-screener/scripts/calculators/leadership_calculator.py +380 -0
  19. package/.claude/skills/canslim-screener/scripts/calculators/market_calculator.py +244 -0
  20. package/.claude/skills/canslim-screener/scripts/calculators/new_highs_calculator.py +194 -0
  21. package/.claude/skills/canslim-screener/scripts/calculators/supply_demand_calculator.py +221 -0
  22. package/.claude/skills/canslim-screener/scripts/finviz_stock_client.py +227 -0
  23. package/.claude/skills/canslim-screener/scripts/fmp_client.py +393 -0
  24. package/.claude/skills/canslim-screener/scripts/report_generator.py +405 -0
  25. package/.claude/skills/canslim-screener/scripts/scorer.py +625 -0
  26. package/.claude/skills/canslim-screener/scripts/screen_canslim.py +361 -0
  27. package/.claude/skills/canslim-screener/scripts/test_institutional_endpoint.py +109 -0
  28. package/.claude/skills/chart/SKILL.md +20 -0
  29. package/.claude/skills/dividend-growth-pullback-screener/SKILL.md +322 -0
  30. package/.claude/skills/dividend-growth-pullback-screener/references/dividend_growth_compounding.md +400 -0
  31. package/.claude/skills/dividend-growth-pullback-screener/references/fmp_api_guide.md +642 -0
  32. package/.claude/skills/dividend-growth-pullback-screener/references/rsi_oversold_strategy.md +333 -0
  33. package/.claude/skills/dividend-growth-pullback-screener/scripts/screen_dividend_growth_rsi.py +1155 -0
  34. package/.claude/skills/earnings-calendar/SKILL.md +721 -0
  35. package/.claude/skills/earnings-calendar/assets/earnings_report_template.md +102 -0
  36. package/.claude/skills/earnings-calendar/references/fmp_api_guide.md +590 -0
  37. package/.claude/skills/earnings-calendar/scripts/fetch_earnings_fmp.py +443 -0
  38. package/.claude/skills/earnings-calendar/scripts/generate_report.py +366 -0
  39. package/.claude/skills/economic-calendar-fetcher/SKILL.md +365 -0
  40. package/.claude/skills/economic-calendar-fetcher/references/fmp_api_documentation.md +345 -0
  41. package/.claude/skills/economic-calendar-fetcher/scripts/get_economic_calendar.py +267 -0
  42. package/.claude/skills/ftd-detector/SKILL.md +147 -0
  43. package/.claude/skills/ftd-detector/references/ftd_methodology.md +188 -0
  44. package/.claude/skills/ftd-detector/references/post_ftd_guide.md +185 -0
  45. package/.claude/skills/ftd-detector/scripts/fmp_client.py +158 -0
  46. package/.claude/skills/ftd-detector/scripts/ftd_detector.py +280 -0
  47. package/.claude/skills/ftd-detector/scripts/post_ftd_monitor.py +404 -0
  48. package/.claude/skills/ftd-detector/scripts/rally_tracker.py +508 -0
  49. package/.claude/skills/ftd-detector/scripts/report_generator.py +341 -0
  50. package/.claude/skills/ftd-detector/scripts/tests/conftest.py +9 -0
  51. package/.claude/skills/ftd-detector/scripts/tests/helpers.py +107 -0
  52. package/.claude/skills/ftd-detector/scripts/tests/test_post_ftd_monitor.py +311 -0
  53. package/.claude/skills/ftd-detector/scripts/tests/test_rally_tracker.py +302 -0
  54. package/.claude/skills/institutional-flow-tracker/README.md +362 -0
  55. package/.claude/skills/institutional-flow-tracker/SKILL.md +357 -0
  56. package/.claude/skills/institutional-flow-tracker/references/13f_filings_guide.md +383 -0
  57. package/.claude/skills/institutional-flow-tracker/references/institutional_investor_types.md +580 -0
  58. package/.claude/skills/institutional-flow-tracker/references/interpretation_framework.md +573 -0
  59. package/.claude/skills/institutional-flow-tracker/scripts/analyze_single_stock.py +457 -0
  60. package/.claude/skills/institutional-flow-tracker/scripts/track_institution_portfolio.py +108 -0
  61. package/.claude/skills/institutional-flow-tracker/scripts/track_institutional_flow.py +450 -0
  62. package/.claude/skills/macro-regime-detector/SKILL.md +86 -0
  63. package/.claude/skills/macro-regime-detector/references/historical_regimes.md +124 -0
  64. package/.claude/skills/macro-regime-detector/references/indicator_interpretation_guide.md +144 -0
  65. package/.claude/skills/macro-regime-detector/references/regime_detection_methodology.md +138 -0
  66. package/.claude/skills/macro-regime-detector/scripts/calculators/__init__.py +1 -0
  67. package/.claude/skills/macro-regime-detector/scripts/calculators/concentration_calculator.py +165 -0
  68. package/.claude/skills/macro-regime-detector/scripts/calculators/credit_conditions_calculator.py +124 -0
  69. package/.claude/skills/macro-regime-detector/scripts/calculators/equity_bond_calculator.py +198 -0
  70. package/.claude/skills/macro-regime-detector/scripts/calculators/sector_rotation_calculator.py +123 -0
  71. package/.claude/skills/macro-regime-detector/scripts/calculators/size_factor_calculator.py +131 -0
  72. package/.claude/skills/macro-regime-detector/scripts/calculators/utils.py +347 -0
  73. package/.claude/skills/macro-regime-detector/scripts/calculators/yield_curve_calculator.py +279 -0
  74. package/.claude/skills/macro-regime-detector/scripts/fmp_client.py +134 -0
  75. package/.claude/skills/macro-regime-detector/scripts/macro_regime_detector.py +278 -0
  76. package/.claude/skills/macro-regime-detector/scripts/report_generator.py +327 -0
  77. package/.claude/skills/macro-regime-detector/scripts/scorer.py +574 -0
  78. package/.claude/skills/macro-regime-detector/scripts/tests/conftest.py +9 -0
  79. package/.claude/skills/macro-regime-detector/scripts/tests/test_concentration.py +78 -0
  80. package/.claude/skills/macro-regime-detector/scripts/tests/test_credit_conditions.py +59 -0
  81. package/.claude/skills/macro-regime-detector/scripts/tests/test_equity_bond.py +74 -0
  82. package/.claude/skills/macro-regime-detector/scripts/tests/test_helpers.py +90 -0
  83. package/.claude/skills/macro-regime-detector/scripts/tests/test_scorer.py +439 -0
  84. package/.claude/skills/macro-regime-detector/scripts/tests/test_sector_rotation.py +78 -0
  85. package/.claude/skills/macro-regime-detector/scripts/tests/test_size_factor.py +59 -0
  86. package/.claude/skills/macro-regime-detector/scripts/tests/test_utils.py +126 -0
  87. package/.claude/skills/macro-regime-detector/scripts/tests/test_yield_curve.py +64 -0
  88. package/.claude/skills/market-breadth-analyzer/SKILL.md +121 -0
  89. package/.claude/skills/market-breadth-analyzer/references/breadth_analysis_methodology.md +168 -0
  90. package/.claude/skills/market-breadth-analyzer/scripts/calculators/__init__.py +1 -0
  91. package/.claude/skills/market-breadth-analyzer/scripts/calculators/bearish_signal_calculator.py +150 -0
  92. package/.claude/skills/market-breadth-analyzer/scripts/calculators/cycle_calculator.py +168 -0
  93. package/.claude/skills/market-breadth-analyzer/scripts/calculators/divergence_calculator.py +119 -0
  94. package/.claude/skills/market-breadth-analyzer/scripts/calculators/historical_context_calculator.py +120 -0
  95. package/.claude/skills/market-breadth-analyzer/scripts/calculators/ma_crossover_calculator.py +115 -0
  96. package/.claude/skills/market-breadth-analyzer/scripts/calculators/trend_level_calculator.py +103 -0
  97. package/.claude/skills/market-breadth-analyzer/scripts/csv_client.py +225 -0
  98. package/.claude/skills/market-breadth-analyzer/scripts/market_breadth_analyzer.py +307 -0
  99. package/.claude/skills/market-breadth-analyzer/scripts/report_generator.py +330 -0
  100. package/.claude/skills/market-breadth-analyzer/scripts/scorer.py +271 -0
  101. package/.claude/skills/market-environment-analysis/SKILL.md +139 -0
  102. package/.claude/skills/market-environment-analysis/references/analysis_patterns.md +124 -0
  103. package/.claude/skills/market-environment-analysis/references/indicators.md +99 -0
  104. package/.claude/skills/market-environment-analysis/scripts/market_utils.py +127 -0
  105. package/.claude/skills/market-news-analyst/SKILL.md +714 -0
  106. package/.claude/skills/market-news-analyst/references/corporate_news_impact.md +446 -0
  107. package/.claude/skills/market-news-analyst/references/geopolitical_commodity_correlations.md +499 -0
  108. package/.claude/skills/market-news-analyst/references/market_event_patterns.md +393 -0
  109. package/.claude/skills/market-news-analyst/references/trusted_news_sources.md +510 -0
  110. package/.claude/skills/market-top-detector/SKILL.md +159 -0
  111. package/.claude/skills/market-top-detector/references/distribution_day_guide.md +100 -0
  112. package/.claude/skills/market-top-detector/references/historical_tops.md +142 -0
  113. package/.claude/skills/market-top-detector/references/market_top_methodology.md +167 -0
  114. package/.claude/skills/market-top-detector/scripts/calculators/__init__.py +17 -0
  115. package/.claude/skills/market-top-detector/scripts/calculators/breadth_calculator.py +116 -0
  116. package/.claude/skills/market-top-detector/scripts/calculators/defensive_rotation_calculator.py +127 -0
  117. package/.claude/skills/market-top-detector/scripts/calculators/distribution_day_calculator.py +161 -0
  118. package/.claude/skills/market-top-detector/scripts/calculators/index_technical_calculator.py +254 -0
  119. package/.claude/skills/market-top-detector/scripts/calculators/leading_stock_calculator.py +198 -0
  120. package/.claude/skills/market-top-detector/scripts/calculators/sentiment_calculator.py +213 -0
  121. package/.claude/skills/market-top-detector/scripts/fmp_client.py +158 -0
  122. package/.claude/skills/market-top-detector/scripts/market_top_detector.py +349 -0
  123. package/.claude/skills/market-top-detector/scripts/report_generator.py +314 -0
  124. package/.claude/skills/market-top-detector/scripts/scorer.py +473 -0
  125. package/.claude/skills/market-top-detector/scripts/tests/conftest.py +9 -0
  126. package/.claude/skills/market-top-detector/scripts/tests/helpers.py +49 -0
  127. package/.claude/skills/market-top-detector/scripts/tests/test_breadth.py +62 -0
  128. package/.claude/skills/market-top-detector/scripts/tests/test_defensive_rotation.py +56 -0
  129. package/.claude/skills/market-top-detector/scripts/tests/test_distribution_day.py +92 -0
  130. package/.claude/skills/market-top-detector/scripts/tests/test_index_technical.py +73 -0
  131. package/.claude/skills/market-top-detector/scripts/tests/test_leading_stock.py +57 -0
  132. package/.claude/skills/market-top-detector/scripts/tests/test_scorer.py +180 -0
  133. package/.claude/skills/market-top-detector/scripts/tests/test_sentiment.py +64 -0
  134. package/.claude/skills/options-strategy-advisor/README.md +469 -0
  135. package/.claude/skills/options-strategy-advisor/SKILL.md +959 -0
  136. package/.claude/skills/options-strategy-advisor/scripts/black_scholes.py +495 -0
  137. package/.claude/skills/pair-trade-screener/README.md +389 -0
  138. package/.claude/skills/pair-trade-screener/SKILL.md +622 -0
  139. package/.claude/skills/pair-trade-screener/references/cointegration_guide.md +745 -0
  140. package/.claude/skills/pair-trade-screener/references/methodology.md +853 -0
  141. package/.claude/skills/pair-trade-screener/scripts/analyze_spread.py +394 -0
  142. package/.claude/skills/pair-trade-screener/scripts/find_pairs.py +535 -0
  143. package/.claude/skills/portfolio-manager/README.md +394 -0
  144. package/.claude/skills/portfolio-manager/SKILL.md +750 -0
  145. package/.claude/skills/portfolio-manager/references/alpaca-mcp-setup.md +367 -0
  146. package/.claude/skills/portfolio-manager/references/asset-allocation.md +502 -0
  147. package/.claude/skills/portfolio-manager/references/diversification-principles.md +553 -0
  148. package/.claude/skills/portfolio-manager/references/portfolio-risk-metrics.md +603 -0
  149. package/.claude/skills/portfolio-manager/references/position-evaluation.md +477 -0
  150. package/.claude/skills/portfolio-manager/references/rebalancing-strategies.md +715 -0
  151. package/.claude/skills/portfolio-manager/references/risk-profile-questionnaire.md +608 -0
  152. package/.claude/skills/portfolio-manager/references/target-allocations.md +558 -0
  153. package/.claude/skills/portfolio-manager/scripts/test_alpaca_connection.py +286 -0
  154. package/.claude/skills/scenario-analyzer/SKILL.md +317 -0
  155. package/.claude/skills/scenario-analyzer/references/headline_event_patterns.md +264 -0
  156. package/.claude/skills/scenario-analyzer/references/scenario_playbooks.md +320 -0
  157. package/.claude/skills/scenario-analyzer/references/sector_sensitivity_matrix.md +217 -0
  158. package/.claude/skills/sector-analyst/SKILL.md +206 -0
  159. package/.claude/skills/sector-analyst/assets/industory_performance_1.jpeg +0 -0
  160. package/.claude/skills/sector-analyst/assets/industory_performance_2.jpeg +0 -0
  161. package/.claude/skills/sector-analyst/assets/sector_performance.jpeg +0 -0
  162. package/.claude/skills/sector-analyst/references/sector_rotation.md +170 -0
  163. package/.claude/skills/stanley-druckenmiller-investment/SKILL.md +84 -0
  164. package/.claude/skills/stanley-druckenmiller-investment/references/case-studies.md +148 -0
  165. package/.claude/skills/stanley-druckenmiller-investment/references/investment-philosophy.md +80 -0
  166. package/.claude/skills/stanley-druckenmiller-investment/references/market-analysis-guide.md +146 -0
  167. package/.claude/skills/stock/NOTION_SETUP.md +33 -0
  168. package/.claude/skills/stock/SKILL.md +38 -0
  169. package/.claude/skills/technical-analyst/SKILL.md +238 -0
  170. package/.claude/skills/technical-analyst/assets/analysis_template.md +183 -0
  171. package/.claude/skills/technical-analyst/references/technical_analysis_framework.md +282 -0
  172. package/.claude/skills/theme-detector/SKILL.md +320 -0
  173. package/.claude/skills/theme-detector/assets/report_template.md +155 -0
  174. package/.claude/skills/theme-detector/references/cross_sector_themes.md +252 -0
  175. package/.claude/skills/theme-detector/references/finviz_industry_codes.md +403 -0
  176. package/.claude/skills/theme-detector/references/thematic_etf_catalog.md +333 -0
  177. package/.claude/skills/theme-detector/references/theme_detection_methodology.md +430 -0
  178. package/.claude/skills/theme-detector/scripts/calculators/__init__.py +1 -0
  179. package/.claude/skills/theme-detector/scripts/calculators/heat_calculator.py +123 -0
  180. package/.claude/skills/theme-detector/scripts/calculators/industry_ranker.py +98 -0
  181. package/.claude/skills/theme-detector/scripts/calculators/lifecycle_calculator.py +172 -0
  182. package/.claude/skills/theme-detector/scripts/calculators/theme_classifier.py +195 -0
  183. package/.claude/skills/theme-detector/scripts/calculators/theme_discoverer.py +280 -0
  184. package/.claude/skills/theme-detector/scripts/config_loader.py +142 -0
  185. package/.claude/skills/theme-detector/scripts/default_theme_config.py +254 -0
  186. package/.claude/skills/theme-detector/scripts/etf_scanner.py +609 -0
  187. package/.claude/skills/theme-detector/scripts/finviz_performance_client.py +131 -0
  188. package/.claude/skills/theme-detector/scripts/report_generator.py +490 -0
  189. package/.claude/skills/theme-detector/scripts/representative_stock_selector.py +673 -0
  190. package/.claude/skills/theme-detector/scripts/scorer.py +87 -0
  191. package/.claude/skills/theme-detector/scripts/tests/README.md +21 -0
  192. package/.claude/skills/theme-detector/scripts/tests/conftest.py +9 -0
  193. package/.claude/skills/theme-detector/scripts/tests/test_config_loader.py +239 -0
  194. package/.claude/skills/theme-detector/scripts/tests/test_etf_scanner.py +810 -0
  195. package/.claude/skills/theme-detector/scripts/tests/test_heat_calculator.py +245 -0
  196. package/.claude/skills/theme-detector/scripts/tests/test_industry_ranker.py +256 -0
  197. package/.claude/skills/theme-detector/scripts/tests/test_lifecycle_calculator.py +301 -0
  198. package/.claude/skills/theme-detector/scripts/tests/test_report_generator.py +624 -0
  199. package/.claude/skills/theme-detector/scripts/tests/test_representative_stock_selector.py +898 -0
  200. package/.claude/skills/theme-detector/scripts/tests/test_scorer.py +185 -0
  201. package/.claude/skills/theme-detector/scripts/tests/test_theme_classifier.py +534 -0
  202. package/.claude/skills/theme-detector/scripts/tests/test_theme_detector_e2e.py +467 -0
  203. package/.claude/skills/theme-detector/scripts/tests/test_theme_discoverer.py +458 -0
  204. package/.claude/skills/theme-detector/scripts/tests/test_uptrend_client.py +76 -0
  205. package/.claude/skills/theme-detector/scripts/theme_detector.py +815 -0
  206. package/.claude/skills/theme-detector/scripts/themes.yaml +168 -0
  207. package/.claude/skills/theme-detector/scripts/uptrend_client.py +241 -0
  208. package/.claude/skills/uptrend-analyzer/SKILL.md +108 -0
  209. package/.claude/skills/uptrend-analyzer/references/uptrend_methodology.md +215 -0
  210. package/.claude/skills/uptrend-analyzer/scripts/calculators/__init__.py +1 -0
  211. package/.claude/skills/uptrend-analyzer/scripts/calculators/historical_context_calculator.py +122 -0
  212. package/.claude/skills/uptrend-analyzer/scripts/calculators/market_breadth_calculator.py +145 -0
  213. package/.claude/skills/uptrend-analyzer/scripts/calculators/momentum_calculator.py +183 -0
  214. package/.claude/skills/uptrend-analyzer/scripts/calculators/sector_participation_calculator.py +204 -0
  215. package/.claude/skills/uptrend-analyzer/scripts/calculators/sector_rotation_calculator.py +218 -0
  216. package/.claude/skills/uptrend-analyzer/scripts/data_fetcher.py +236 -0
  217. package/.claude/skills/uptrend-analyzer/scripts/report_generator.py +329 -0
  218. package/.claude/skills/uptrend-analyzer/scripts/scorer.py +276 -0
  219. package/.claude/skills/uptrend-analyzer/scripts/uptrend_analyzer.py +219 -0
  220. package/.claude/skills/us-market-bubble-detector/CHANGELOG.md +118 -0
  221. package/.claude/skills/us-market-bubble-detector/SKILL.md +545 -0
  222. package/.claude/skills/us-market-bubble-detector/references/bubble_framework.md +335 -0
  223. package/.claude/skills/us-market-bubble-detector/references/historical_cases.md +327 -0
  224. package/.claude/skills/us-market-bubble-detector/references/implementation_guide.md +473 -0
  225. package/.claude/skills/us-market-bubble-detector/references/quick_reference.md +354 -0
  226. package/.claude/skills/us-market-bubble-detector/references/quick_reference_en.md +342 -0
  227. package/.claude/skills/us-market-bubble-detector/scripts/bubble_scorer.py +309 -0
  228. package/.claude/skills/us-stock-analysis/SKILL.md +294 -0
  229. package/.claude/skills/us-stock-analysis/references/financial-metrics.md +172 -0
  230. package/.claude/skills/us-stock-analysis/references/fundamental-analysis.md +129 -0
  231. package/.claude/skills/us-stock-analysis/references/report-template.md +207 -0
  232. package/.claude/skills/us-stock-analysis/references/technical-analysis.md +93 -0
  233. package/.claude/skills/value-dividend-screener/SKILL.md +562 -0
  234. package/.claude/skills/value-dividend-screener/references/fmp_api_guide.md +348 -0
  235. package/.claude/skills/value-dividend-screener/references/screening_methodology.md +315 -0
  236. package/.claude/skills/value-dividend-screener/scripts/screen_dividend_stocks.py +1138 -0
  237. package/.claude/skills/vcp-screener/SKILL.md +79 -0
  238. package/.claude/skills/vcp-screener/references/fmp_api_endpoints.md +45 -0
  239. package/.claude/skills/vcp-screener/references/scoring_system.md +154 -0
  240. package/.claude/skills/vcp-screener/references/vcp_methodology.md +124 -0
  241. package/.claude/skills/vcp-screener/scripts/calculators/__init__.py +1 -0
  242. package/.claude/skills/vcp-screener/scripts/calculators/pivot_proximity_calculator.py +139 -0
  243. package/.claude/skills/vcp-screener/scripts/calculators/relative_strength_calculator.py +161 -0
  244. package/.claude/skills/vcp-screener/scripts/calculators/trend_template_calculator.py +228 -0
  245. package/.claude/skills/vcp-screener/scripts/calculators/vcp_pattern_calculator.py +322 -0
  246. package/.claude/skills/vcp-screener/scripts/calculators/volume_pattern_calculator.py +121 -0
  247. package/.claude/skills/vcp-screener/scripts/fmp_client.py +162 -0
  248. package/.claude/skills/vcp-screener/scripts/report_generator.py +317 -0
  249. package/.claude/skills/vcp-screener/scripts/scorer.py +155 -0
  250. package/.claude/skills/vcp-screener/scripts/screen_vcp.py +536 -0
  251. package/.claude/skills/vcp-screener/scripts/tests/__init__.py +0 -0
  252. package/.claude/skills/vcp-screener/scripts/tests/conftest.py +9 -0
  253. package/.claude/skills/vcp-screener/scripts/tests/test_vcp_screener.py +834 -0
  254. package/.claude/skills/weekly-trade-strategy/.claude/agents/druckenmiller-strategy-planner.md +300 -0
  255. package/.claude/skills/weekly-trade-strategy/.claude/agents/market-news-analyzer.md +239 -0
  256. package/.claude/skills/weekly-trade-strategy/.claude/agents/technical-market-analyst.md +187 -0
  257. package/.claude/skills/weekly-trade-strategy/.claude/agents/us-market-analyst.md +218 -0
  258. package/.claude/skills/weekly-trade-strategy/.claude/agents/weekly-trade-blog-writer.md +318 -0
  259. package/.claude/skills/weekly-trade-strategy/.claude/skills/breadth-chart-analyst/SKILL.md +662 -0
  260. package/.claude/skills/weekly-trade-strategy/.claude/skills/breadth-chart-analyst/assets/SP500_Breadth_Index_200MA_8MA.jpeg +0 -0
  261. package/.claude/skills/weekly-trade-strategy/.claude/skills/breadth-chart-analyst/assets/US_Stock_Market_Uptrend_Ratio.jpeg +0 -0
  262. package/.claude/skills/weekly-trade-strategy/.claude/skills/breadth-chart-analyst/assets/breadth_analysis_template.md +558 -0
  263. package/.claude/skills/weekly-trade-strategy/.claude/skills/breadth-chart-analyst/references/breadth_chart_methodology.md +590 -0
  264. package/.claude/skills/weekly-trade-strategy/.claude/skills/earnings-calendar/SKILL.md +721 -0
  265. package/.claude/skills/weekly-trade-strategy/.claude/skills/earnings-calendar/assets/earnings_report_template.md +102 -0
  266. package/.claude/skills/weekly-trade-strategy/.claude/skills/earnings-calendar/earnings_calendar_2025-11-02.md +447 -0
  267. package/.claude/skills/weekly-trade-strategy/.claude/skills/earnings-calendar/references/fmp_api_guide.md +590 -0
  268. package/.claude/skills/weekly-trade-strategy/.claude/skills/earnings-calendar/scripts/fetch_earnings_fmp.py +443 -0
  269. package/.claude/skills/weekly-trade-strategy/.claude/skills/earnings-calendar/scripts/generate_report.py +366 -0
  270. package/.claude/skills/weekly-trade-strategy/.claude/skills/economic-calendar-fetcher/SKILL.md +365 -0
  271. package/.claude/skills/weekly-trade-strategy/.claude/skills/economic-calendar-fetcher/references/fmp_api_documentation.md +345 -0
  272. package/.claude/skills/weekly-trade-strategy/.claude/skills/economic-calendar-fetcher/scripts/get_economic_calendar.py +267 -0
  273. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-environment-analysis/SKILL.md +139 -0
  274. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-environment-analysis/references/analysis_patterns.md +124 -0
  275. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-environment-analysis/references/indicators.md +99 -0
  276. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-environment-analysis/scripts/market_utils.py +127 -0
  277. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-news-analyst/SKILL.md +714 -0
  278. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-news-analyst/references/corporate_news_impact.md +446 -0
  279. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-news-analyst/references/geopolitical_commodity_correlations.md +499 -0
  280. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-news-analyst/references/market_event_patterns.md +393 -0
  281. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-news-analyst/references/trusted_news_sources.md +510 -0
  282. package/.claude/skills/weekly-trade-strategy/.claude/skills/sector-analyst/SKILL.md +206 -0
  283. package/.claude/skills/weekly-trade-strategy/.claude/skills/sector-analyst/assets/industory_performance_1.jpeg +0 -0
  284. package/.claude/skills/weekly-trade-strategy/.claude/skills/sector-analyst/assets/industory_performance_2.jpeg +0 -0
  285. package/.claude/skills/weekly-trade-strategy/.claude/skills/sector-analyst/assets/sector_performance.jpeg +0 -0
  286. package/.claude/skills/weekly-trade-strategy/.claude/skills/sector-analyst/references/sector_rotation.md +170 -0
  287. package/.claude/skills/weekly-trade-strategy/.claude/skills/stanley-druckenmiller-investment/SKILL.md +84 -0
  288. package/.claude/skills/weekly-trade-strategy/.claude/skills/stanley-druckenmiller-investment/references/case-studies.md +148 -0
  289. package/.claude/skills/weekly-trade-strategy/.claude/skills/stanley-druckenmiller-investment/references/investment-philosophy.md +80 -0
  290. package/.claude/skills/weekly-trade-strategy/.claude/skills/stanley-druckenmiller-investment/references/market-analysis-guide.md +146 -0
  291. package/.claude/skills/weekly-trade-strategy/.claude/skills/technical-analyst/SKILL.md +238 -0
  292. package/.claude/skills/weekly-trade-strategy/.claude/skills/technical-analyst/assets/analysis_template.md +183 -0
  293. package/.claude/skills/weekly-trade-strategy/.claude/skills/technical-analyst/references/technical_analysis_framework.md +282 -0
  294. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/CHANGELOG.md +118 -0
  295. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/SKILL.md +545 -0
  296. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/references/bubble_framework.md +335 -0
  297. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/references/historical_cases.md +327 -0
  298. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/references/implementation_guide.md +473 -0
  299. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/references/quick_reference.md +354 -0
  300. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/references/quick_reference_en.md +342 -0
  301. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/scripts/bubble_scorer.py +309 -0
  302. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-stock-analysis/SKILL.md +294 -0
  303. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-stock-analysis/references/financial-metrics.md +172 -0
  304. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-stock-analysis/references/fundamental-analysis.md +129 -0
  305. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-stock-analysis/references/report-template.md +207 -0
  306. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-stock-analysis/references/technical-analysis.md +93 -0
  307. package/.claude/skills/weekly-trade-strategy/CLAUDE.md +454 -0
  308. package/.claude/skills/weekly-trade-strategy/README.md +287 -0
  309. package/.claude/skills/weekly-trade-strategy/blogs/.gitkeep +0 -0
  310. package/.claude/skills/weekly-trade-strategy/charts/.gitkeep +0 -0
  311. package/.claude/skills/weekly-trade-strategy/earnings_data.json +10054 -0
  312. package/.claude/skills/weekly-trade-strategy/skills/breadth-chart-analyst/SKILL.md +662 -0
  313. package/.claude/skills/weekly-trade-strategy/skills/breadth-chart-analyst/assets/SP500_Breadth_Index_200MA_8MA.jpeg +0 -0
  314. package/.claude/skills/weekly-trade-strategy/skills/breadth-chart-analyst/assets/US_Stock_Market_Uptrend_Ratio.jpeg +0 -0
  315. package/.claude/skills/weekly-trade-strategy/skills/breadth-chart-analyst/assets/breadth_analysis_template.md +558 -0
  316. package/.claude/skills/weekly-trade-strategy/skills/breadth-chart-analyst/references/breadth_chart_methodology.md +590 -0
  317. package/.claude/skills/weekly-trade-strategy/skills/earnings-calendar/SKILL.md +721 -0
  318. package/.claude/skills/weekly-trade-strategy/skills/earnings-calendar/assets/earnings_report_template.md +102 -0
  319. package/.claude/skills/weekly-trade-strategy/skills/earnings-calendar/earnings_calendar_2025-11-02.md +447 -0
  320. package/.claude/skills/weekly-trade-strategy/skills/earnings-calendar/references/fmp_api_guide.md +590 -0
  321. package/.claude/skills/weekly-trade-strategy/skills/earnings-calendar/scripts/fetch_earnings_fmp.py +443 -0
  322. package/.claude/skills/weekly-trade-strategy/skills/earnings-calendar/scripts/generate_report.py +366 -0
  323. package/.claude/skills/weekly-trade-strategy/skills/economic-calendar-fetcher/SKILL.md +365 -0
  324. package/.claude/skills/weekly-trade-strategy/skills/economic-calendar-fetcher/references/fmp_api_documentation.md +345 -0
  325. package/.claude/skills/weekly-trade-strategy/skills/economic-calendar-fetcher/scripts/get_economic_calendar.py +267 -0
  326. package/.claude/skills/weekly-trade-strategy/skills/market-environment-analysis/SKILL.md +139 -0
  327. package/.claude/skills/weekly-trade-strategy/skills/market-environment-analysis/references/analysis_patterns.md +124 -0
  328. package/.claude/skills/weekly-trade-strategy/skills/market-environment-analysis/references/indicators.md +99 -0
  329. package/.claude/skills/weekly-trade-strategy/skills/market-environment-analysis/scripts/market_utils.py +127 -0
  330. package/.claude/skills/weekly-trade-strategy/skills/market-news-analyst/SKILL.md +714 -0
  331. package/.claude/skills/weekly-trade-strategy/skills/market-news-analyst/references/corporate_news_impact.md +446 -0
  332. package/.claude/skills/weekly-trade-strategy/skills/market-news-analyst/references/geopolitical_commodity_correlations.md +499 -0
  333. package/.claude/skills/weekly-trade-strategy/skills/market-news-analyst/references/market_event_patterns.md +393 -0
  334. package/.claude/skills/weekly-trade-strategy/skills/market-news-analyst/references/trusted_news_sources.md +510 -0
  335. package/.claude/skills/weekly-trade-strategy/skills/sector-analyst/SKILL.md +206 -0
  336. package/.claude/skills/weekly-trade-strategy/skills/sector-analyst/assets/industory_performance_1.jpeg +0 -0
  337. package/.claude/skills/weekly-trade-strategy/skills/sector-analyst/assets/industory_performance_2.jpeg +0 -0
  338. package/.claude/skills/weekly-trade-strategy/skills/sector-analyst/assets/sector_performance.jpeg +0 -0
  339. package/.claude/skills/weekly-trade-strategy/skills/sector-analyst/references/sector_rotation.md +170 -0
  340. package/.claude/skills/weekly-trade-strategy/skills/stanley-druckenmiller-investment/SKILL.md +84 -0
  341. package/.claude/skills/weekly-trade-strategy/skills/stanley-druckenmiller-investment/references/case-studies.md +148 -0
  342. package/.claude/skills/weekly-trade-strategy/skills/stanley-druckenmiller-investment/references/investment-philosophy.md +80 -0
  343. package/.claude/skills/weekly-trade-strategy/skills/stanley-druckenmiller-investment/references/market-analysis-guide.md +146 -0
  344. package/.claude/skills/weekly-trade-strategy/skills/technical-analyst/SKILL.md +238 -0
  345. package/.claude/skills/weekly-trade-strategy/skills/technical-analyst/assets/analysis_template.md +183 -0
  346. package/.claude/skills/weekly-trade-strategy/skills/technical-analyst/references/technical_analysis_framework.md +282 -0
  347. package/.claude/skills/weekly-trade-strategy/skills/us-market-bubble-detector/CHANGELOG.md +118 -0
  348. package/.claude/skills/weekly-trade-strategy/skills/us-market-bubble-detector/SKILL.md +545 -0
  349. package/.claude/skills/weekly-trade-strategy/skills/us-market-bubble-detector/references/bubble_framework.md +335 -0
  350. package/.claude/skills/weekly-trade-strategy/skills/us-market-bubble-detector/references/historical_cases.md +327 -0
  351. package/.claude/skills/weekly-trade-strategy/skills/us-market-bubble-detector/references/implementation_guide.md +473 -0
  352. package/.claude/skills/weekly-trade-strategy/skills/us-market-bubble-detector/references/quick_reference.md +354 -0
  353. package/.claude/skills/weekly-trade-strategy/skills/us-market-bubble-detector/references/quick_reference_en.md +342 -0
  354. package/.claude/skills/weekly-trade-strategy/skills/us-market-bubble-detector/scripts/bubble_scorer.py +309 -0
  355. package/.claude/skills/weekly-trade-strategy/skills/us-stock-analysis/SKILL.md +294 -0
  356. package/.claude/skills/weekly-trade-strategy/skills/us-stock-analysis/references/financial-metrics.md +172 -0
  357. package/.claude/skills/weekly-trade-strategy/skills/us-stock-analysis/references/fundamental-analysis.md +129 -0
  358. package/.claude/skills/weekly-trade-strategy/skills/us-stock-analysis/references/report-template.md +207 -0
  359. package/.claude/skills/weekly-trade-strategy/skills/us-stock-analysis/references/technical-analysis.md +93 -0
  360. package/.mcp.json +3 -0
  361. package/cli.mjs +15 -15
  362. package/package.json +4 -2
@@ -0,0 +1,583 @@
1
+ ---
2
+ name: breadth-chart-analyst
3
+ description: This skill should be used when analyzing market breadth charts, specifically the S&P 500 Breadth Index (200-Day MA based) and the US Stock Market Uptrend Stock Ratio charts. Use this skill when the user provides breadth chart images for analysis, requests market breadth assessment, positioning strategy recommendations, or wants to understand medium-term strategic and short-term tactical market outlook based on breadth indicators. All analysis and output are conducted in English.
4
+ ---
5
+
6
+ # Breadth Chart Analyst
7
+
8
+ ## Overview
9
+
10
+ This skill enables specialized analysis of two complementary market breadth charts that provide strategic (medium to long-term) and tactical (short-term) market perspectives. Analyze breadth chart images to assess market health, identify trading signals based on backtested strategies, and develop positioning recommendations. All thinking and output are conducted exclusively in English.
11
+
12
+ ## Core Principles
13
+
14
+ 1. **Dual-Timeframe Analysis**: Combine strategic (Chart 1: 200MA Breadth) and tactical (Chart 2: Uptrend Ratio) perspectives
15
+ 2. **Backtested Strategy Focus**: Apply proven systematic strategies based on historical patterns
16
+ 3. **Objective Signal Identification**: Focus on clearly defined thresholds, transitions, and markers
17
+ 4. **English Communication**: Conduct all analysis and generate all reports in English
18
+ 5. **Actionable Recommendations**: Provide specific positioning guidance for different investor types
19
+
20
+ ## Chart Types and Purposes
21
+
22
+ ### Chart 1: S&P 500 Breadth Index (200-Day MA Based)
23
+
24
+ **Purpose**: Medium to long-term strategic market positioning
25
+
26
+ **Key Elements**:
27
+ - **8-Day MA (Orange Line)**: Short-term breadth trend, primary entry signal generator
28
+ - **200-Day MA (Green Line)**: Long-term breadth trend, primary exit signal generator
29
+ - **Red Dashed Line (73%)**: Average peak level - market overheating threshold
30
+ - **Blue Dashed Line (23%)**: Average 8MA trough level - extreme oversold, excellent buying opportunity
31
+ - **Triangles**:
32
+ - Purple ▼ = 8MA troughs (buy signal when reverses)
33
+ - Blue ▼ = 200MA troughs (major cycle lows)
34
+ - Red ▲ = 200MA peaks (sell signal)
35
+ - **Pink Background**: Downtrend periods
36
+
37
+ **Backtested Strategy**:
38
+ - **BUY**: When 8MA reverses from a trough (especially below 23%)
39
+ - **SELL**: When 200MA forms a peak (typically near/above 73%)
40
+ - **Result**: Historically high performance, avoids bear markets
41
+
42
+ ### Chart 2: US Stock Market - Uptrend Stock Ratio
43
+
44
+ **Purpose**: Short-term tactical timing and swing trading
45
+
46
+ **Key Elements**:
47
+ - **Uptrend Stock Definition**: Stocks above 200MA/50MA/20MA with positive 1-month performance
48
+ - **Green Regions**: Market in uptrend phase
49
+ - **Red Regions**: Market in downtrend phase
50
+ - **~10% Level (Lower Orange Dashed)**: Short-term bottom, extreme oversold
51
+ - **~40% Level (Upper Orange Dashed)**: Short-term top, market overheating
52
+
53
+ **Swing Trading Strategy**:
54
+ - **ENTER LONG**: When color changes from red to green (especially from <10-15% levels)
55
+ - **EXIT LONG**: When color changes from green to red (especially from >35-40% levels)
56
+ - **Timeframe**: Days to weeks
57
+
58
+ ## Analysis Workflow
59
+
60
+ ### Step 1: Receive Chart Images and Prepare Analysis
61
+
62
+ When the user provides breadth chart images for analysis:
63
+
64
+ 1. Confirm receipt of chart image(s)
65
+ 2. Identify which chart(s) are provided:
66
+ - Chart 1 only (200MA Breadth)
67
+ - Chart 2 only (Uptrend Ratio)
68
+ - Both charts
69
+ 3. Note any specific focus areas or questions from the user
70
+ 4. Proceed with systematic analysis
71
+
72
+ **Language Note**: All subsequent thinking, analysis, and output will be in English.
73
+
74
+ ### Step 2: Load Breadth Chart Methodology
75
+
76
+ Before beginning analysis, read the comprehensive breadth chart methodology:
77
+
78
+ ```
79
+ Read: references/breadth_chart_methodology.md
80
+ ```
81
+
82
+ This reference contains detailed guidance on:
83
+ - Chart 1: 200MA-based breadth index interpretation and strategy
84
+ - Chart 2: Uptrend stock ratio interpretation and strategy
85
+ - Signal identification and threshold significance
86
+ - Strategy rules and risk management
87
+ - Combining both charts for optimal decision-making
88
+ - Common pitfalls to avoid
89
+
90
+ ### Step 3: Examine Sample Charts (First Time or for Reference)
91
+
92
+ To understand the chart format and visual elements, review the sample charts included in this skill:
93
+
94
+ ```
95
+ View: assets/SP500_Breadth_Index_200MA_8MA.jpeg
96
+ View: assets/US_Stock_Market_Uptrend_Ratio.jpeg
97
+ ```
98
+
99
+ These samples demonstrate:
100
+ - Visual appearance and structure of each chart type
101
+ - How signals and thresholds are displayed
102
+ - Color coding and marker systems
103
+ - Historical patterns and cycles
104
+
105
+ ### Step 4: Analyze Chart 1 (200MA-Based Breadth Index)
106
+
107
+ If Chart 1 is provided, conduct systematic analysis:
108
+
109
+ #### 4.1 Extract Current Readings
110
+
111
+ From the chart image, identify:
112
+ - **Current 8MA level** (orange line): Specific percentage
113
+ - **Current 200MA level** (green line): Specific percentage
114
+ - **8MA slope**: Rising, falling, or flat
115
+ - **200MA slope**: Rising, falling, or flat
116
+ - **Distance from 73% threshold**: How close to overheating
117
+ - **Distance from 23% threshold**: How close to extreme oversold
118
+ - **Most recent date** visible on the chart
119
+
120
+ #### 4.1.5 CRITICAL: Latest Data Point Detailed Trend Analysis
121
+
122
+ **This step is MANDATORY to avoid misreading recent trend changes.**
123
+
124
+ Focus intensively on the **rightmost 3-5 data points** of the chart (most recent weeks):
125
+
126
+ **For 8MA (Orange Line) - Analyze the very latest trajectory**:
127
+ 1. **Identify the absolute latest position**: Where is the 8MA at the rightmost edge of the chart?
128
+ 2. **Trace back 3-5 data points** (approximately 3-5 weeks):
129
+ - What was the 8MA level 1 week ago?
130
+ - What was the 8MA level 2 weeks ago?
131
+ - What was the 8MA level 3 weeks ago?
132
+ 3. **Calculate the directional change**:
133
+ - Is the latest value HIGHER or LOWER than 1 week ago?
134
+ - Is the latest value HIGHER or LOWER than 2 weeks ago?
135
+ - What is the trend: consistently rising, consistently falling, or mixed?
136
+ 4. **Determine the CURRENT slope** (not historical slope):
137
+ - **Rising**: Latest data point is higher than previous 2-3 points AND shows upward curvature
138
+ - **Falling**: Latest data point is lower than previous 2-3 points AND shows downward curvature
139
+ - **Flat**: Latest data point is approximately equal to previous points (within 2-3%)
140
+
141
+ **Critical Questions to Answer**:
142
+ - [ ] Is the 8MA currently moving UP or DOWN at the rightmost edge?
143
+ - [ ] If there was a recent trough, has the 8MA **sustained** the upward move, or has it rolled over?
144
+ - [ ] Count consecutive periods of increase: How many consecutive periods has 8MA risen? (Need 2-3 for confirmation)
145
+ - [ ] Count consecutive periods of decrease: How many consecutive periods has 8MA fallen? (Indicates failed reversal if declining after trough)
146
+
147
+ **For 200MA (Green Line) - Analyze the very latest trajectory**:
148
+ 1. **Identify the absolute latest position**: Where is the 200MA at the rightmost edge?
149
+ 2. **Trace back 4-6 weeks**:
150
+ - What was the 200MA level 2 weeks ago?
151
+ - What was the 200MA level 4 weeks ago?
152
+ 3. **Determine the CURRENT slope**:
153
+ - Is it rising, falling, or flat in the most recent period?
154
+
155
+ **Failed Reversal Detection** (CRITICAL):
156
+ If an 8MA trough (purple ▼) was recently identified:
157
+ - [ ] Did the 8MA rise for only 1-2 periods and then turn back down?
158
+ - [ ] Did the 8MA fail to reach 60% before turning down?
159
+ - [ ] Is the 8MA currently declining again after the bounce?
160
+ - **If YES to any**: This is a **FAILED REVERSAL** - DO NOT ENTER, signal is INVALID
161
+
162
+ **Example Analysis Format**:
163
+ ```
164
+ Latest 8MA Data Points (rightmost to left):
165
+ - Current (Week 0): 48%
166
+ - 1 week ago: 52%
167
+ - 2 weeks ago: 55%
168
+ - 3 weeks ago: 50%
169
+
170
+ Analysis: 8MA is FALLING. It rose from 50% to 55% (weeks 3-2), but has since declined to 48%.
171
+ This shows a failed reversal pattern - bounce was temporary, downtrend has resumed.
172
+ SLOPE: Falling (not rising!)
173
+ ```
174
+
175
+ #### 4.2 Identify Signal Markers
176
+
177
+ Look for and document:
178
+ - **Most recent 8MA trough (purple ▼)**: Date and level
179
+ - **Most recent 200MA trough (blue ▼)**: Date and level (if visible in timeframe)
180
+ - **Most recent 200MA peak (red ▲)**: Date and level
181
+ - **Days/weeks since most recent signals**
182
+ - **Any pink background shading** (downtrend periods)
183
+
184
+ #### 4.3 Assess Market Regime
185
+
186
+ Based on readings and patterns, classify the current market as:
187
+ - Healthy Bull Market
188
+ - Overheated Bull Market
189
+ - Market Top/Distribution Phase
190
+ - Bear Market/Correction
191
+ - Capitulation/Extreme Oversold
192
+ - Early Recovery
193
+
194
+ Support the classification with specific evidence from the chart.
195
+
196
+ #### 4.4 Determine Strategy Position
197
+
198
+ Apply the backtested strategy rules with STRICT confirmation requirements:
199
+
200
+ **Check for BUY signal** (ALL criteria must be met):
201
+ 1. ✓ **Trough Formation**: Has 8MA formed a clear trough (purple ▼)?
202
+ 2. ✓ **Reversal Initiated**: Has 8MA begun to move upward from the trough?
203
+ 3. ✓ **Confirmation Achieved**: Has 8MA risen for 2-3 CONSECUTIVE periods after the trough?
204
+ 4. ✓ **No Recent Reversal**: Based on Step 4.1.5 analysis, is 8MA CURRENTLY rising (not falling)?
205
+ 5. ✓ **Sustained Move**: Has 8MA maintained the upward trajectory without rolling over?
206
+ 6. ⭐ **Optional but Strong**: Is 8MA below or near 23% (extreme oversold) at trough?
207
+
208
+ **BUY Signal Status**:
209
+ - **CONFIRMED**: All 5 required criteria met → ENTER LONG
210
+ - **DEVELOPING**: Trough formed, but < 2-3 consecutive increases → WAIT, MONITOR
211
+ - **FAILED**: Trough formed, but 8MA has rolled over and is declining → DO NOT ENTER, WAIT FOR NEXT TROUGH
212
+ - **NO SIGNAL**: No trough formed → WAIT
213
+
214
+ **Check for SELL signal**:
215
+ - Has 200MA formed a peak (red ▲)?
216
+ - Is 200MA near or above 73%?
217
+ - Is this an active sell signal requiring position exit?
218
+
219
+ **Current position determination**:
220
+ - **Long**: BUY signal confirmed, position entered and held
221
+ - **Preparing to Enter**: BUY signal developing (trough formed, watching for confirmation)
222
+ - **WAIT / Flat**: No valid signal OR failed reversal detected
223
+ - **Preparing to Exit**: SELL signal developing (200MA approaching peak)
224
+
225
+ #### 4.5 Develop Scenarios
226
+
227
+ Create 2-3 scenarios with probability estimates:
228
+ - Base case scenario (highest probability)
229
+ - Alternative scenario(s)
230
+ - Each scenario includes: description, supporting factors, strategy implications, key levels
231
+
232
+ ### Step 5: Analyze Chart 2 (Uptrend Stock Ratio)
233
+
234
+ If Chart 2 is provided, conduct systematic analysis:
235
+
236
+ #### 5.1 Extract Current Readings
237
+
238
+ From the chart image, identify:
239
+ - **Current uptrend stock ratio**: Specific percentage
240
+ - **Current color**: Green (uptrend) or Red (downtrend)
241
+ - **Ratio slope**: Rising, falling, or flat
242
+ - **Distance from 10% threshold**: How close to extreme oversold
243
+ - **Distance from 40% threshold**: How close to overbought
244
+ - **Most recent date** visible on the chart
245
+
246
+ #### 5.2 Identify Trend Transitions
247
+
248
+ Look for and document:
249
+ - **Most recent red-to-green transition**: Date and ratio level at transition
250
+ - **Most recent green-to-red transition**: Date and ratio level at transition
251
+ - **Duration of current color phase**: How long in current trend
252
+ - **Days/weeks since most recent transition**
253
+
254
+ #### 5.3 Assess Market Condition
255
+
256
+ Based on current ratio and color, classify as:
257
+ - Extreme Oversold (<10%)
258
+ - Moderate Bearish (10-20%, red)
259
+ - Neutral/Transitional (20-30%)
260
+ - Moderate Bullish (30-37%, green)
261
+ - Extreme Overbought (>37-40%)
262
+
263
+ Support the classification with specific evidence from the chart.
264
+
265
+ #### 5.4 Determine Trading Position
266
+
267
+ Apply the swing trading strategy rules:
268
+
269
+ **Check for ENTER LONG signal**:
270
+ - Has color changed from red to green?
271
+ - Was the transition from an oversold level (<15%)?
272
+ - Is the transition confirmed (2-3 days of green)?
273
+
274
+ **Check for EXIT LONG signal**:
275
+ - Has color changed from green to red?
276
+ - Was the transition from an overbought level (>35%)?
277
+ - Is momentum weakening?
278
+
279
+ **Current position**: Long, Flat, Preparing to Enter, or Preparing to Exit
280
+
281
+ #### 5.5 Develop Scenarios
282
+
283
+ Create 2-3 scenarios with probability estimates:
284
+ - Base case scenario (highest probability)
285
+ - Alternative scenario(s)
286
+ - Each scenario includes: description, supporting factors, trading implications, key levels
287
+
288
+ ### Step 6: Combined Analysis (When Both Charts Provided)
289
+
290
+ If both charts are provided, integrate the strategic and tactical perspectives:
291
+
292
+ #### 6.1 Alignment Assessment
293
+
294
+ Create a positioning matrix:
295
+ - **Chart 1 (Strategic)**: Bullish / Bearish / Neutral + signal status
296
+ - **Chart 2 (Tactical)**: Bullish / Bearish / Neutral + signal status
297
+ - **Combined Implication**: How do they align or conflict?
298
+
299
+ #### 6.2 Scenario Classification
300
+
301
+ Determine which of the four scenarios applies:
302
+
303
+ **Scenario 1: Both Bullish**
304
+ - Chart 1: 8MA rising, 200MA not yet peaked
305
+ - Chart 2: Green (uptrend), ratio rising from oversold
306
+ - Implication: Maximum bullish stance, aggressive positioning
307
+
308
+ **Scenario 2: Strategic Bullish, Tactical Bearish**
309
+ - Chart 1: 8MA rising, 200MA not yet peaked
310
+ - Chart 2: Red (downtrend), ratio falling or elevated
311
+ - Implication: Hold core long positions, wait for tactical entry
312
+
313
+ **Scenario 3: Strategic Bearish, Tactical Bullish**
314
+ - Chart 1: 200MA peaked or declining
315
+ - Chart 2: Green (uptrend), ratio rising
316
+ - Implication: Short-term tactical trades only, tight stops
317
+
318
+ **Scenario 4: Both Bearish**
319
+ - Chart 1: Both MAs declining
320
+ - Chart 2: Red (downtrend), ratio falling
321
+ - Implication: Defensive positioning, cash or shorts
322
+
323
+ #### 6.3 Unified Recommendation
324
+
325
+ Provide integrated positioning guidance for:
326
+ - **Long-term investors** (based primarily on Chart 1)
327
+ - **Swing traders** (based primarily on Chart 2)
328
+ - **Active tactical traders** (based on combination)
329
+
330
+ Address any conflicts between charts and explain resolution.
331
+
332
+ ### Step 7: Generate Analysis Report in English
333
+
334
+ Create a comprehensive markdown report using the template structure:
335
+
336
+ ```
337
+ Read and use as template: assets/breadth_analysis_template.md
338
+ ```
339
+
340
+ **IMPORTANT**: All analysis and output must be in English.
341
+
342
+ The report structure varies based on which chart(s) are analyzed:
343
+
344
+ **If Chart 1 only**:
345
+ - Executive Summary
346
+ - Chart 1 full analysis sections
347
+ - Summary and Conclusion
348
+ - Omit Chart 2 and Combined Analysis sections
349
+
350
+ **If Chart 2 only**:
351
+ - Executive Summary
352
+ - Chart 2 full analysis sections
353
+ - Summary and Conclusion
354
+ - Omit Chart 1 and Combined Analysis sections
355
+
356
+ **If Both Charts**:
357
+ - Executive Summary
358
+ - Chart 1 full analysis sections
359
+ - Chart 2 full analysis sections
360
+ - Combined Analysis section (mandatory)
361
+ - Summary and Conclusion
362
+
363
+ **File Naming Convention**: Save each analysis as:
364
+ - Chart 1 only: `breadth_200ma_analysis_[YYYY-MM-DD].md`
365
+ - Chart 2 only: `uptrend_ratio_analysis_[YYYY-MM-DD].md`
366
+ - Both charts: `breadth_combined_analysis_[YYYY-MM-DD].md`
367
+
368
+ ### Step 8: Quality Assurance
369
+
370
+ Before finalizing the report, verify:
371
+
372
+ 1. ✓ **Language**: All content is in English (thinking and output)
373
+ 2. ✓ **Latest Data Trend Analysis**: Step 4.1.5 was thoroughly completed - the most recent 3-5 data points were analyzed to determine CURRENT trend direction
374
+ 3. ✓ **Trend Direction Accuracy**: The stated 8MA slope (Rising/Falling/Flat) accurately reflects the RIGHTMOST data points, not historical movement
375
+ 4. ✓ **Failed Reversal Check**: If a trough was identified, explicitly verified whether the reversal sustained or failed by analyzing latest trajectory
376
+ 5. ✓ **Specific Values**: All readings include specific percentages/levels, not vague descriptions
377
+ 6. ✓ **Signal Status**: Clear identification of active signals (CONFIRMED BUY / DEVELOPING / FAILED / SELL / WAIT)
378
+ 7. ✓ **Strategy Alignment**: Recommendations align with backtested strategies and confirmation requirements
379
+ 8. ✓ **Probabilities**: Scenario probabilities sum to 100%
380
+ 9. ✓ **Actionable**: Clear positioning recommendations for different trader types
381
+ 10. ✓ **Context**: Historical comparison and reference to similar past situations
382
+ 11. ✓ **Risk Management**: Invalidation levels and risk factors clearly stated
383
+
384
+ ## Quality Standards
385
+
386
+ ### Objectivity Requirements
387
+
388
+ - Base all analysis strictly on observable chart data
389
+ - Do not incorporate external information (news, fundamentals) unless specifically relevant
390
+ - Use precise technical terminology consistently
391
+ - Distinguish clearly between factual observations and probabilistic forecasts
392
+ - Acknowledge uncertainty when signals are ambiguous
393
+
394
+ ### Completeness Requirements
395
+
396
+ - Address all relevant sections of the analysis template
397
+ - Provide specific numerical values for all key metrics
398
+ - Justify probability estimates with technical factors
399
+ - Include invalidation levels for each scenario
400
+ - Compare current readings to historical patterns visible on the charts
401
+
402
+ ### Clarity Requirements
403
+
404
+ - Write in professional, analytical English
405
+ - Use clear section headings and structure
406
+ - Present information in tables where appropriate
407
+ - Make recommendations specific and actionable
408
+ - Avoid jargon without explanation
409
+
410
+ ### Strategy Adherence Requirements
411
+
412
+ - Apply backtested strategy rules correctly
413
+ - Distinguish between strategic (Chart 1) and tactical (Chart 2) signals
414
+ - Provide clear position status (Long/Flat/Entering/Exiting)
415
+ - Include specific entry/exit levels when applicable
416
+ - Address risk management (stop losses, position sizing)
417
+
418
+ ## Example Usage Scenarios
419
+
420
+ ### Example 1: Strategic Breadth Analysis (Chart 1 Only)
421
+
422
+ ```
423
+ User: "Please analyze this S&P 500 breadth chart and tell me where we are in the market cycle."
424
+ [Provides Chart 1 image: 200MA Breadth Index]
425
+
426
+ Breadth Analyst (thinking in English):
427
+ 1. Confirms receipt of Chart 1 (200MA-based breadth index)
428
+ 2. Reads breadth_chart_methodology.md for Chart 1 guidance
429
+ 3. Views sample chart for format reference
430
+ 4. Extracts current readings:
431
+ - 8MA: 68%
432
+ - 200MA: 75%
433
+ - 8MA slope: Flat to slightly declining
434
+ - 200MA slope: Rising but may be forming peak
435
+ - Distance from 73% threshold: +2% (above threshold = overheated)
436
+ 5. Identifies signals:
437
+ - Most recent 8MA trough: 3 months ago at 25%
438
+ - Most recent 200MA peak: None visible yet, but 200MA at 75% suggests potential peak forming
439
+ 6. Assesses regime: Overheated Bull Market approaching Distribution Phase
440
+ 7. Determines strategy position: Long position should prepare to exit; watch for 200MA peak confirmation
441
+ 8. Develops scenarios:
442
+ - Base Case (55%): 200MA forms peak in next 1-2 weeks, sell signal activates
443
+ - Alternative (35%): Further consolidation at elevated levels before eventual peak
444
+ - Bear Case (10%): Immediate rollover without clear peak formation
445
+ 9. Generates comprehensive report in English: breadth_200ma_analysis_2025-11-02.md
446
+ ```
447
+
448
+ ### Example 2: Tactical Uptrend Ratio Analysis (Chart 2 Only)
449
+
450
+ ```
451
+ User: "Should I be buying or selling here? Analyze this uptrend ratio chart."
452
+ [Provides Chart 2 image: Uptrend Stock Ratio]
453
+
454
+ Breadth Analyst (thinking in English):
455
+ 1. Confirms receipt of Chart 2 (Uptrend stock ratio)
456
+ 2. Reads breadth_chart_methodology.md for Chart 2 guidance
457
+ 3. Views sample chart for format reference
458
+ 4. Extracts current readings:
459
+ - Current ratio: 12%
460
+ - Current color: Green (uptrend)
461
+ - Ratio slope: Rising sharply
462
+ - Just transitioned from red to green 3 days ago at 11%
463
+ 5. Identifies transitions:
464
+ - Most recent red-to-green: 3 days ago at 11% (from extreme oversold)
465
+ - Prior green-to-red: 2 weeks ago at 28%
466
+ 6. Assesses condition: Early in new uptrend from extreme oversold
467
+ 7. Determines trading position: ENTER LONG signal active, excellent risk/reward
468
+ 8. Develops scenarios:
469
+ - Base Case (65%): Ratio continues higher to 30-35% over next 2-3 weeks
470
+ - Alternative (25%): Choppy advance, consolidates around 20% before next leg
471
+ - Bear Case (10%): False breakout, returns to red quickly
472
+ 9. Generates tactical report in English: uptrend_ratio_analysis_2025-11-02.md
473
+ ```
474
+
475
+ ### Example 3: Combined Strategic + Tactical Analysis (Both Charts)
476
+
477
+ ```
478
+ User: "Analyze both of these breadth charts and give me your overall market view."
479
+ [Provides both Chart 1 and Chart 2 images]
480
+
481
+ Breadth Analyst (thinking in English):
482
+ 1. Confirms receipt of both charts
483
+ 2. Reads full breadth_chart_methodology.md
484
+ 3. Views both sample charts
485
+ 4. Analyzes Chart 1:
486
+ - 8MA: 55%, rising from trough 2 weeks ago at 30%
487
+ - 200MA: 60%, still rising
488
+ - Regime: Early Recovery to Healthy Bull Market
489
+ - Strategy: Long position, hold
490
+ 5. Analyzes Chart 2:
491
+ - Ratio: 22%, green (uptrend)
492
+ - Transitioned red-to-green 10 days ago from 14%
493
+ - Condition: Moderate Bullish, building momentum
494
+ - Trading: Hold long, entered on transition
495
+ 6. Combined assessment:
496
+ - Scenario 1: Both Bullish ✓
497
+ - Strategic: Bullish (8MA reversal confirmed)
498
+ - Tactical: Bullish (uptrend established from oversold)
499
+ - Alignment: Strong alignment = Maximum conviction
500
+ 7. Unified recommendation:
501
+ - Long-term investors: Aggressive long positioning, core holdings
502
+ - Swing traders: Hold longs entered on red-to-green, target 35%+
503
+ - Active traders: Full position, favorable environment for longs
504
+ 8. Develops integrated scenarios with probabilities
505
+ 9. Generates comprehensive combined report in English: breadth_combined_analysis_2025-11-02.md
506
+ ```
507
+
508
+ ## Resources
509
+
510
+ This skill includes the following bundled resources:
511
+
512
+ ### references/breadth_chart_methodology.md
513
+
514
+ Comprehensive methodology covering:
515
+ - **Chart 1 (200MA Breadth)**: Components, interpretation, market regimes, backtested strategy, analysis checklist
516
+ - **Chart 2 (Uptrend Ratio)**: Components, interpretation, market conditions, swing trading strategy, analysis checklist
517
+ - **Combined Analysis**: Alignment scenarios, integrated decision-making
518
+ - **Common Pitfalls**: Mistakes to avoid for each chart type
519
+
520
+ **Usage**: Read this file before conducting any breadth chart analysis to ensure systematic, accurate interpretation.
521
+
522
+ ### assets/breadth_analysis_template.md
523
+
524
+ Structured template for breadth analysis reports in English:
525
+ - Executive Summary
526
+ - Chart 1 analysis sections (if applicable)
527
+ - Chart 2 analysis sections (if applicable)
528
+ - Combined Analysis section (when both charts analyzed)
529
+ - Summary and Conclusion
530
+ - All sections include tables, checklists, and structured formats
531
+
532
+ **Usage**: Use this template structure for every analysis report. Adapt sections based on which chart(s) are being analyzed.
533
+
534
+ ### assets/SP500_Breadth_Index_200MA_8MA.jpeg
535
+
536
+ Sample Chart 1 image showing:
537
+ - 8-day MA (orange) and 200-day MA (green) lines
538
+ - Threshold levels (73% red dashed, 23% blue dashed)
539
+ - Signal markers (triangles for troughs and peaks)
540
+ - Pink background downtrend shading
541
+ - Historical patterns from 2016-2025
542
+
543
+ **Usage**: Reference this sample to understand Chart 1 visual format and identify similar patterns in user-provided charts.
544
+
545
+ ### assets/US_Stock_Market_Uptrend_Ratio.jpeg
546
+
547
+ Sample Chart 2 image showing:
548
+ - Green and red color-coded trend phases
549
+ - Uptrend ratio percentage on y-axis
550
+ - Threshold levels (~10% and ~40% orange dashed lines)
551
+ - Short-term momentum patterns
552
+ - Historical patterns from 2023-2025
553
+
554
+ **Usage**: Reference this sample to understand Chart 2 visual format and identify similar patterns in user-provided charts.
555
+
556
+ ## Special Notes
557
+
558
+ ### Language Requirement
559
+
560
+ **CRITICAL**: All analysis, thinking, and output MUST be in English. This includes:
561
+ - Internal analysis and reasoning
562
+ - Report generation
563
+ - Tables and data presentation
564
+ - Scenario descriptions
565
+ - Recommendations
566
+
567
+ Do not translate or use any other language. The user expects English output exclusively.
568
+
569
+ ### Strategy Focus
570
+
571
+ This skill emphasizes backtested, systematic strategies rather than discretionary interpretation. Always:
572
+ - Apply the strategy rules as documented
573
+ - Reference historical performance patterns
574
+ - Provide specific entry/exit criteria
575
+ - Include risk management guidance
576
+
577
+ ### Practical Application
578
+
579
+ The goal is actionable intelligence. Every analysis should answer:
580
+ - **Strategic**: Should I be long, flat, or short the market over the medium term?
581
+ - **Tactical**: Should I enter or exit positions in the short term?
582
+ - **Timing**: When should I act, and at what levels?
583
+ - **Risk**: What would invalidate this view, and where should stops be?