How do i retrieve the OHLCVm marketcap and price to book of all S&P500 stocks from 2010 to 2025 in a single call. Is there a code for using ek.get_data
API Code.txtIssue: API response pulls the request, but on the step of the merger, it is not consistent - meaning that after client gets the "memory error", When he run the chunk again, it works fine sometimes. It changes from one RIC to another. Please see attached API code. Thank you.
Hi, everytime I use the get_data function, I get following error: EikonError: Error code 404 | Backend error. Failed to deserialize backend response. Expected valid JSON. Error: invalid character '<' looking for beginning of value During handling of the above exception, another exception occurred: Traceback (most recent…
I'm using below code for getting historical option chain data for AAPL....Please provide the symbol for US Stock BRK.B to get the below data : df, err = ek.get_data( instruments = ['0#AAPL*.U'], fields = ['PUTCALLIND','STRIKE_PRC','EXPIR_DATE'] )
asyncio.get_event_loop().run_until_complete(asyncio.sleep(1)) i'm using asyncio loop to remain the ek.StreamingPrices function to remain the data stream open i need to know since i'm continuously keeping the stream open and sleeping for one second streaming_prices = ek.StreamingPrices( instruments = newlist, fields =…
What could be the possible error in this code? Please help me in correcting it.
Hi I'm trying to fix some ssl certificate bugs by setting verify=false when making a timeseries call for the eikon api in python. Im doing like this: import eikon as ek ek.set_app_key('............') X=ek.get_timeseries(["RICS code"], ['close'], start_date="2015-01-01", end_date="2024-02-04", verify=False) In the end of…
I want to extract the historical data for past 20 years through the following code, but still got only 1 row (with recent data). What would be the right way to do so? import eikon as ek instrument = 'USAW=ECIX' parameters = {'SDate': '-20Y', 'EDate': '0Y', 'Frq': 'Y', 'Points': 20} df, err = ek.get_data(instrument,…
Eikon is working fine. Python API stopped to work yesterday with the following errors: C:\Users\backend>python Python 3.11.3 (tags/v3.11.3:f3909b8, Apr 4 2023, 23:34:50) [MSC v.1934 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import eikon as ek >>> ek.set_log_level(1)…
I am using this instruction in Python to get tas data = ek.get_timeseries( "EMAR.DU", fields = ['LastTrade', "Volume", 'VWAP', 'Bid', 'BidSize', 'Ask', 'AskSize'], start_date='2024-02-28T00:00:00', end_date='2024-03-04T23:59:59', interval = 'tas', ) It is working for all the fields except 'LastTrade' abd "Volume". What are…
It looks like you're new here. Sign in or register to get started.