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 akash.mundra · Jun 08, 2017 at 06:41 AM · rfarfa.netconsumerfilter

How can we apply a filter in quick consumer application in RFA.net to get only Ask/Bid Prices.

Sample code:

FieldList fieldList = payload as FieldList;
///Console.WriteLine("FieldList's entry count: " + fieldList.StandardDataCount);
short fieldId;
foreach (FieldEntry fieldEntry in fieldList)
{
fieldId = fieldEntry.FieldID;
try
{
RDMFidDef fidDef = rdmFieldDictionary.GetFidDef(fieldId);

}

@moragodkrit

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 Gurpreet · Jun 08, 2017 at 10:20 AM

There are two ways to do this:

a. In the foreach iterator, compare each fieldId to the one you desire (BID, ASK) and ignore others.

b. Send a view request, whereby only the fids that are requested are returned in the update messages. This capability is a licenseable feature, and has to be enabled on your ADS. Look at StarterConsumer_BatchView example for details.

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
akash.mundra · Jun 08, 2017 at 11:07 AM 0
Share

Currently i am using first approach only. I am filtering out based on the Field names like BID or ASK but i am filtering after information coming from server.

Can i do the filtering before sending the request like based on Field ID (22 or 25) for Ask or BID? Will this number be changed or it will remain same?

avatar image
REFINITIV
Gurpreet ♦♦ akash.mundra · Jun 08, 2017 at 03:13 PM 0
Share

>> Can i do the filtering before sending the request ...

This is the View feature, presented in the option (b) above.

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

How to subscribe to all instruments supplied by a Provider?

RFA .NET excessive memory usage when subscribing to thousands of RIC codes

What is the difference between RFA_NET120_64 vs RFA_NET100_64 DLLs ?

Failing get FX Prices using RFA

Explain "Channel flush failed" error

  • 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