I want to extract the historical data for past 20 years through the following code, but still got only 1 row (with recent data). What would be the right way to do so?
import eikon as ek
instrument = 'USAW=ECIX'
parameters = {'SDate': '-20Y', 'EDate': '0Y', 'Frq': 'Y', 'Points': 20}
df, err = ek.get_data(instrument, ['ECON_ACT', 'CTBTR_1'], parameters)
print(df)