I want to use EIKON DATA API(get_news_headlines) for get the cocoa news, but i can't find the right parameters which i should use.The example your web page given me can't help me fix this problem.
You can use topic code COC to get headlines about Cocoa. The query is:
headlines = ek.get_news_headlines("COC", count=100)headlines
If you need headlines in English, you can add "LEN" query.
headlines = ek.get_news_headlines("COC AND LEN", count=100)headlines
I suggest using the News Monitor application in Eikon to create a headlines query to be used with the get_news_headlines method.