360 Secure SkillHub
360 安全技能中心

News Sentiment Scanner

核心功能为扫描多领域预设RSS源(可按需适配),抓取最新头条并进行市场影响评分、情绪分析,标记紧急新闻并关联活跃预测市场。典型场景包括用户询问突发新闻对预测市场的影响、寻找交易机会、分析头条情绪、确认新闻对持仓的影响等,覆盖政治、体育、经济等领域。输出含头条详情、影响评分及交易信号,为用户提供新闻驱动的交易参考。

rsquaredsolutions2026
rsquaredsolutions2026
热度 49.77
最近更新 2026-05-11 17:36:11
分类:数据依赖:代码执行 / 内部调用大模型应用场景:市场分析 / 数据处理 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add news-sentiment-scanner
Metadata
name
news-sentiment-scanner
description
Scan news sources and RSS feeds for events that could move prediction market prices. Score headlines for market impact, flag urgent stories, and cross-reference with active markets. Use when asked about breaking news, market-moving events, or news sentiment.
metadata
{"openclaw":{"emoji":"📰","requires":{"bins":["curl","jq","python3"]}}}

News Sentiment Scanner

Scan news and RSS feeds for market-moving events, score headline sentiment, and flag prediction market trading opportunities.

When to Use

Use this skill when the user asks about:

  • Breaking news that could affect prediction markets
  • Scanning news for trading opportunities
  • Sentiment analysis of current headlines
  • Market-moving events in sports, politics, or economics
  • News-driven trading signals
  • Whether any recent news affects open positions

RSS Feed Sources

Default feeds covering key prediction market verticals:

Vertical Feed URL
General Breaking https://feeds.apnews.com/rss/apf-topnews
World News https://feeds.reuters.com/reuters/topNews
US Politics https://feeds.apnews.com/rss/apf-politics
Sports https://www.espn.com/espn/rss/news
Economics https://feeds.reuters.com/reuters/businessNews
Crypto https://cointelegraph.com/rss

The agent may add or substitute feeds based on context (e.g., if the user trades sports markets, prioritize ESPN).

Operations

1. Scan RSS Feeds for Headlines

Fetch the latest headlines from all configured feeds:

for FEED_URL in \
  "https://feeds.apnews.com/rss/apf-topnews" \
  "https://feeds.reuters.com/reuters/topNews" \
  "https://feeds.apnews.com/rss/apf-politics" \
  "https://www.espn.com/espn/rss/news" \
  "https://feeds.reuters.com/reuters/businessNews" \
  "https://cointelegraph.com/rss"; do
  curl -s "$FEED_URL" | python3 -c "
import sys, xml.etree.ElementTree as ET
from datetime import datetime, timezone
try:
    tree = ET.parse(sys.stdin)
    root = tree.getroot()
    source = root.find('.//channel/title')
    src = source.text if source is not None else 'Unknown'
    for item in root.findall('.//item')[:10]:
        title = item.find('title')
        link = item.find('link')
        pub = item.find('pubDate')
        t = title.text if title is not None else ''
        l = link.text if link is not None else ''
        p = pub.text if pub is not None else ''
        print(f'{src}|{t}|{l}|{p}')
except: pass
"
done

## About

Built by [AgentBets](https://agentbets.ai) — full tutorial at [agentbets.ai/guides/openclaw-news-sentiment-scanner-skill/](https://agentbets.ai/guides/openclaw-news-sentiment-scanner-skill/).

Part of the [OpenClaw Skills series](https://agentbets.ai/guides/#openclaw-skills) for the [Agent Betting Stack](https://agentbets.ai/guides/agent-betting-stack/).