Hi, Im looking to get data these fields for a specific historic date. Here is my current code. Any help would be greatly appreciated. Thanks in advance
dfSP500Smallx, err = ek.get_data(
instruments = ['0#.SPX'],
fields = [
'TR.CommonName',
'TR.TRBCEconomicSector',
'TR.TRBCBusinessSector',
'TR.TRBCIndustryGroup',
'TR.CompanyMarketCap',
'TR.PriceOpen',
'TR.PriceClose',
'TR.PricePctChg1D',
'TR.Price52WeekHigh',
'TR.Price52WeekLow',
'TR.PriceAvg30D',
'TR.Price50DayAverage',
'TR.PriceAvg100D',
'TR.Price200DayAverage'
]
)
display(dfSP500Smallx)