Stack ten years on top of each other and see what a stock usually does around the same event: an earnings report, a Fed decision, a CPI release, or a stretch of the calendar.
U.S. tickers like AAPL, NVDA, BRK.B or SPY. Earnings dates come from SEC filings, so funds and most foreign companies have none.
Earnings. Report dates are the days a company filed an SEC Form 8-K with Item 2.02, "Results of Operations and Financial Condition." Because some companies report before the open and others after the close, the reaction is measured from the close before the filing day to the close of the next trading day. That two-day window catches both. Reports are grouped by the month they came out: most calendar-year companies report first-quarter results in April or May. Companies with other fiscal years (Apple, for example) report on their own schedule.
Fed & CPI days. The one-day move from the prior close to the close on the day of a scheduled Federal Reserve decision or a Consumer Price Index release. Dates come from federalreserve.gov and the Bureau of Labor Statistics.
Calendar windows. Thanksgiving week runs from the Friday before to the Friday after. The Santa Claus rally is the last five trading days of December plus the first two of January. Sell in May runs from the end of April to the end of October; its mirror, Halloween to May, from the end of October to the end of April. Quad-witching weeks end on the third Friday of March, June, September and December.
Prices are daily closes adjusted for splits and dividends. "Compare with S&P 500" subtracts the SPY ETF's move over the same dates, so you see whether the stock beat the market, not just whether it rose. Ten years is ten samples per yearly event: enough to see a habit, not enough to prove one. Past patterns do not predict future moves.