finnhubio / Finnhub-API

Finnhub API provides institutional-grade financial data to investors, fintech startups and investment firms. We support real-time stock price, global fundamentals and alternative data. https://finnhub.io/docs/api
97 stars 6 forks source link

Earnings calendar years are off #437

Open jacobparish opened 3 years ago

jacobparish commented 3 years ago

Example request:

https://finnhub.io/api/v1/calendar/earnings?from=2020-03-12&to=2021-03-15&symbol=GME

Response:

{
  "earningsCalendar": [
    {
      "date": "2020-12-08",
      "epsActual": -0.53,
      "epsEstimate": -0.8571163,
      "hour": "amc",
      "quarter": 3,
      "revenueActual": 1004700000,
      "revenueEstimate": 1105412931,
      "symbol": "GME",
      "year": 2021
    },
    {
      "date": "2020-09-09",
      "epsActual": -1.4,
      "epsEstimate": -1.1459763,
      "hour": "amc",
      "quarter": 2,
      "revenueActual": 942000000,
      "revenueEstimate": 1033880695,
      "symbol": "GME",
      "year": 2021
    }
  ]
}

The date is 2020, but the year is 2021

finnhubio commented 3 years ago

Hi there, the year is Fiscal year of the company so it can be different from the reported date.