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 ?
Best Answer
-
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.
0
Answers
-
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.
0 -
@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 DevelopersWhilst 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.
0 -
We stay connected.0
-
Ok, so you will definitely need to look out for the clear cache signal from infrastructure.0
-
Thanks to everyone. We know what to implement now.
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 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
- 367 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
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛