Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • EMA /
avatar image
Question by wangfugen · Mar 23, 2019 at 01:38 AM · chain ricnasdaq

question about nasdaq basic chain quote time field

Hello, everyone,

When decoding nasdaq basic chain, I want to extract the quote real time from field dictionary. From the following document nasdaq basic RICs, I can find FID: 3855 named QUOTIM_MS in RefreshMsg and UpdateMsg with values like

So How can I interpret the UInt value here ? And How can I convert the QUOTIM_MS time to real time representation? Many thanks, expecting all's reply.

wechatworkscreenshot-7b5f5f34-cd69-4a01-ad73-0e69e.png (62.7 KiB)

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
Best Answer
Answer by Lars-at-Addicticks · Mar 23, 2019 at 11:51 AM

It is a time-of-day value. It is milliseconds since midnight, UTC. In other words: a value between 0 and 86400000.

In theory, the value may be from another day than the current. However, according to the document you've referenced, the value gets blanked out at market close. Therefore you can always safely assume that the value refers to the current UTC day.

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
Answer by wangfugen · Mar 25, 2019 at 04:10 AM

Hi, @Lars-at-Addicticks

Thanks for your reply. Now I can understand how to interpret the field.

But I have two more question. The first is about the field 'TRADE_DATE'

FieldEntry fid="16" name="TRADE_DATE" dataType="Date" value="22 MAR 2019"

is it also a UTC date?

Second, I found in logs that QUOTIM_MS's value could be quite small, like this:

FieldEntry fid="3855" name="QUOTIM_MS" dataType="UInt" value="73"

if far less than the offset in milliseconds between timezone EST and GMT.

So if field TRADE_DATE with value "22 MAR 2019" and QUOTIM_MS with value "73", what is the corresponding EST time ? Is it "2019-03-21 20:00:00" or "2019-03-22 00:00:00" ?

Expecting anyone that may help, thank you.

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
Answer by Lars-at-Addicticks · Mar 26, 2019 at 06:18 PM

Your 4 hours difference got me confused until I realized that the US east coast is already using summer time.

Your example: If you are in New York on March 21st 2019 and observe that the QUOTIM_MS field has a value of '73' then it effectively means "2019-03-22T00:00:00.073Z".

I don't know if you can marry QUOTIM_MS and TRADE_DATE. Better ask that as a new question. I'm not sure those two fields would always update in unison. If anything I would expect that QUOTIM_MS can be married to QUOTE_DATE.

But personally I don't see the need to marry QUOTIM_MS with anything. Current UTC day is implied.

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 >
8 People are following this question.

Related Questions

unavailable RIC in chain list for corn future

How do I receive a new code msgs from EMA if the code add to the chain temporary in midday trading?

Unable to receive dynamic messages

Nasdaq and NYSE imbalances

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • 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
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges