Hi i am using the following code to retrieve data, however i am unable to pull the data of Company Common Name and Ticker Symbol for every single row it only appears on the first row. i need each row to be filled up with the company common name and ticker symbol.
I have tried fill na forward fill method, but it does not work.
df1, err = ek.get_data(
instruments = ['AAPL.O',
'GOOGL.O',
],
fields = [
'TR.CommonName',
'TR.TickerSymbol',
'TR.PriceClose',
],
parameters = {'SDate': '2023-01-01', 'EDate': '2023-04-06'}
)