Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 1 5 5

Intraday FX Bid/Ask Prices in Eikon Data API

Hello,


I'm trying to pull the bid and ask for FX intraday prices in the Refinitiv Eikon data API. The code below pulls the high, low, open, and close. When I set field = ['BID'], or CF_BID, or TR.BIDPRICE, it returns NAN.


ek.get_timeseries(ric,
                                start_date=datetime.timedelta(-1),
                                end_date=datetime.timedelta(0),
                                interval='minute')
eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
icon clock
10 |1500

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

Hello @jeremy.cahill

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.


Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
39.4k 77 11 27

To retrieve this data you need to use Refinitiv Data Platform Library. E.g.

rdp.get_historical_price_summaries(
    universe = 'GBP=',
    interval = rdp.Intervals.ONE_MINUTE,
    fields = ['BID','ASK'],
    start = dt.timedelta(-1), 
    end = dt.timedelta(0))
icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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