★ ★ ★LIVE97 COINS ANALYZED BY CLAUDE MCP·VIEW SKILLS →★ ★ ★
MCP
claude.analyze("BTCUSDT")→ [buy] signal detectedmcp.draw_levels(resistance=98000)→ [drawn] on chartclaude.scan_watchlist(coins=100)→ [42] buy signals foundmcp.connect("tradingview")→ [connected] daily TFclaude.detect_sr("SOLUSDT")→ [S: $165] [R: $185]claude.analyze("ETHUSDT")→ [neutral] consolidatingmcp.screenshot_chart("BNBUSDT")→ [captured] analyzing...claude.score_quality("XRPUSDT")→ score: 78/100mcp.set_timeframe("1D")→ [ok] chart updatedclaude.analyze("BTCUSDT")→ [buy] signal detectedmcp.draw_levels(resistance=98000)→ [drawn] on chartclaude.scan_watchlist(coins=100)→ [42] buy signals foundmcp.connect("tradingview")→ [connected] daily TFclaude.detect_sr("SOLUSDT")→ [S: $165] [R: $185]claude.analyze("ETHUSDT")→ [neutral] consolidatingmcp.screenshot_chart("BNBUSDT")→ [captured] analyzing...claude.score_quality("XRPUSDT")→ score: 78/100mcp.set_timeframe("1D")→ [ok] chart updated
BACK TO CLAUDE SKILLS

summarize_market_conditions

Claude AIClaude APISummary
INSTALLATION
$python -c "exec(open('summarize_market_conditions.py').read())"
#or paste directly into your Claude Code terminal
[ ABOUT ]

Aggregates buy, sell, and neutral signal counts from the full coin scan and passes them to Claude with a prompt requesting a single-sentence market overview. The function provides a macroeconomic narrative layer — translating raw signal distribution into a qualitative market sentiment summary.

Market summaries are most meaningful when the underlying data is fresh. Run this function immediately after a full batch analysis completes so the narrative reflects current conditions. For automated publishing workflows (e.g. posting to a Telegram channel or MCPTrade announcement bar), schedule this function as the final step after `cache_to_supabase` to ensure the summary is always synchronized with the latest database state.

[ USAGE EXAMPLE ]
example.py
summary = market_summary(buy=42, sell=31, neutral=24)
# → "Pasar kripto dalam kondisi moderately bullish..."
[ FULL CODE ]
summarize_market_conditions.py
def market_summary(buy, sell, neutral): msg = client.messages.create(model="claude-sonnet-4-5", max_tokens=150, messages=[{"role":"user","content":f"Out of {buy+sell+neutral} crypto: {buy} buy, {sell} sell, {neutral} neutral. Describe market in 1 sentence (Indonesian)."}]) return msg.content[0].text
[ METADATA ]
CategoryClaude AI
ComplexityBeginner
LanguagePython 3.10+
TagsClaude API, Summary
[ ASK CLAUDE ]

Ask AI about this skill before installing it.

[ RELATED SKILLS ]