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 qiang.zhu · Sep 03, 2017 at 11:26 PM · treprfarfa-api.net

why lastPrice is NOT between bid/ask price? (MarketByPrice)

hi

this is questiona following

how to get full order book (10 buy + 10 sell)

connected to reuters, service : EED_DELAYED , using QA account,

subscribe data by both "MARKET_PRICE" and "MARKET_BY_PRICE"

found that BID/ASK mismatch to order book, e.g.

for RIC : DXU7

time=[2017-09-01 16:17:55.684166], sym=[    DXU7], [Action=Update;Key=<strong>92.720A</strong>;

time=[2017-09-01 16:17:56.119753], sym=[    DXU7], [                 ASK]=[<strong>92.755</strong>]
<br>time=[2017-09-01 16:17:56.119753], sym=[    DXU7], [                 BID]=[<strong>92.750</strong>]

<br>time=[2017-09-01 16:17:56.416813], sym=[    DXU7], [Action=Update;Key=<strong>92.720A</strong>;

ask price (in order book) is less than BID price.


attached log file : wrongprice.txt


could you advise?

wrongprice.txt (3.1 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.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by warat.boonyanit · Sep 04, 2017 at 05:48 AM
@qiang.zhu

Do you have the time of the updates?

It is possible that "MARKET_PRICE" and "MARKET_BY_PRICE" have difference delay.

Consider that you subscribed to a delayed service, you should always use the time from time fields rather than system time.

Comment

People who like this

0 Show 8 · 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
qiang.zhu · Sep 04, 2017 at 06:28 AM 0
Share

hi

just checked, in msg for order book (marketByPrice), there is NO timestamp.

for the same RIC,

why "MARKET_PRICE" and "MARKET_BY_PRICE" have difference delay??

this will block my testing.

is there any other way to get 'last trade price/qty' and 'order book (10 bid + 10 ask) ', which are on the same timeline?

I was told that might get orderbook by normal marketprice mode, using another RIC, will receive tag like BID_1, ASK_1, ..., BID_10, ASK_10, etc.

where can I find all 'another RIC' for all future?

thanks

avatar image
REFINITIV
warat.boonyanit ♦♦ qiang.zhu · Sep 04, 2017 at 07:42 AM 0
Share
in msg for order book (marketByPrice), there is NO timestamp.

For <DXU7>, the time stamp is in summary data. The field is "TIMACT_MS".

Unlike "TIMACT", "TIMACT_MS" is milliseconds pass midnight.

why "MARKET_PRICE" and "MARKET_BY_PRICE" have difference delay??

The delayed is entirely up to the server configuration. You should contact server admin.

avatar image
qiang.zhu warat.boonyanit ♦♦ · Sep 04, 2017 at 11:11 PM 0
Share

hi

I just checked,

there is NO delay in 'TIMACT_MS' in order book (MARKET_BY_PRICE) , but there is delay (around 10 minutes) in TRDTIM_1 (MARKET_PRICE) that's the root cause.

thanks.

avatar image
REFINITIV
warat.boonyanit ♦♦ qiang.zhu · Sep 04, 2017 at 07:53 AM 0
Share
I was told that might get orderbook by normal marketprice mode, using another RIC.

Yes, you can get a fixed depth order-book from "MARKET_PRICE" domain.

You have to request 0#[Root-RIC]. You will get a chain containing the Root RIC, fixed depth order-book RIC, and other associated RICs.

For example, if you request 0#DXU7, the chain will return DXU7 and the fixed depth order-book RIC D2DXU7.

Please note that they are not full order-book.

Also, 0#[Root-RIC] will return not found status if Root RIC does not have order-book or if the fixed depth order-book already included in Root RIC.

avatar image
qiang.zhu warat.boonyanit ♦♦ · Sep 04, 2017 at 11:44 PM 0
Share

hi,

thanks for the reply,

tried below scenario :

  • send one request ,"0#DXU7"
  • received data, [LINK_2]=[D2DXU7]

what does LINK_1/LINK_2/LONGLINK1/LONGLINK2 mean??

shall I choose LINK_2 and LONGLINK2 ?

  • get new value(D2DXU7) from these data (by a tag LINK_2), then send out another request for this D2DXU7
  • received a snapshot of order book for new RIC,

BEST_BID1/BEST_BSIZ1/BEST_ASK1/BEST_ASIZ1/etc.from 1 to 10

but there is NO more update.

actually, NO more update for any tag.

is there any simple way to get prefix/postfix for RIC?

it should be hard coded for specific exchange, right?

thanks.

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

RFA EU composite volume

RFA .NET Level 2 data subscription

RFA.NET Provider image delivery

Does RFA API compatible with .NET CORE 3.1 or .NET Standard 2.0 ?

RIC deletion using C# .NET

  • 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
  • FX Venues
    • FX Trading – RFQ Maker
  • 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
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges