-
Python WebSocket Code on RTO - Would it work on RTMDS over WebSocket
We have a client that is currently using Python API to connect to RTO on AWS and generating json files as output for real-time data. They are now evaluating to move the workflow from AWS to on prem RTMDS setup where they have access to 2 ADS servers over private comms. The RTMDS setup is WebSocket enabled. Client wants…
-
1\. Are you allowed to access the Refinitiv Data Platform real-time services via websocket
1\. Are you allowed to access the Refinitiv Data Platform real-time services via websocket. 2\. If you are: what is the hostname and authHostName (the authentication hostname) , they could be the same. 3\. What is the current and relevant code example in either Python or C#. 4\. Is there updated documentation that we can…
-
“A46: Item was reopened under new stream.”
Hi I'm using RTO service via Websocket, suddenly it stopped working on an environment. This is the only machine that is connected to this account. Kindly find attached log for reference. How would I fix the issue? It seems that price don't come after and the message is repeating. Thank you.
-
Using WEBSOCKET API , is there is a way to know if we are connected via RSSL or SSL
Using WEBSOCKET API , is there is a way to know if we are connected via RSSL or SSL?
-
utf8 codec can't decode byte 0xf7 in position 21: invalid start byte
hostname = "'MY_HOST1'" and user = "my_user" And error is the same for impacted ads: ################################################################################ websocket-client version: 1.8.0 ################################################################################ Connecting to WebSocket…
-
Add description to ATS Rics created using WebSocket API
Dear Developer community i'm wondering if is possible to define a description when creating ATS Rics using WebSOcket API, such description to be shown in GUI ATS interface. many thanks for you assistance and help for this topic
-
v2 authentication migration
Hello colleagues, We are following refinitiv migration [guide](https://developers.lseg.com/en/article-catalog/article/webSocket-api-rto-v2-authentication-migration-guide) and have a trouble to connect to RTO via websockets. Here is code snippet in python: import websockets import json import asyncio PING_TIMEOUT = 40 def…
-
Tradin Status Websocket API
Exists any documentation about how to determine the trading status based on fields received via Websocket API? If not, exists any docuemntaion about the field values for MKT_STATUS field?, I have reviewed enumtype.def file but it was not listed there (maybe because that file is for ETA) I have also check that field…
-
Several domains in an item request?
Is possible to include several domains in the same item request to received all in the same stream? For example, domain "MarketPrice" and "MarketByPrice" to receive L1 and L2 in the same stream. Thank you.
-
Websocket - Multiple item request vs batch request
Hi all, is better to send multiple single item requests or one (or several if needed) batch request? I guess that batch requests is better but I have found no best practices documentation. Additionally I have found no API reference with ALL requests/responses specifications and their fields description. Could you provide…
-
may I ask if there is a python solution that does not use websockets, instead using the EMA librarie
I cannot use the websocket api to connect to the ADS server using managed feed user . Can you advise the possible reason ? The below setup is available for OneTick RFA OMM Collector, which is used to collect data from a Refinitiv source using the RFA OMM API onetick@ny2-laa-011.analytics> python3 market_price.py --hostname…
-
WebSocket API: item request with "Qos"
Hi team, Is it possible to change the Quality of Service in Item Request message? We want to control the update rate of prices, for example, receiving the update messages every 2 seconds: { "ID": 3, "Key": {"Name": "HKD=", "Service": "ELEKTRON_DD"}, "Qos": { "Timeliness": "DelayedUnknown", "Rate": "TimeConflated",…
-
Updated Websocket API specification
Hi, I am developing a link software using websocket API in C#. What I found in the API specification document is not the same in the examples. For example for login, there is some fields present in the examples that are not present in the API specification pdf and viceversa. The specification that I have found is from…
-
Requests are sent with ack received,but symbol not updated
Client is contributing via RCC API using websocket, and facing intermittent issues where some requests are sent with ack received, but RICs are not updated. They sent the following message with value null to CLEAR the value 5.Message was received and acknowledged, but value not cleared. [SENT]: 20240512…
-
WebSocket Responce Error
Hi Team, Using Java websocket to connect to WebSocket API, the request is {"ID":2,"Key":{"Name":"SHICNY3MD="}},the error is "Request Rejected:Request Key did not contain service Id". How to fix this? Thanks
-
WebSocket API cannot connect
Hi Team, Using Java websocket to connect to WebSocket API, unable to connect, but the network is normal,URL is ws://ip:port/WebSocket Thanks
-
Java-Websocket version
Hi Team, Client is using RTDS V3.5 and want to use WebSocket API to subscribe data. what is the version requirement for Java-WebSocket ? Thanks
-
Meaning of RWFTYPE values in RWFFld responses
When we use RWFFld dictionary request to get fields types, we get list of elements like below. How to figure out the meaning of the RWFTYPE in the response (8 is REAL, 10 is TIME, 17 is STRING...). Is there a mean to deduce this mapping solely with websockets requests data ? { "Elements":{ "FID":{ "Data":25, "Type":"Int"…
-
RDP Pricing Streaming API
How often do we need to re-subscribe for a symbol? How many RICs can we subscribe to within each subscription request? Can the same jwt be used for socket and to retrieve pricing? What modes can we use for transport? And what are the differences between data formats of price streaming (rwf/tr_json2)
-
Websocket API Transport Stream Closed
Hi Team, I have a customer trying to use Websocket API to retrieve real time data. The application is being developed in Windows operating system, and the connection should be done to a local RTDS infrastructure. According customer they have a successful telnet to RTDS machines in port 15000, but the connection from…
-
We get the following error message from the server: "NakCode:AccessDenied" "Text:902: Cannot Create
We get the following error message from the server: "ID:1" "Type:Ack" "AckID:0" "NakCode:AccessDenied" "Text:902: Cannot Create a Record" "Key:Service:DEX_CTB_PRD" "Name:ATS_RM_CREATE" The message says our access is denied but it would be very strange if we were allowed to create a RIC with "ATS_INSERT_S" delete any RIC…
-
Websocket realtime update fields
Hi Team, Question that is more related to content but let me try. Client complains that the update message contains the fields that are not updated and have the same value as before. Where I can understand it for the field like BID as there could be another BID with the same price but how to explain e.g. STOCK_TYPE.…
-
inconsistent behavior of ADS while using websockets and service is currently down (A17)
Hi (copy of support case 13470008). While using ads3.7.2.L1.linux.rrg 64-bit under RHEL7.9, I observed an inconsistent behavior. While requesting to stream 200 symbols (using websockets) onto a service currently down on ADS , I am receiving the following (expected) status message from the server. The problem is that a…
-
websocekt的参数配置
你好,这是你们的工具类,我们已经生产环境里面获取到了username password clientId,这个host是什么,position是什么,能否给我们提示 public static String server; public static String hostname = "127.0.0.1"; public static String port = "15000"; public static String user = "root"; public static String position = ""; public static String appId = "256"; public static…
-
WebSocket contribution api limits
Is there a rate limit for websocket contribution API? We send about 500 messages per second but only some updates are visible in the terminal. In login response we receive {"TRCE:MaxMessagesPerSecond":1000} . Is it the api rate limit? Does it matter if messages equally distributed or we can send all messages (up to the…
-
Websocket API market_price towards multiple Service's
Hi, I can't find any documentation on how to request market prices towards multiple Service's, would you be able to provide with such or a working example on how to write it? I am using Websocket API with Python and your market_price.py example like below towards one Service only: def send_market_price_request(ws): """…
-
stream managment for real time pricing using refinitive websocket elektron api
Hi , i am trying to get real time prices using websockets and RTDS. my login gets smooth but when i send the request registering my Rics , it closes the stream immediately and start sending me prices on another stream. its not a problem as sch but how would i know which ID to set for new incoming tickers Batch request . is…
-
Looking for the market_price_contrib.py sample code.
Hello, We are testing contribution setup for a client install and we need the market_price_contrib.py python code so we can specify the fields we want to use. I just downloaded the websocket-api and I don't see that file included. I looked at the tutorial for contribution, however, I could not locate this file? Does it…
-
Delayed ACKs from the websocket contributions API
Hi, We are contributing around 20k update messages every 30s to the websocket contribution endpoint (contrib-ws1-amers1.platform.refinitiv.com), however we are seeing the ACKs coming in very delayed, up to a point where it is not possible for us to utilize them for correct failover/retry logic as suggested here…
-
Java sample code to connect to WSS (RTDS)
Hello, We are updating our application to be able to support WebSocket secured connection with RTDS. We have several questions : First, we udpated our ADS to be compatible with secured connection updating the below property : *ads*distribution_ws_sink*connectionType : 1 Then we restarted the ads. Is it all ? Do we need to…
-
How to Get Access Token Through POST HTTP Request?
Hello Everyone, I am trying to use Refinitiv API through HTTP request to get real-time data in my workflow, but I am stuck at the first step of getting access token. I am not sure what I should put in the URL field. I would really appreciate it if I can get any help or instruction from you, thank you! Also, if I use OAuth…
-
Java Websocket Login returns error: unknown to system
I get following error response when I send Login message to the Socket API:…
-
Not getting response when message is sent successfully
It has been some time now working on integration of Refinitiv WebSocket's API and our core banking system, so far I am able to connect to the WebSocket without issues, I can as well send messages successfully, the challenge I am having is that, after I sent the message, I want to be able to log the response as we get…
-
A/B side failover using websockets API for data contributions
Hi, We are trying to implement an integration using the websockets API to contribute our data to Refinitiv. We have not been successful in identifying in your documentation all the scenarios in which a failover should occur between A (contrib-ws1-amers1.platform.refinitiv.com) and B…
-
How to contribute data to RIC on ATS using C#?
Hi, I'm new to RTSDK and I want to contribute market data to RIC defined in ATS using C#. Should I use EMA, ETA or WebSocket API? Could you explain me step by step how to contribute market data to RICs defined in ATS? Best regards.
-
WebSocket API - HTTPS 403
Client Query: We have been contracted for the WebSocket API but are seemingly unable to connect to the service. I tried executing examples 'market_price_rdpgw_service_discovery.py' as well as using the RDP Python library wrapper to perform a price streaming request but end up in both cases with an HTTP403 error. I think it…
-
IDN_RDF to get bonds prices
SENT: { "ID": 2, "Key": { "Name": [ "91282CFK2=RRPS" ], "Service": "IDN_RDF" }, "View": [ "BID" ], "Streaming": true } RECEIVED: [ { "ID": 2, "Type": "Status", "State": { "Stream": "Closed", "Data": "Ok", "Text": "Processed 1 total items from Batch Request. 1 Ok." } }, { "ID": 3, "Type": "Status", "Key": { "Service":…
-
Not receiving the "_on_message" message from Refinitiv WebSocket
Hello, While integrating and testing the connection through the new authentication method (v1 to v2), I came across a bottleneck unfortunately. The problem is as follows: The REST post request (v2) works and I can get hold of the token, but then I can't seem to make the socket connection work properly. The problem is that…
-
Websocket api. How to get average rates for FX rates
I want to get average fx rate for a currency using websocket API for every 30min.
-
Python Websocket sent multiple batch requests but only one is accepted
Hi I'm writing a python websoket program to get all HK equities(0001.HK to 9999.HK(main board) and 10000.HK to 99999.HK(CBBCs, warrants, CNY stocks)). Since there's a MaxMsgSize of 65535 (per batch request I assume?). I try to sent 5 batch requests(requesting 0001.HK to 9999.HK about 1999 RICs per request) but only one…