Is it possible to get a time-series of "Quotes" intraday numbers?

I'd like to get a "Quotes" (best Bid and Ask , top of the book ) time series for a certain ric. For example with 1 minute time between the entries.
Best Answer
-
The rdp,get_snapshot() function does not appear to be working for a desktop session- I will check if this is by design or a beta version issue.
In the meantime, you can use the StreamingPrices object to do the same e.g.
streaming_prices = rdp.StreamingPrices(universe=['EUR='], fields=['BID','ASK','ACVOL_1', 'OFFCL_CODE', 'ACTIV_DATE'])
streaming_prices.open()and then call the following as and when required:
streaming_prices.get_snapshot()
0
Answers
-
You can get it using RDP Library. See Intraday Pricing Summaries examples in Jupyter notebooks 2.1.0 - 2.1.2 following the link below.
https://github.com/Refinitiv-API-Samples/Example.RDPLibrary.Python
0 -
thank you for the quick reply,
I tried the following code, but the get_snapshot function returns 'None' , do you know why?
thank you!
eikon_key = 'dbxxxxxxxxxxxxxxxxxxxxxxxxxxxxxb'
import refinitiv.dataplatform as rdp
rdp.open_desktop_session(eikon_key)
rdp.get_snapshot( universe = ['GBP=','JPY='], fields = ['BID','ASK'] )0 -
You can try this sample code:
import refinitiv.dataplatform as rdp
rdp.open_desktop_session('DEFAULT_CODE_BOOK_APP_KEY')
response = rdp.HistoricalPricing.get_summaries(universe = 'GBP=',
fields = ['BID','ASK'],
interval = rdp.Intervals.ONE_MINUTE)
display(response.data.df)Please change DEFAULT_CODE_BOOK_APP_KEY to your appkey.
0 -
this one works, thank you !
Is it possible to get the 1-minute-interval quotes for LCOc1 over 1 full past day ? (I seem to be able to get only the last few minutes)
0 -
Also, is there any data amount limit with this API , like for the Eikon one?
0 -
I can pull more than 1 full day data of LCOc1.
I believe that the same limitation as Eikon Data API would be applied to RDP Library.
0 -
thanks, works now, the date format was wrong.
But the get_snapshot function still returns None. It is useful to me to obtain several rics with just one call.
Do you have some idea of the reason ?
Do you have some alternative way to obtain multiple rics quotes time series with just one call ?
thank you
0 -
I believe the rdp.get_snapshot() targets the Refinitiv Data Platform API for snapshots, whereas the StreamingPrice is actually consuming streaming data, caching it behind the scenes and you can then snapshot the cached values as required.
There are different licensing requirements for using the RDP API
0 -
If you're looking to get intraday timeseries for multiple RICs, there's no way to do this currently. If you're looking to get a snapshot of current market data for multiple RICs, that's possible using get_data method of Eikon Data APIs. RDP Library includes module named Eikon, which provides all the functionality available in Eikon Data APIs library.
import refinitiv.dataplatform as rdp
import refinitiv.dataplatform.eikon as ek
rdp.open_desktop_session('MY_APP_KEY')
df, err = ek.get_data(['EUR=','GBP='],['BID','ASK'])
df0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 690 Datastream
- 1.4K DSS
- 629 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 559 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 279 Open PermID
- 45 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 716 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 95 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛