-
historical option strike chain
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'] )
-
streaming prices request
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 =…
-
Facing difficulty while fetching historical data
What could be the possible error in this code? Please help me in correcting it.
-
setting verify=false for eikon get_timeseries call in python
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…
-
Historical data for given data items
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,…
-
Error on handshake url http://127.0.0.1:9060/api/handshake
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)…
-
What are the correct filed names for the Volume and Last Trade to get get_timeseries in Python?
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…
-
Identify family firms in time
I am trying to identify the family firms among listed firms in time dimension (since ownership changes), using Excel Eikon. I try this code for Walmart company: =@TR("WMT.N","TR.MnAIsTarFamilyOwned; TR.MnAIsTarFamilyOwned.Date","CH=Fd RH=IN",B6) I got only one "TRUE" response for one date: Does that mean that Walmart was…
-
I use R to Access Eikon API, but report error, anyone can help?
Hi, I am using Eikon API in R. Below are my code (I tried two methods): > eikonapir::set_proxy_port(9000L) > eikonapir::set_app_id('<App Key>') > get_symbology(list("MSFT.O", "GOOG.O", "IBM.N"),"RIC",list("ISIN"),raw_ouput = FALSE,debug=FALSE) Error in print.default("HTTP Error, code= ", response$status_code, sep = "") :…
-
StreamingPrices run forever
Hi, I'm using the Eikon Data API and trying to get streaming prices working from a script (not jupyter). I'm using the example code provided on PyPI and on github (in a script form). Currently the streaming_prices.open() receives updates and refreshes for the specified instruments and then almost immediately completes and…