360 Secure SkillHub
360 安全技能中心

Market Calendar (ChordSI)

通过 Chord 市场日历服务获取未来 1–31 天的美国市场事件,按纽约日历日返回财报、美联储利率决议、经济数据发布和休市日;支持按事件类型、股票代码、影响级别、币种和数量筛选,结果以结构化数据呈现。

分类:搜索
tuantqse90
tuantqse90
热度 0.00
最近更新 2026-12-03 05:18:08

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add tuantqse90/chordsi-calendar
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
calendar
description
Lists what is scheduled to move markets in the days ahead: company earnings (every US company worth $10B or more and every company Chord has a stock token for, with the EPS forecast and before open or after close), Fed rate decisions, high impact economic releases with forecast and previous figures (CPI, payrolls, PMIs), and days the US stock market is closed. Up to 31 days ahead, filed by New York calendar day. Use when the user asks what is coming this week, when a company reports, when the Fed meets, when CPI or jobs data is out, or whether the market is open on a date. Not for past results, prices or news. Read only; never signs or moves funds.
license
MIT
compatibility
Needs python3 and HTTPS to api.getchord.xyz. Set CHORD_API_KEY (free at chordsi.xyz/me).
metadata
{"author":"Chord (getchord.xyz)","homepage":"https://chordsi.xyz/s/calendar","version":"1.0.0"}

Market Calendar

The dated events that move stocks and crypto, from today (New York time) forward. Earnings come from Nasdaq's earnings calendar and Chord's stock token data, Fed decisions from the Fed's published schedule, and economic releases from ForexFactory. Market closures are the scheduled NYSE and Nasdaq holidays (and the bond market's own closures); half days and unscheduled closures are not listed. ForexFactory publishes one week at a time, so releases after this week appear from Sunday. Earnings dates can move; a company confirms its own.

Run it

python3 scripts/market_calendar.py [--days N] [--kind macro,fomc,hours,earnings] [--symbol T] [--tradable] [--limit N]
python3 scripts/market_calendar.py --days 7 --impact high --currency USD
  • --days: 1 to 31 days from today (default 7).
  • --kind: keep only some kinds: macro (economic releases), fomc (Fed decisions), hours (market closed), earnings.
  • --symbol NVDA,AAPL: earnings of these tickers only (other kinds stay).
  • --tradable: earnings only of companies Chord has a stock token for on Robinhood Chain.
  • --limit: earnings rows to keep (default 40); macro, Fed and holiday rows are always kept.
  • --impact high|medium|all: also return the full release list at that impact, any currency (one more call). --currency USD keeps one currency.

Example: python3 scripts/market_calendar.py --days 7

Read the answer

  • days: one entry per New York calendar day (date is YYYY-MM-DD, with weekday), each with its events.
  • Every event has kind and title. A timed event has timeUtc (UTC). past: true means it is already out today.
  • macro: currency, impact (High or Medium), forecast and previous as the source writes them (4.1%, 92K).
  • fomc: the Fed's rate decision; timeUtc is the statement time.
  • hours: a day the US stock market is closed, with the holiday.
  • earnings: symbol, company, when (before open, after close or null when not announced), epsForecast, and onChord (the stock token on Robinhood Chain) or null.
  • earningsLeftOut: earnings rows past --limit. releases (with --impact): the full release list.

How to answer the user

  1. Answer by day, soonest first, and say the day and time zone: release times in UTC (or convert and say so), earnings as before the open or after the close, New York time.
  2. Name the events that matter most first: Fed decisions, US CPI and payrolls, then the largest companies' earnings.
  3. Quote forecast and previous figures exactly as given. Say a date can change for earnings.
  4. Do not predict the outcome of a release or a report.

Cost

One call; --impact adds one. 300 calls a month are free; then $0.006 a call from your ChordSI credit. If the script exits with code 4, show the person the message: their credit is empty or a limit was reached, and chordsi.xyz/me is where they top up.