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 /
  • ETA /
avatar image
Question by ayan@jump · Jun 11, 2019 at 05:40 PM · elektronrefinitiv-realtimeelektron-sdkrrteta-apielektron-transport-apifields

ETA: request a view, but get an error: State: Open/Ok/Invalid view - text: "All is well"

Not sure which FID triggered this error.

If I add add 2 FIDs(22 and 25), the same as the sample, it works fine

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.

10 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by zoya faberov · Jun 12, 2019 at 04:17 PM
@ayan@jump

To me, what you describe in the follow-up is not an intended usage of the view request. Which is why expect you see this response. It does not reduce the traffic by much, but introduces lots of unnecessary overhead. I would not use view for this use case.

I have only mentioned the service filtering for completeness of the discussion. Deployed TREP, prevalent in the past, is replaced by convenient Elektron Hosted, EaaS, Elektron Connect, if your org were using hosted you would have known. Therefore it will not be possible to effect.

I think the right approach to design for your use case is not to use view, to use streaming subscription as described in the documentation and examples and to process updates as per your requirement when they arrive.

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 pimchaya.wongrukun01 · Jun 11, 2019 at 09:45 PM

Hello @ayan@jump

Could you share the application source code when the application creates the view request?

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 pimchaya.wongrukun01 · Jun 11, 2019 at 11:52 PM

Hello @ayan@jump

Invalid view indicates that the requested view is invalid, possibly due to bad formatting. Please refer to the section 13.8 Dynamic View Use in Developers Guide of Transport API Java Edition or Transport API C Edition. The section explains how to create a view request and example source code.

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 ayan@jump · Jun 12, 2019 at 09:08 AM

Yes, I am referring to 13.8 in Developer's guide. It works fine when the view contains only BID and ASK. But fails if I add a lot of fields(>100 fields). The relevant code is attached.fids.txt


fids.txt (2.8 KiB)
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 ayan@jump · Jun 12, 2019 at 09:29 AM

Is there a limit on the number of fields for a view? Actually we are planning to add more fields in the future.

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 zoya faberov · Jun 12, 2019 at 03:18 PM

Hello @ayan@jump,

To explain a little about the nature of the view requests, the more fields you are looking to receive, the less sense it makes to use view feature, but more sense to process or not to process on the client tier depending if required.

Because on every update, and most of them are significantly smaller then 100 fields, a provider that supports view, instead of publishing update as is, will have to first check on every field specified within the view request. I.e. overhead introduced should be considered. The reduction of the data flow from provider to consumer should be weighted against the overhead, it makes most sense with significant bandwidth reduction and lesser overhead.

Also, for fields that do not update often, such as TRADE_DATE, it does not make sense to check for it in every update by including it in view, it will very likely not be in the update, but if specified in view it will have to be checked. Such fields are better retrieved when needed, for example, as snapshot/non-streaming request.

Additionally, may be relevant, if you are connecting to a deployed TREP within your organization, you may be able to request from your market data team to enable service-level filtering, i.e. service will only publish fields that are required.

Therefore, to me, 100+ field view is way too fat, not a good use.

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 ayan@jump · Jun 12, 2019 at 03:32 PM

Thanks for the explanation, Zoya. But what's the reason it reports an invalid view?

We are only interested in a subset of fields. So hope to reduce the traffic via view.

Also we may update the subset of interested fields occasionally. View seems provide us such a capability.

As for service-level filtering, it's done on the server/provider side, right? If we send such a request to Thomson Reuters, how long does it take to be effective for our session?

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 ayan@jump · Jun 12, 2019 at 04:32 PM

Our top priority is to reduce the traffic, since we are going to subscribe to thousands of symbols.

Could you give more details on streaming subscription, please? Is it just a request without view?

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 zoya faberov · Jun 12, 2019 at 04:51 PM

@ayan@jump

Yes. It's the request without view. The requests can be streaming (image = complete set of fields, followed by the updates) or snapshot ( image = complete set of fields, once-off).

To subscribe 1000s of symbols the feature you would like for efficiency is Batch, please see in developer guide and in Consumer example within Elektron SDK->ETA.

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 ayan@jump · Jun 12, 2019 at 04:56 PM

yes, I am doing several batch requests, since I believe one single batch request may not be able to include 10k symbols.

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

Related Questions

Meaning of ACVOL_1 when no trade details are ever present.

How should blank values be handled?

simulating source directory group filter using sink driven source and/or ADS

Simple Binary Encoding support on TREP

Empty trade event

  • 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