question

Upvotes
Accepted
3 0 1 1

Request any field for TRDEBFVWc1 via python

def load_eikon_data():
    Cnt = 'TRDEBFVWc1'
    startdate = '2015-01-01T00:00:00'
    enddate = '2020-05-12T00:00:00'
    interval = 'daily'

    df = ek.get_timeseries(
        [Cnt],
        fields=['LAST']
        start_date=startdate,
        end_date=enddate,
        interval=interval
    )
        print(df)

    return None

results in

TRDEBFVWc1 LAST

Date

2015-01-01 NaN

2015-01-02 NaN

2015-01-05 NaN

2015-01-06 NaN

2015-01-07 NaN

... ...

2020-05-06 NaN

2020-05-07 NaN

2020-05-08 NaN

2020-05-11 NaN

2020-05-12 NaN

eikoneikon-data-apipythonworkspacerefinitiv-dataplatform-eikonworkspace-data-apiapienergy
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
25.4k 90 13 25

Hi @thomas.dessigny

The get_timeseries call returns the following fields:

HIGH  CLOSE    LOW   OPEN  VOLUME

So, the CLOSE price would be the 'closest' match:



1589360249264.png (6.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.

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.