For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 1

looking for nodeJS example vs python

Hi - for the Streaming API Quickstart for wealth.

Service": "ERT_FD3_LF1"

the example is provided in Python but we need it in node-js, is there any examples somewhere we can find this replica in node-js just as an example to confirm

current version is

$>python market_price_rdpgw_service_discovery.py --user <Machine-ID> --password <Password> --clientid <client_id/AppKey>

I just want to be clear as to how the Node-Js

node-jsstreaming-data
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
30.3k 34 11 17

Hello @Wick ,

Please find articles How to implement Refinitiv Real-Time - Optimized Node.js application with TypeScript part 1 and How to implement Refinitiv Real-Time - Optimized Node.js application with TypeScript part 2,

that discuss the approach to integrating RRTO from NodeJs and go over the example RExample.RRTO.TypeScript.NodeJS.MarketPrice on GitHub.

In my view, as these articles and example use service discovery mechanism, you should be all set with the optimal endpoint selection, and the only modification you will need to make for Wealth, is to replace service name ELEKTRON_DD with ERT_FD3_LF1, while subscribing the instrument set that your userid is permissioned for.

Hope this information helps.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
15.8k 28 8 12

Hello @Wick

There is the RTO web application example on the https://github.com/Refinitiv-API-Samples/Article.WebSocketAPI.Javascript.QuoteWidget example too.

Please note that the steps and flows of the RTO application for each technology (Python, Node.js, C#, etc.) are the same. You can use the same application logic from the Python example in Node.js too.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.