Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
Question by pablo · Jul 10, 2018 at 03:25 PM · eikoneikon-data-apiworkspacepythonworkspace-data-apirefinitiv-dataplatform-eikonrefinitiv-realtimeapiapp-key

Any way to be connected real time (PYTHON)

Hi guys, good afternoon.

I am currently connecting to the API in python in this way:

ek.set_app_id('XXXXXXXXXXXXXXXXX')

If I want to obtain my data, I have it this way:

df= ek.get_timeseries('GGAL.O', fields='close', start_date='1900-01-01', end_date='2018-05-19')

Until this point we are fine. I would like to know if there is any way to be connected real time and receive information every 10 minutes. Is there any way I can do this?

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Alex Putkov.1 · Jul 10, 2018 at 04:00 PM

Streaming market data is not currently available through Eikon Data APIs. It will certainly be introduced, but there's no committed time frame yet. In the meantime you can use Eikon COM or .NET APIs to subscribe to streaming market data. Or you can periodically retrieve snapshots of real-time market data using get_data method, e.g. ek.get_data(['GGAL.O','AAPL.O'],['CF_LAST','CF_BID','CF_ASK']). This should work for a relatively short list of RICs (say up to a few hundred) and relatively infrequent snapshot requests (once every 10 minutes is probably fine, but more frequently is probably not).

Comment
pablo

People who like this

1 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by pablo · Jul 10, 2018 at 04:27 PM

i put:

ek.get_data(['GGAL.O','GFG.BA'],['CF_LAST','CF_BID','CF_ASK'])

And then:

---------------------------------------------------------------------------
HTTPError                                 Traceback (most recent call last)
<ipython-input-31-7451a5cd0a30> in <module>()
----> 1ek.get_data(['GGAL.O','GFG.BA'],['CF_LAST','CF_BID','CF_ASK'])

~\Anaconda3\lib\site-packages\eikon\data_grid.py in get_data(instruments, fields, parameters, field_name, raw_output, debug)
    149     payload = {'instruments': instruments,'fields': fields_for_request}
    150     if parameters: payload.update({'parameters': parameters})
--> 151result = eikon.json_requests.send_json_request(DataGrid_UDF_endpoint, payload, debug=debug)
    152 
    153     if raw_output:

~\Anaconda3\lib\site-packages\eikon\json_requests.py in send_json_request(entity, payload, ID, debug)
     90                 raise EikonError('401', response.text) #'daemon is disconnected')
     91             else:
---> 92raise requests.HTTPError(str(response), response=response)
     93 
     94         except requests.exceptions.ConnectionError as connectionError:

HTTPError: <Response [403]>
Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Alex Putkov.1 ♦♦ · Jul 10, 2018 at 04:42 PM 0
Share

Hmm. You're the second person reporting the exact same error today. Are you able to retrieve any data right now using Eikon Data APIs? Does the get_timeseries method you mentioned in the original post return data?
If the error you mentioned persists, could you please update the version of eikon library to the latest v0.1.13 by running "pip install eikon --upgrade" from command prompt? I expect the latest version of eikon library to produce a more verbose error message, which hopefully will help identify the root cause of the issue.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
7 People are following this question.

Related Questions

set_app_key function running out of time

Application ID Generator Error ("http or parse error")

Error on checking port: Max retries exceeded.

API EIKON is not updating trace viewer last prices

How to request an API key

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges