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 harik · Apr 23, 2020 at 09:04 AM · rfa c++

How to pass multiple item names in rfs

Dear Team


how to get market price multiple item names in single call.


For example i am passing SGD= and JPY= and i need to receive price for both at a time.



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 moragodkrit.chumsri_1 · Apr 24, 2020 at 08:58 AM

@harik

Are you using windows 64bit?

As far as I understand on windows 64 bit you must change the registry path

from

HKEY_LOCAL_MACHINE\\SOFTWARE\\

to

HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\


You need to search and replace the path on the source files and registry files. Also, you need to run it with Admin right if you turn on Windows Event Logger.

I would suggest you modify the codes to use RFA config from a file instead by changing WIN32 to WIN32x from the following line in StarterConsuemr.cpp

#ifdef WIN32x
    RFA_String exampleRfaCfgRegPath("HKEY_LOCAL_MACHINE\\SOFTWARE\\Reuters\\RFA\\Default", 0, false);
    AppUtil::log(__LINE__, AppUtil::TRACE, "Reading RFA configuration registry: %s", exampleRfaCfgRegPath.c_str());
    result = _pStgCfgDataBase->load(windowsRegistry, exampleRfaCfgRegPath);
...

#ifdef WIN32x
    RFA_String exampleAppCfgRegPath("HKEY_LOCAL_MACHINE\\SOFTWARE\\Reuters\\RFA\\StarterConsumer_BatchView", 0, false);
    AppUtil::log(__LINE__, AppUtil::TRACE, "Reading Aplication configuration registry: %s", exampleAppCfgRegPath.c_str());
    result = _pAppStgCfgDataBase->load(windowsRegistry, exampleAppCfgRegPath);
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
harik · Apr 28, 2020 at 05:48 AM 0
Share

Untitled_Message.zip


Dear Team


I tried start consumer batch issue and i am getting login denied and connection got disconnected.


Attached is the cfg file and log file Kindly revert back

untitled-message.zip (2.7 KiB)
avatar image
REFINITIV
umer.nalla ♦♦ harik · Apr 28, 2020 at 01:23 PM 0
Share

Hi @harik

Looking at your .cfg files the first thing I noted is that you have not set some key parameters

\service                    = "DIRECT_FEED"
\session                    = "Session1"
\userName                    = "user"

You need to specify a valid service name and dacs username.

Based on your various questions so far, I would recommend that you work through the tutorials so you can obtain a better understanding of how the API works - this should make your development progress much smoother.

avatar image
REFINITIV
Answer by moragodkrit.chumsri_1 · Apr 23, 2020 at 10:20 AM

@harik

You have to send a batch request instead. See example StarterConsumer_BatchView from the RFA C++ package. The following post explained how it works.

https://community.developers.refinitiv.com/questions/9385/rfa-batch-request.html

Further reading RFA C++ Developer Guide section from RFA C++ package.

section 7.8 Batch Messages and 15.1 Batch

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 harik · Apr 23, 2020 at 12:43 PM

I tried with multiple symbols (item names) i got error invalid registry path i ran the two reg file mentioned .What is the step i missed .

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

Related Questions

Reference Data Request Rejected: Request message payload not supported on non-private streams

How to encode / decode? Create RespMsg objects from Buffer?

Running multiple apps with different RFA C++ API versions on same machine

Hi, Which version of RFA C++ should we use that supports MarketFeed & 64-bit OS ? Thank you.

RFA Market by Price: Handling keys like A-O, B-U

  • 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