Hi,
I have tried to pull the news headlines by adding some filter conditions. Below is my code:
Instrument = 'AAPL.O';
language = 'L:EN';
SourceCode = 'NS:RTRS';
documentType = 'Story';
C = 100;
query = [Instrument,' and ',language,' and ',SourceCode,' and ',documentType]
Data = get_news_headlines(query,C)
When i not added the 'documentType' in the query variable, get_news_headlines function returns the value. When i added 'documentType', function returns empty result. Do i need to refer the documentType in aother way? Could you please anyone help on this?
Thank You,
Priya