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 USDkeeps one currency.
Example: python3 scripts/market_calendar.py --days 7
Read the answer
days: one entry per New York calendar day (dateis YYYY-MM-DD, withweekday), each with itsevents.- Every event has
kindandtitle. A timed event hastimeUtc(UTC).past: truemeans it is already out today. macro:currency,impact(High or Medium),forecastandpreviousas the source writes them (4.1%, 92K).fomc: the Fed's rate decision;timeUtcis the statement time.hours: a day the US stock market is closed, with theholiday.earnings:symbol,company,when(before open,after closeor null when not announced),epsForecast, andonChord(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
- 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.
- Name the events that matter most first: Fed decisions, US CPI and payrolls, then the largest companies' earnings.
- Quote forecast and previous figures exactly as given. Say a date can change for earnings.
- 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.
