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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
39 3 6 5

Historical bid/ask FX Eikon API

Hi Reuters,

I am currently using a python script that links up our FX OMS database with Eikon python API, to check if the rate we are getting are within pre agreed discretionary spread off the BBO at the time. Think of it as a real time sanity check/fat finger monitor.

Currently I am using get_data which pulls in the best bid/ask for FX eg PHP= at time we get the FIX fill. It works fine however I am looking to be able to pull one historical data point given a date/time such as when my code crashes... don’t want to compare historical fills against real time/current rates

Get_timeseries would be best for this however believe it doesn’t support bid/ask, and seems like get_data doesn’t support historical time?

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
4.6k 26 7 22

That's correct. You can access only the interday time series with the get_data() call, while get_timeseries() currently exposes only the default view, which is BID for PHP=, so there is not really a solution for what you would like to do in Python.

You can use RHistory COM API in Excel VBA for this purpose or the .NET Time series data API.

icon clock
10 |1500

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

Thanks Zhenya, Is there an enhancement for this in the pipeline?

@JIAN.DU we a looking to add this functionality some time next year

Hi Zhenya just wondering if there is any update to getting this released? Seems pretty basic functionality.

Show more comments
Click below to post an Idea Post Idea