Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Refinitiv Data Platform /
avatar image
REFINITIV
Question by jeff.kenyon0 · Jul 28, 2021 at 03:35 PM · pythonrdp-apirefinitiv-data-platform

What function is used to retrieve all ticks within a window with no lag?

Hi, I'm using the Python API with real-time access credentials (no problems connecting). I would like to retrieve, for a specific RIC, the complete set of bid/ask quotes for a specific time window. For example, let's say that at 1101 Tokyo time, I'd like to retrieve all ticks for JPYOIS=TKFX, all tenors, from 1040 to 1100. I don't simply want the latest values (get_snapshot), I'd like to see all of the actual activity during the window.

I do NOT want to open a streaming connection at 1040 and collect values up to 1100, because then I'd have to rely on a glitch-free connection for however many minutes the window might be. I'd like to do a single, synchronous call at 1101, and simply get all the ticks that posted in the time window of interest.

Is this possible, and if so, how would I go about it?

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by umer.nalla · Jul 29, 2021 at 11:38 AM

Hi @jeff.kenyon0

Sorry - did not notice you were an internal user.

I have discussed with the engineering team behind the above APIs and they advised:

For the (above) API – it should be near-instantaneous, but realistically 250-500ms. The API is designed to enable historical and real-time blending in desktop applications (chart, T&S), so it has to be pretty close behind real-time so that the desktop can render quickly.

So to your example, they shouldn’t have to wait a minute… any trade from the previous second or so should be immediately available.

Please go ahead and confirm the content returned by the above API fulfils your requirements.


Comment
wasin.w

People who like this

1 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Answer by umer.nalla · Jul 28, 2021 at 03:52 PM

Hi @jeff.kenyon0

When using a real-time interface the price points can only be received in real-time - as it is a streaming feed.

From my reading of your question, I would say a historical pricing product/interface would be better suited.

We have various standalone historical pricing products e.g. TRTH. However, you can also consume historical data from RDP using RDP historical APIs e.g. https://api.refinitiv.com/data/historical-pricing/v1/views/events - which you can discuss with your Refintiv account team.

The following tutorial provides example usage of the RDP historical-pricing APIs:
Historical Pricing: Time Series Summary (bar), Events (T&S)

You will need to be licenced to access the API - so as mentioned above, please discuss with your Refinitiv Account team.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Answer by jeff.kenyon0 · Jul 28, 2021 at 04:20 PM

Hi @umer.nalla,

Thank you for your response. As I'm a Refinitiv employee, I don't have (to my knowledge) a Refinitiv Account team.

I'm happy to use the historical pricing, but as I said, I'm worried about lag: in the example I gave, at 1101, would the 1040-1100 ticks be available in history? I don't know where to find out (beyond experimentation) exactly what the lag as, and since this is being used to create a new benchmark, knowing the lag is kind of critical.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
10 People are following this question.

Related Questions

Documentation for IPA API

Pull data from datastream

>>> import refinitiv.dataplatform.eikon NameError: name '_surface_output' is not defined

Unable to run sample API from Windows

Refinitiv Data Platform APIs - error when requesting data

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges