finance-sentiment
使用 Adanos Finance API 获取 Reddit、X.com、新闻以及 Polymarket 上针对股票的结构化情绪数据。当用户询问“有多少人在谈论某只股票”“某个股票在社交平台有多火”“某公司在 Polymarket 上有多少笔押注”“来源是否一致”“对多只股票的情绪进行对比”时,请使用此技能。触发条件包括:“TSLA 的社交情绪”“NVDA 在 X.com 上有多火”“AAPL 在 Reddit 上有多少提及”“比较 AMD 与 NVDA 的情绪”“Microsoft 在 Polymarket 上有多少押注”“Reddit 与 META 的情绪是否一致”“股票热度”“看涨百分比”,以及任何提及跨来源股票情绪研究的内容。该技能为只读(READ-ONLY),不会下单交易或修改任何内容。
分类
金融分析安装
下载并解压到你的 skills 目录
复制命令,发送给 OpenClaw 自动安装:
Finance Sentiment Skill
Fetches structured stock sentiment from the Adanos Finance API.
This skill is read-only. It is designed for research questions that are easier to answer with normalized sentiment signals than with raw social feeds.
Use it when the user wants:
Step 1: Ensure the API Key Is Available
Current environment status:
!`python3 - <<'PY'
import os
print("ADANOS_API_KEY_SET" if os.getenv("ADANOS_API_KEY") else "ADANOS_API_KEY_MISSING")
PY`If ADANOS_API_KEY_MISSING, ask the user to set:
export ADANOS_API_KEY="sk_live_..."Use the key via the X-API-Key header on all requests.
Base docs:
https://api.adanos.org/docsStep 2: Identify What the User Needs
Match the request to the lightest endpoint that answers it.
| User Request | Endpoint Pattern | Notes |
|---|---|---|
| "How much are Reddit users talking about TSLA?" | /reddit/stocks/v1/compare | Use mentions, buzz_score, bullish_pct, trend |
| "How hot is NVDA on X.com?" | /x/stocks/v1/compare | Use mentions, buzz_score, bullish_pct, trend |
| "How many Polymarket bets are active on Microsoft?" | /polymarket/stocks/v1/compare | Use trade_count, buzz_score, bullish_pct, trend |
| "Compare sentiment on AMD vs NVDA" | compare endpoints for the requested sources | Batch tickers in one request |
| "Is Reddit aligned with X on META?" | Reddit compare + X compare | Compare bullish_pct, buzz_score, trend |
| "Give me a full sentiment snapshot for TSLA" | compare endpoints across Reddit, X.com, news, Polymarket | Synthesize cross-source view |
| "Go deeper on one ticker" | /stock/{ticker} detail endpoint | Use only when the user asks for expanded detail |
Default lookback:
days=7 unless the user asks for another windowTicker count:
1..10 tickersStep 3: Execute the Request
Use curl with X-API-Key. Prefer compare endpoints because they are compact and batch-friendly.
Single-source examples
curl -s "https://api.adanos.org/reddit/stocks/v1/compare?tickers=TSLA&days=7" \
-H "X-API-Key: $ADANOS_API_KEY"curl -s "https://api.adanos.org/x/stocks/v1/compare?tickers=NVDA&days=7" \
-H "X-API-Key: $ADANOS_API_KEY"curl -s "https://api.adanos.org/polymarket/stocks/v1/compare?tickers=MSFT&days=7" \
-H "X-API-Key: $ADANOS_API_KEY"Multi-source snapshot for one ticker
curl -s "https://api.adanos.org/reddit/stocks/v1/compare?tickers=TSLA&days=7" -H "X-API-Key: $ADANOS_API_KEY"
curl -s "https://api.adanos.org/x/stocks/v1/compare?tickers=TSLA&days=7" -H "X-API-Key: $ADANOS_API_KEY"
curl -s "https://api.adanos.org/news/stocks/v1/compare?tickers=TSLA&days=7" -H "X-API-Key: $ADANOS_API_KEY"
curl -s "https://api.adanos.org/polymarket/stocks/v1/compare?tickers=TSLA&days=7" -H "X-API-Key: $ADANOS_API_KEY"Multi-ticker comparison
curl -s "https://api.adanos.org/reddit/stocks/v1/compare?tickers=AMD,NVDA,META&days=7" \
-H "X-API-Key: $ADANOS_API_KEY"Key rules
mentions.trade_count.Step 4: Present the Results
When reporting a single source, prioritize exactly these fields:
Example:
TSLA on Reddit, last 7 days
- Buzz: 74.1/100
- Bullish: 31%
- Mentions: 647
- Trend: risingWhen reporting multiple sources for one ticker:
- aligned bullish
- aligned bearish
- mixed / diverging
When comparing multiple tickers:
buzz_scorebullish_pct or trendDo not overstate precision. These are research signals, not trade instructions.
Reference Files
references/api_reference.md - endpoint guide, field meanings, and example workflowsRead the reference file when you need the exact field names, query parameters, or recommended answer patterns.