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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 3

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-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
39.2k 75 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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea