Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted

Where can I extract such event information for a given RIC using python APIs?

Hi,

The ETF C090.DE "Lyxor Bloomberg Eq-weight Commod ex-Agr UCITS ETF" is being merged with LYTR.DE "Amundi Blbrg Equlwght Commdt ex-Agricl UCITS ETF A". Where can I extract such event information for a given RIC using python APIs?

Will be grateful if this issue could be addressed as soon as possible. Since it is an urgent case I would appreciate if you could take this up at your end . Thanks

cc: @siddharth.marya

eikon-data-apipythonapi#contentcorporate-actionseventscorporate-events
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi @jeane.samson.refinitiv ,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If so please can you click the 'Accept' text on the left side of the appropriate reply? This will guide all community members who have a similar question.

Thanks,
AHS

@jeane.samson.refinitiv

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

Upvote
Accepted
10.2k 18 6 9

@siddharth.marya OK great they got back to you - so this is a news query expression and to get this in Python do the following using our Refinitiv Data Library - examples are available in CodeBook Examplees notebook:

import refinitiv-data as rd
rd.open_session()
rd.news.get_headlines(query="Topic:MRG AND Topic:ETF",count=1000)

1676039649165.png


I was not able to get the query working with what they told you as Source:ETFDAI i don't think is available by API (not all news sources are delivered via the API) - but I replaced it with an Topic:ETF and was able to get some merger etc info for ETFs. You can play with the search query in the NEWS monitor app. I hope this can help.


1676039649165.png (152.4 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

How can I get this for a specific ETF for eg. ' C090.DE'?


I also got another response "After working closely with our Product Specialist, they confirmed that the ETF Daily News cannot be used as a source in Python API, some others like GLFILE or DJN or RTRS works, but ETFDAI No."


How can I get these for my particular ETF C090.DE?

@Gurpreet @jason.ramchandani01 thanks for your help :)
Upvotes
22.1k 59 14 21

Hi @jeane.samson.refinitiv,

We can only help with technical questions on this developers forum. For questions related to content, please open a support ticket at my.refinitiv.com, where you will get an authoritative answer from a content expert.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
10.2k 18 6 9

@jeane.samson.refinitiv Thanks for your question. So we can do this for companies but I don't think its possible for funds - this is the code for names:

df = rd.get_data('ABDN.L',['TR.FormerlyKnownAsName.effectiveFromDateTime',
                           'TR.FormerlyKnownAsName.effectiveToDateTime',
                           'TR.FormerlyKnownAsName'])
df

1675958068691.png

For other Events:

events_df = rd.get_data('ABDN.L',['TR.EventStartDate','TR.EventType','TR.EventTitle'],{'SDate':'2015-01-01', 'EDate':'2022-02-27', 'EventType':'ALL'})
 
events_df.head(100)

1675958448158.png

Unfortunately - this information does not appear to be available for funds - as Gurpreet suggested maybe good to ask content team. I hope this can help.




1675958068691.png (82.5 KiB)
1675958448158.png (299.6 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
20 0 0 2

Hi @Gurpreet , @jason.ramchandani01 , @jeane.samson.refinitiv ,


Refinitiv content team has shared that I can look up this type of info using Source:ETFDAI AND Topic:MRG, please see below screenshot. How can I extract these using Python API?


1676030256520.png


1676030256520.png (330.0 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
10.2k 18 6 9

@siddharth.marya So I tried this query 'Topic:MRG AND R:C090.DE^B23' and 'Topic:MRG AND R:C090.DE' but both return nothing - it seems this fund was delisted - I am not sure that what happens after delisting - whether they remove news etc this you can follow up with the content team. From our side I don't think we can offer much more in the way of help here. I hope this can help.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
20 0 0 2

@jason.ramchandani01 Can you please tell me how can I get the fields GLFILE or DJN or RTRS for an ETF with the API? for example for LYTR.DE


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @jason.ramchandani01

Could you please help with this follow up question?

Hi @jason.ramchandani01

Could you please help with this follow-up question?

Upvotes
10.2k 18 6 9

@siddharth.marya So those are not fields - they are sources of news - and you can get them by building a news query in the NEWS monitor app and double clicking to get the query string and then copying that query string into the get_news_headlines api call. For more information on this process see this article.

import refinitiv.data.eikon as ek
ek.set_app_key('DEFAULT_CODE_BOOK_APP_KEY')
ek.get_news_headlines(query = '( Source:GLFILE OR Source:DJN OR Source:RTRS ) AND R:LYTR.DE', count=100)

this returns one result:

1677496367461.png

which is the same as in the NEWS monitor:

1677496423801.pngI hope this is clear enough and can help.




1677496367461.png (42.4 KiB)
1677496423801.png (220.5 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.