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
22 5 3 7

How can i get historical stock market data from Eikon API python.

Hello guys, have a problem:

I need import data of a lot of stickers form eikon to my PythonIDLE i have this.

import eikon as ek

ek.set_app_id('APP_ID')

df = ek.get_timeseries([".MERV"], start_date="2000-01-01", end_date="2018-05-18")

print (df)

Can i find any structure to get all this stickers?

symbol .MERV .MAR .MERV25 AGRO ALUA APBR AUSO BHIP BMA BOLT BYMA CECO2 CEPU COME CRES CTIO DGCU2 EDN ERAR FRAN GGAL HARG MIRG OEST PAMP PGR SAMI SUPV TECO2 TGNO4 TGSU2 TRAN TS YPFD BPAT BRIO CADO CAPU CARC CELU CGPA2 COLO CTGM CVH DYCA EDLH EMDE ESME FERR FIPL GARO GBAN GCLA GRIM HAVA INDU INTR INVJ IRCP IRSA LEDE LOMA LONG METR MOLA MOLI MORI PATA PATY PESA PETR POLL REP RICH RIGO ROSE SEMI TEF TGLT VALO AAPL C DISN GE GG GOOGL MELI OGZD TXR VALE A2E2 A2E2D A2E7 A2E7D A2E8 A2E8D A2M2 AA21D AA22X AA22Z AA25 AA25D AA26 AA37 AA37D AA46D AC17 AC17D AE48 AE48D AF19 AM20 AMX9 AN18 AN18D AO20 AO20D AY24 AY24D BCIUA BD2C9 BDC19 BDC22 BPLD BPLDD CEDI CH24D CO24D CO26 CO26D CUAP DIA0 DICA DICAD DICP DICPD DICY DICYD DIY0 NO20 PAA0 PAA0D PAP0 PARA PARAD PARY PARYD PAY0 PB21D PBF23 PBM24 PF23D PMG18 PMJ21 PMN18 PMO18 PR13 PR15 PUM21 PUO19 RNG23 SA24D TC21 TC23 TO26 TVPA TVPAD TVPE TVPP TVPY TVPYD PSUR STD KO LMT A2E3 A2E3D AA22 AA46 BDC20 BDC28 BP28 BPMD CCO26 DIA0D PARP PMD18 RI25D TC20 TFU27 TS18 INAG BRIO6 DOME EDSH MTBA MSFT AA19 AA19D AA21 BARX1 BDC24 BOC6O BP18D BP21 BP28D BPLE BPLED DICE DIP0 NDG21 PAY0D PB24D PB27D PBY22 PMY24 S24DD TO21 TU27D ABT HMY MON PFE QCOM XOM A2M2Z AA26D ERF25 PARE PBD19 PBJ27 ABX BSBR CAT PU23D TXAR BA.C JPM RIO CHSG1 LEID DIY0D MERA HULI IBM RNG22 SLB PBA25 PBJ9D PU26D RIF25 TO23
eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apiapi
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
39.4k 77 11 27

@pablo
I think you'll find the answer on this thread, which has a couple of examples how you can retrieve the constituents of an index.

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.