Skill 详情

finance-sentiment

Financial-market sentiment research for equities.

匹配类型直接匹配已针对 金融 审核
来源himself65/finance-skills外部来源
报告安装量1,320仅表示受欢迎程度

使用前先检查

自动化审核只检查相关性,不代表安全审查或推荐。使用前请阅读来源中的说明。

已保存的来源预览

SKILL.md

这段内容是审核时保存的快照。外部来源才是完整且最新的版本。

---
name: finance-sentiment
description: >
  Fetch structured stock sentiment across Reddit, X.com, news, and Polymarket
  using the Adanos Finance API. Use this skill whenever the user asks how much
  people are talking about a stock, how hot a ticker is on social platforms,
  how many Polymarket bets exist for a company, whether sources are aligned, or
  to compare stock sentiment across multiple tickers. Triggers include:
  "social sentiment on TSLA", "how hot is NVDA on X.com", "how many Reddit
  mentions does AAPL have", "compare sentiment on AMD vs NVDA", "how many
  Polymarket bets on Microsoft", "is Reddit aligned with X on META", "stock
  buzz", "bullish percentage", and any mention of cross-source stock sentiment
  research. This skill is READ-ONLY and does not place trades or modify
  anything.
---

# 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:
- cross-source stock sentiment
- Reddit/X.com/news/Polymarket comparisons
- buzz, bullish percentage, mentions, trades, or trend
- a quick answer to "what is the market talking about?"

---

## Step 1: Ensure the API Key Is Available

**Current environment status:**

```bash
!`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:

```bash
export ADANOS_API_KEY="sk_live_..."
```

Use the key via the `X-API-Key` header on all requests.

Base docs:

```text
https://api.adanos.org/docs
```

---

## Step 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:
- use `days=7` unless the user asks for another window

Ticker count:
- use compare endpoints for `1..10` tickers

---

## Step 3: Execute the Request

Use `curl` with `X-API-Key`. Prefer compare endpoints because they are compact and batch-friendly.

### Single-source examples

```bash
curl -s "https://api.adanos.org/reddit/stocks/v1/compare?tickers=TSLA&days=7" \
  -H "X-API-Key: $ADANOS_API_KEY"
```

```bash
curl -s "https://api.adanos.org/x/stocks/v1/compare?tickers=NVDA&days=7" \
  -H "X-API-Key: $ADANOS_API_KEY"
```

```bash
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

```bash
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

```bash
curl -s "https://api.adanos.org/redd
在 GitHub 阅读完整来源 (打开外部页面)
相关上下文

相关工作