What is the host, port and username i have to use for connecting to real time data via Elektron API
Hi there,
We just set up the account for Elektron C++ API in Refinitiv.
I tried the first example:
int main( int argc, char* argv[] ) { try { AppClient client; OmmConsumer consumer( OmmConsumerConfig().host( "localhost:14002" ).username( "user" ) ); consumer.registerClient( ReqMsg().serviceName( "DIRECT_FEED" ).name( "IBM.N" ), client ); sleep( 60000 );// API calls onRefreshMsg(), onUpdateMsg(), or onStatusMsg() } catch ( const OmmException& excp ) { cout << excp << endl; } return 0; }
I'm guessing i need the correct host with port and username. Where do i get these info from?
Also, what we are trying to do is to get real time prices of multpile Forex instruments in milliseconds. Which one is the best EMA? ETA?
Any guidance?
Thanks
Best Answer
-
Hi @0c62b574-a087-4b69-8ba8-1f3ad682f116
In order to consume realtime data you need to connect to a server / feed.
This server / feed can either be
- in house at your organisation and managed by your internal Market Data team. In which case they would provide you with a host + username to use.
- remote hosted server / connection - managed by Refinitiv. In which case your Refinitiv Account manager would be able to provide you with connection details. However, based on your profile details, I cannot ascertain who your account manager is - as you have not used your full name / corporate email or provided company name etc. If you can add a private comment with your details, I can try and identify your Account Manager
The iProv idea was just a temporary suggestion - to generate dummy data locally, which you can consume - allowing you to familiarise yourself with the API + examples until you get connected to a real feed / server.
I did also note that you have previously asked questions regarding Eikon. If you only have an Eikon account and no direct access to a realtime server / feed then you will not be able to use the realtime APIs such as ETA or EMA.
If you can add a private moderator only comment here with your full name, corporate email + company name, I can track down your account manager who should be able to explain just what type of connectivity you have.
0
Answers
-
Hi @0c62b574-a087-4b69-8ba8-1f3ad682f116
If you have a local infrastructure then your in-house Market Data team should be able to provide you details of the ADS servers + username etc.
If you are using an (offsite) Refinitiv managed connection then your Refinitiv Account Manager should be able to provide those details.
I did try to locate your Refinitiv Account Manager details but was unable to do so based on the details you provided when you created an account on this website.
In the meantime you can run the Consumer example against one of the simple Provider examples (e.g. IProvider\100_Series\100__MarketPrice__Streaming) on the same machine. The Provider example will publish some dummy data and the Consumer should then be able to connect to the Provider, consume and then display that dummy data.
In terms of API, for the majority of usage scenarios EMA is the recommended option. EMA is a ease of use layer on top of ETA.
0 -
Hi,
I have Refinitiv account and i submitted a ticket. From what i understood you mean that someone would reply on my request asking for host, port and username right?
0 -
Also, i'm using the 100_MarketParice_Streaming but i get nothing. Could you please provide host name, port and sample username?
0 -
Do i need to run IProv100 as well? The same time on the same pc?
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 162 App Studio
- 4 Block Chain
- 5 Bot Platform
- 17 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
- 370 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
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛