alphaear-news

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

AlphaEar News Skill

AlphaEar News Skill

Overview

概述

Fetch real-time hot news, generate unified trend reports, and retrieve Polymarket prediction data.
获取实时热门新闻、生成统一趋势报告,并检索Polymarket预测数据。

Capabilities

功能

1. Fetch Hot News & Trends

1. 获取热门新闻与趋势

Use
scripts/news_tools.py
via
NewsNowTools
.
  • Fetch News:
    fetch_hot_news(source_id, count)
    • See sources.md for valid
      source_id
      s (e.g.,
      cls
      ,
      weibo
      ).
  • Unified Report:
    get_unified_trends(sources)
    • Aggregates top news from multiple sources.
通过
NewsNowTools
调用
scripts/news_tools.py
  • 获取新闻
    fetch_hot_news(source_id, count)
    • 有效
      source_id
      可查看sources.md(例如:
      cls
      weibo
      )。
  • 统一报告
    get_unified_trends(sources)
    • 聚合多个来源的头条新闻。

2. Fetch Prediction Markets

2. 获取预测市场数据

Use
scripts/news_tools.py
via
PolymarketTools
.
  • Market Summary:
    get_market_summary(limit)
    • Returns a formatted report of active prediction markets.
通过
PolymarketTools
调用
scripts/news_tools.py
  • 市场摘要
    get_market_summary(limit)
    • 返回活跃预测市场的格式化报告。

Dependencies

依赖项

  • requests
    ,
    loguru
  • scripts/database_manager.py
    (Local DB)
  • requests
    loguru
  • scripts/database_manager.py
    (本地数据库)