Closed impvd closed 3 years ago
FRED provides daily gold price from 1968-04-01 to today. Please see here.
An example code to fetch it is as follows.
import pandas_datareader
pandas_datareader.DataReader("GOLDAMGBD228NLBM", data_source="fred", start="19000101")
This solution no longer works. I get the following error:
No data found for this date range, symbol may be delisted
It appears FRED delisted Gold prices in Jan 2022: https://news.research.stlouisfed.org/2022/01/ice-benchmark-administration-ltd-iba-data-to-be-removed-from-fred/
Hi all,
After doing some research, I found there're several ways to download today's gold price, such as:
x-access-token
header)However, it seems that it's hard to download the historical gold data, like, from 1970.
I was wondering if anyone have some hints on this?