Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
  • RFA /
avatar image
Question by Nicolas.Brunel · Jan 11 at 09:33 AM · rfa-apiscreeningOMMlevel-2

OMM L2 start of trading day

We have a binary using RFA C++ 8.2.1.L1. We use OMM L2 to get L2 data. Our client subscribe during the morning to L2 data and everything is fine. We get a stream of L2 data. On the next day, during opening we still have order book from previous day present. How can we know it's a new day and order book has to be cleared ?

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 Gurpreet · Jan 11 at 04:06 PM

Hi @Nicolas.Brunel ,

You didn't specify, if your application disconnects overnight or stays connected. The orderbook behavior will depend on the listing venue. Some markets clear the books after the trading day and repopulate open orders next day, while others can leave the orders.

If your application stays connected, then look out for a clear cache message from the system, which implies your application should discard all the orders it is holding in the memory. Your application still has to process a clear cache, if it starts at 5AM and the market clears the old books right before trading start. This message can also be send during the trading hours or after trading halt etc.

Please read the article linked by Umer and see this question about details on clear cache.

Comment

People who like this

0 Show 2 · 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
Nicolas.Brunel · Jan 11 at 04:27 PM 0
Share
We stay connected.
avatar image
REFINITIV
Gurpreet ♦♦ Nicolas.Brunel · Jan 11 at 05:25 PM 0
Share
Ok, so you will definitely need to look out for the clear cache signal from infrastructure.
avatar image
REFINITIV
Answer by umer.nalla · Jan 11 at 11:57 AM

Hi @Nicolas.Brunel

I am not a content expert, however, my understanding is that if you continue to process all the data events (Update and Unsolicited Refresh messages etc) you receive during the day, overnight and/or the next day - and apply those changes to your local orderbook object - then your local orderbook object should reflect the market position for the order book.

Note that the Update Messages should include add, update and delete actions - which you would be expected to apply to your orderbook object.

If you are doing all the above and you believe the local orderbook content is not correct, please raise a content type ticket with our Helpdesk. Please provide details of the instruments for which you are consuming the L2 data - so that the ticket is routed to the most appropriate content expert.


Comment

People who like this

0 Show 1 · 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
umer.nalla ♦♦ · Jan 11 at 11:59 AM 0
Share

@Nicolas.Brunel
The following article provides some information on processing Orderbook data events How to Sort & Process Level 2 Orderbook Data using EMA C++ API | Refinitiv Developers

Whilst the article is using EMA snippets, the overall process would still apply to RFA.

You can also refer to the RDMUsageGuide which is provided with your RFA SDK pacakge.

avatar image
Answer by Nicolas.Brunel · Jan 11 at 05:27 PM

Thanks to everyone. We know what to implement now.

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

What does blank value during closing run interpret as?

Null Payload in OmmMsg

Upgrade RFA7.2.1.L1 to RFA8.1.0.L1 but missing TibMsg

calling pool.releaseEncoder invalidates msgType in encoded message

OMM viewer cannot connect to LPC

  • 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