1) Main issue: When using Eikon Data API for Python, there is an issue on receiving streaming data with a python script as simple as:
import eikon as ek ek.set_app_key("xxxxx") ek.set_log_level(1) def on_update(item, fields, status, error): print(f"Item: {item}, Fields: {fields}") stream = ek.StreamingPrices(instruments=['BRL='], fields=['CF_BID', 'CF_ASK'], on_update=on_update) stream.open()
image (1).png
2) Actions tried:
- Enabling debug log on Configuration Manager: points that it is most likely to be a communication bug with the api proxy locally:
image (2).png
- System check: everything is ok, except for private network (which is not used).
- Using refinitiv.data module instead of eikon module: same error as before.
- Using Refinitiv Eikon Datastream add on for Excel: after logged in, the only functions displayed are the ones for charts. In addition, my account is not subscribed to Datastream Web Services.
- Tried to use the same Eikon version, and other version on different computers, with different operational systems: same error as before.
- Search for similar issues: https://community.developers.refinitiv.com/questions/107081/streamingprices-unknown-subscription.html, but is does not point to a solution to follow.
- Refinitiv Support: they said that they do not handle functionalities related to Eikon API, and have adviced to post a question in this developers forum.
3) In conclusion, I need to stream FX prices (bid and ask). I rather not use get_data because of api limits. Could you help me with this api issue in order to use StreamingPrices for python properly?
4) Versions:
Eikon: 4.0.63
Python: 3.7.2
Operational System: Windows Server 2012 R2