← 返回
未分类 Key 中文

Market Events

Reports upcoming or recent earnings, dividends, and stock splits from FMP for a watchlist of tickers. Accepts a comma-separated ticker list or a file of tick...
报告FMP为关注列表中的股票提供的即将发布或最近的财报、股息和拆股信息。接受逗号分隔的股票代码列表或文件。
khaney64 khaney64 来源
未分类 clawhub v0.1.4 2 版本 100000 Key: 需要
★ 0
Stars
📥 568
下载
💾 2
安装
2
版本
#latest

概述

Market Events

Query the Financial Modeling Prep (FMP) API to report upcoming or recent earnings, dividends, and stock splits for a watchlist of tickers.

Quick Start

# Check events for specific tickers (next 7 days)
python3 /home/claw/.openclaw/workspace/skills/market-events/market-events.py --tickers AAPL,MSFT,GOOG

# Use a ticker file
python3 /home/claw/.openclaw/workspace/skills/market-events/market-events.py --file tickers.txt

# Combine both, custom range, specific event types
python3 /home/claw/.openclaw/workspace/skills/market-events/market-events.py --tickers NVDA --file watchlist.csv --range 14d --types earnings,dividends

# Check past dividends (last 30 days)
python3 /home/claw/.openclaw/workspace/skills/market-events/market-events.py --tickers AAPL --range -30d --types dividends

Usage

python3 /home/claw/.openclaw/workspace/skills/market-events/market-events.py [OPTIONS]

Options:
  --tickers TICKERS   Comma-separated list of ticker symbols
  --file PATH         Path to a .txt or .csv file of tickers
  --range RANGE       Lookahead/lookback window. Units: d/w/y. Negative = look back.
                      Examples: 7d, 2w, -30d, -1y. Default: 7d. Max: 365d/52w/1y.
  --format FORMAT     Output format: text, json, or discord. Default: text.
  --types TYPES       Comma-separated event types: earnings,dividends,splits. Default: all.
  -h, --help          Show help message

At least one of --tickers or --file must be provided.

Ticker File Formats

Plain text (.txt)

AAPL
MSFT
# This is a comment
GOOG

CSV (.csv)

First column is used as ticker. Header row is auto-detected and skipped.

ticker,name
AAPL,Apple Inc
MSFT,Microsoft Corp

Output Formats

Text (default)

Market Events: 2026-03-16 → 2026-03-23 (3 tickers, earnings/dividends/splits)
──────────────────────────────────────────────────────────────────────
Date        Ticker  Type       Detail
2026-03-18  AAPL    earnings   EPS est: 1.52  Revenue est: 94.36B
2026-03-20  MSFT    dividends  Dividend: 0.75  Ex-date: 2026-03-20  Pay date: 2026-04-10
──────────────────────────────────────────────────────────────────────
2 events found.

JSON (--format json)

{
  "range": {"from": "2026-03-16", "to": "2026-03-23"},
  "ticker_count": 3,
  "types": ["earnings", "dividends", "splits"],
  "event_count": 2,
  "events": [
    {"date": "2026-03-18", "ticker": "AAPL", "event_type": "earnings", "detail": "EPS est: 1.52  Revenue est: 94.36B", "raw": { ... }},
    {"date": "2026-03-20", "ticker": "MSFT", "event_type": "dividends", "detail": "Dividend: 0.75  Ex-date: 2026-03-20", "raw": { ... }}
  ]
}

The raw field contains the full FMP API response for each event.

Discord (--format discord)

**Market Events** 2026-03-16 → 2026-03-23 (3 tickers, earnings/dividends/splits)
💰 **AAPL** 2026-03-18 — EPS est: 1.52  Revenue est: 94.36B
💵 **MSFT** 2026-03-20 — Dividend: 0.75  Ex-date: 2026-03-20  Pay date: 2026-04-10
_2 events found._

Notes

  • Requires the requests library (pip install requests).
  • FMP free tier has rate limits. The skill handles 429 responses with a warning and continues with partial results.
  • Events are sorted by date ascending, then by event type (earnings → dividends → splits).

版本历史

共 2 个版本

  • v0.1.4 当前
    2026-05-03 04:38 安全 安全
  • v0.1.1
    2026-03-30 09:31

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

professional

Stock Market Pro

kys42
Yahoo Finance (yfinance) 驱动的股票分析技能:行情报价、基本面、ASCII 趋势图、高分辨率图表(RSI/MACD/BB/VWAP/ATR),以及可选的网络...
★ 166 📥 40,601
data-analysis

Session Cost

khaney64
分析OpenClaw会话日志,按代理和模型分组报告Token使用量、费用和性能指标。当用户询问API支出时使用...
★ 1 📥 2,833
professional

All-Market Financial Data Hub

financial-ai-analyst
基于东方财富数据库,支持自然语言查询金融数据,覆盖A股、港股、美股、基金、债券等资产,提供实时行情、公司信息、估值、财务报表等,适用于投资研究、交易复盘、市场监控、行业分析、信用研究、财报审计、资产配置等场景,满足机构与个人需求。返回结果为
★ 136 📥 43,558