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
16 0 1 4

Some stock codes are not available to get RicCode

000763.SZ,600290.SS

we can find RicCodes in software ,but not right by api

rd.open_session()
        set_rv_app_key()
        df = rd.discovery.search(
            view=rd.discovery.Views.SEARCH_ALL,
            query=code,
            top=10,
            select="RIC"
        )
        rd.close_session()
eikon-data-api#productpython api
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.

1 Answer

· Write an Answer
Upvotes
Accepted
79.8k 257 52 75

@joneliu

Thank you for reaching out to us.

You can select the ExpiredRIC field, as shown below.

df = rd.discovery.search(
    view=rd.discovery.Views.SEARCH_ALL,
    query="000763.SZ or 600290.SS",
    top=10,
    select="RIC,ExpiredRIC"
)
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 to get stock name by ExpiredRIC , I can't use "CF_NAME" to get name

@Jirapongse

rd.get_data(universe=["000763.SZ^A06","600290.SS^A24"],
           fields=["TR.CommonName"])


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.