Hey everyone, I starting testing the EOD data and immediately found an issue.
I am using ImportJSON func to import data directly from the API. It works for some keys in the JSON but not for /fundamentals/. My guess is that it’s because of the /fundamentals/ being indexed by date (which is weird).
On the other hand, this endpoint https://eodhd.com/api/eod/MCD.US provides data indexed by number sequence. It imports well with ImportJSON.
I don’t understand why the /fundamentals/ are indexed by date.
Does anyone know how to importJSON /fundamentals/ properly so that I get a table like format where the key is the column header and the values listed below, one row per year or quarter?
Thank you and much appreciated.
Current import looks like this:
23-12-31 Date | 2023-12-31 |
---|---|
23-12-31 Filing Date | 2023-12-31 |
23-12-31 Currency Symbol | EUR |
23-12-31 Totalassets | 187199000.00 |
23-12-31 Intangibleassets | 22011000.00 |
But it should look like this
Date | Symbol | Reportedcurrency | Cik | Fillingdate |
---|---|---|---|---|
2023-12-31 | CMI | USD | 0000026172 | 2024-02-12 |
2022-12-31 | CMI | USD | 0000026172 | 2023-02-14 |
2021-12-31 | CMI | USD | 0000026172 | 2022-02-08 |
2020-12-31 | CMI | USD | 0000026172 | 2021-02-10 |