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
- 6 AHS
- 39 Alpha
- 162 App Studio
- 4 Block Chain
- 5 Bot Platform
- 17 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 370 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛