need to confirm is there a way we can identify from reuters that the current contract i'm trying to fetch prices for is a weekly or a monthly contract options with following information : like i have following information for NYMEX CL contract : base symbol : CLE , strike : 78.5 , Option type : put and expiry date :…
I was downloading real-time stock price for constituents of S&P 500. But, I checked there are same value for 09:30 ~ 9:45. For all stock price. I executed code as below. spx_cons = ['MMM.N', 'AOS.N', 'ABT.N', ....] data, err = ek.get_data(spx_cons, ['CF_LAST']) check please. And, is there other way to get real-time stock…
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,…
It looks like you're new here. Sign in or register to get started.