Eikon via Python Unable to Collect Data For Some Fields

Hi,

we are trying to retrieve Corporate Event data via the Python Eikon module and its get_data() function. Normally this works just fine. However, today we submitted a query which was answered successfully. After that we submitted the same query which received a partial answer. Some fields were empty and the following information was provided:

[{'code': 415, 'col': 1, 'message': 'Unable to collect data for some field(s).', 'row': 0}, {'code': 415, 'col': 2, 'message': 'Unable to collect data for some field(s).', 'row': 0}, {'code': 415, 'col': 11, 'message': 'Unable to collect data for some field(s).', 'row': 0}]


Example RIC : 'BLK.DE'


1634113478074.png


Can you please explain why that happens and how to resolve this issue?

Best regards,

Hans





Welcome!

It looks like you're new here. Sign in or register to get started.

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @hans-hermann.kiessig

    I have removed the TR.CACorpEventType field and changed the value of the SDate parameter.

    l = ['BLK.DE']

    fields = [ 'TR.CACorpActEventType', 'TR.CACorpActDate', 'TR.EventType',
    'TR.EventTitle', 'TR.EventStartDate', 'TR.EventStartTime',
    'TR.EventEndTime', 'TR.EventStatus', 'TR.EventCountry',
    'TR.EventLastUpdate', 'TR.DivEventStatus','EXDIVDATE',
    'DIVPAYDATE', 'CF_YIELD', 'CF_CURR', 'TR.ISIN']

    vals = {'SDate': '-1Y', 'EDate': '0AY'}

    df_out, info = ek.get_data( l, fields, vals )

    df_out


    I got the following response.

    1634792929631.png


    I think this field TR.CACorpEventType is invalid.

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.