-
Does the WebSocket spec support Packing of Posting Messages for Performance
When receiving messages form the ADS via WebSocket, the ADS packs multiple updates into an array of messages. The format appears to be and array of JSON formatted messages. When posting publishing for performance testing, it would be beneficial to able to pack the post update messages into an array of messages and then…
-
vulnerable json.jar
Hi, We are currently working on upgrading vulnerable .jar files and json-20190722.jar was found on our list. We are wondering, is non-vulnerable json-20230227.jar version is it compatible with other Refinitiv SDK version 3.6.8.0 libraries we use (ansipage-3.6.8.0, ema-3.6.8.0, eta-3.6.8.0, etajConverter-3.6.8.0,…
-
Websocket protocols - tr_json2 vs rssl.json.v2
We are currently using RFA API for bringing in Realtime Market Data from TREP. We are looking to move to strategic Websocket API which is supported by our platform. Looking to understand the protocols supported with Websockets..? - We are informed that tr_json2 is same as rssl.json.v2. Is that the case..? What is the diff…
-
ATS command to replicate using WebSocket API JSON sample
Hello, One of our clients reported the following use case : They publish prices for instruments through ATS, and sometimes they "update" the fields that they publish for some instruments (Ex : Before ATS update command, they publish ASK for RIC_A= and after the command they publish ASK and BID for RIC_A=). We asked them…
-
RWF to JSON conversion issues
We are converting RWF messages to JSON using the RSSL_JSON_JPT_JSON2 option, we notice that the groupId (shown as a required field in Refresh messages) is not present in the JSON, as a consequence if we convert back to RWF the data is lost. Is this a known issue ? If so when/if might it be fixed ?
-
Python websocket multithread/ multiprocess storing the received JSON data in one thread questions
For my development, I’m trying to have two threads. One threads is for receiving real time data and put them into a list/dictionary(which one should I use to store the JSON I received?) And the other thread is to loop through the list/dictionary and print out the data in the JSON object/string we need.(not all the fields…
-
Terms & Condition Reference Data
We are migrating to "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.PriceHistoryExtractionRequest" from "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.ElektronTimeseriesExtractionRequest" Although the API End Point :…
-
Valid Json code for elements of Type "Array"
Hi, the protocol specification for array primitives is a little bit rare. Therefore I have some questions. 1.) Is the following json sample syntax in case of a UInt- or AsciiString-array also valid? * "Elements": { * "Name": "ERT_FD3_LF1", * "SupportsQoSRange": 0, * "Capabilities": { * "Type": "Array", * "Data":…
-
Websocket Container: Elements containing an Array-Primitiv
Hello, if an Elements-Contianer takes is an Entry of Type "Array", are the Type-Attribute describing the Entry containing "Array" or the name of the DataType that the Array contains? Kind regards Reinhold
-
GOVSRCH produces malformed JSON queries when using 'export query'
GOVSRCH 'export query' produces malformed JSON-representation queries that result in an error when used with the API. This happens when a complex rating filter is created. This makes it impossible to export the query to e.g. Python code, because the query will result in Error 400 "Invalid filter: unmatched closing…
-
Cannot retrive VIX data
Hi, I'm trying to get the results by using "TickHistoryIntradaySummariesExtractionRequest" and "TickHistoryTimeAndSalesExtractionRequest" (from https://community.developers.refinitiv.com/questions/92672/how-to-download-the-historical-tick-data-of-cboe-v.html) to retrieve VIX data using the DSS API, neither of these JSON…
-
DSS REST API - Lipper Fund - TNC.Total Net Assets - truncated value
Hi, Is there a way when performing a Scheduled Extraction getting the extracted data back in JSON rather than as a text (csv stream), either through some sort of 'coercing' or if there's an endpoint specifically to get the same output from the extraction in a JSON format, if DSS supports either of these 2 options? For…
-
How to filter ISIN by Instrument Type Code
Hello I'm trying to get data using TermsAndConditionsExtractionRequest. As it shown in the tutorial, there are several steps of getting data. Such as request token, load json request etc. I'm interested in the step, where I need to append instruments to the array and post request to DSS REST server. Here is my JSON request…
-
How can I retrieve news stories with invalid JSON characters in Eikon API?
I am currently working on a project in Python and making use of the Eikon API to collect news data and calculate their sentiment. I use the get_news_story() function to get the story text for calculating its sentiment. In doing so, I sometimes get an error as shown below: I can't analyze the text in the news story for…
-
running the same http request that was valid - getting error - could not sent request
Hi, sometimes same json that was valid changing the token of course, i'm keep getting the error Could not send request - Error: socket hang up using via fiddler composer or via visual studio everything works fine. thanks, Yaniv
-
Maximum json message size?
Some Datascope REST API requests use lists of parameters. Sometimes we need to pass many items and your server breaks the connection (the request size was 7430360 bytes). So the question is: what is maximum size of the message supported by json parser on your side?
-
Facing issue while implementing RKD JSON Application with
Hey Members, I tried to implement this - https://developers.refinitiv.com/en/article-catalog/article/how-to-implement-trkd-json-application-with-python-chapter-1-basic, and having issue to executing time error.…
-
Eikon "json_requests" incorrect and Eikon Data API has lost access - related to recent update?
I have a pretty simple python script to get Refinitiv Eikon Data into a dataframe. import eikon as ek ek.set_app_key('api_key_goes_here') #real key would go here Instruments = ["USFN3015=TWEB","USFN30151=TWEB","USFN30152=TWEB"] Fields = [ek.TR_Field('CF_NAME'), ek.TR_Field('COUPN_RATE'), ek.TR_Field('CF_LAST')] Price_df,…
-
Implement JSON in Elektron API
Hello everyone, I'm trying implement an JSON parse in EMA API, but I'm stuck in this Error: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. I'm using this library:…
-
Bug in from_json_to_df in PyDSWS
Hi, It seems that, as of yesterday, there is a bug when converting dates with from_json_to_df the following is coded: import PyDSWS as pyDS ds = pyDS.Datastream(username='xxxxx', password='yyyyy') sec = ds.get_data(tickers='S&PCOMP', fields='PI', start='2001-09-05', end='2001-09-15', freq='D') and the resulting output is:…
-
Exception when requesting ceratin combination of paramters with HistoricalPricing.GetSummaries
When I modify the .NET example (2.0.0) code: response = HistoricalPricing.GetSummaries(new HistoricalPricingSummaries.Params().Universe("DTEGn.DE") .WithInterval(HistoricalPricingSummaries.Interval.P1D) .WithFields("DATE", "OFF_CLOSE") .WithCount(10000)); I always get a "Newtonsoft.Json.JsonReaderException": Failed to…
-
Is there any documentation regarding data to be expected when using the .NET Refinitiv.DataPlatform
When I open a data stream via DeliveryFactory.CreateStream(...) I can supply callback methods e.g. OnRefresh(MyRefershHandler). This handler will then receive the message in form of a json object (JObject message). Is there a description somewhere listing the data that can be expected here, or in the other callbacks? For…
-
should i keep null or {} in empty objects of json.
{ “Parentnode”: {} } { “Parentnode”: { “n1”: “Cc”,“n2”:“ccc” } } here when there is no object should i keep {} in parentnode or null. with respect to json conventions yours sincerely
-
Error code 408 | Request timeout occured - JSON request
In Terminal I try to run my python file that should download a large quantity of data as a CSV file. I get the error code 408. Something about a JSON request. How do I fix this? (base) U:\Castellain\refinitiv>python dailyAPIcode.py Request timeout occured Traceback (most recent call last): File "dailyAPIcode.py", line 25,…
-
RDP ESG Api - Only JSON format supported or is it possible to have it in csv or xml?
RDP ESG Api - Only JSON format supported or is it possible to have it in csv or xml?
-
I am trying to capture EMA streaming data to JSON. How to do this ?
I am trying to capture EMA streaming data to JSON. How to do this ?
-
Resolution Scores in Intelligent Tagging API
When using the Intelligent Tagging API : https://api-eit.refinitiv.com/permid/calais, for both RDF and JSON formats, I can get all instances of a certain entity in the input text, but I can't get the confidence scores for those entities, as I want to filter the edges to only those above certain threshold. Also for the…
-
TuckHistory / retrieve scheduled extraction / REST/JSON
Hello, I would like to retrieve some data from a Stored & Scheduled Workflow (products list, report template and scheduler). I am using a REST/JSON client in order to retrieve the last ReportExtractionId and associated ExtractedFileIds. I am able to retrieve all the IDs and for downloading this file, I am using the request…
-
consumes create token service by using json
Is Anybody consumes create token service by using json message format. if yes plz share service url and message format.
-
JSON request format
I want to call this service "http://api.trkd.thomsonreuters.com/api/TokenManagement/TokenManagement.svc/REST/TokenManagement_1" using CPPRest API. But i don't know the how i can pass required parameters in message body or what is the message body. Please Help...
-
Generating custom solutions reports with FTP/SFTP
DSS allows to upload XML and CSV report request files. What with JSON?
-
Need help on a JSON Scrip for Sharepoint
Hi All, to state it at the beginning: I´m absolutley not familar to Java (at least not yet) but I Need urgently a script to emmbed the following functionality: - given is a Sharepoint list with multiple columns - one column contains prelections as drop down menu - now when a user selects a specific value from that drop…
-
Timezone London - How to make sure its correct
I have a json request and I would like to get the data based on London time Is is the correct way to set this up? What about when London is on BST (UTC+1)? "Condition": { "DateRangeTimeZone": "Utc", "MessageTimeStampIn": "GmtUtc", "ReportDateRangeType": "Range", .......... }
-
Issue with max request limit for send_json_request(). Data is being truncated beyond 20 RICs
I am currently trying to grab a time series for 'VOLUME' and 'TIMESTAMP' for 25 RICs over 6 months using 'ek.send_json_request()'. However the moment I go over 20 RICs, The data returned begins to truncate. So if my 'start_date' is 2019-01-02 and my 'end_date' 2019-06-28' and I use beyond 20 RICs, data will incrementally…
-
How to request EXACT match by gender in a secondary field
I need to filter the screening results (/cases/screeningRequest) by given gender so in the request I have configured a secondary field with typeId="SFCT_1" and value set either to MALE or FEMALE. However the returned JSON result contains MALE and FEMALE gender entities, even though in the Accelus system I can see only the…
-
top level group api 401 Unauthorized on all API Calls (SEQ-1a: Get my top-level groups)
function generateAuthHeader(dataToSign){ var hash = CryptoJS.HmacSHA256(dataToSign,environment["api-secret"]); pm.globals.set("variable_key", "variable_value"); return hash.toString(CryptoJS.enc.Base64); } var date = new Date().toGMTString(); var dataToSign = "(request-target): get " + environment["gateway-url"] +…
-
Calling the API for specific ccy pairs
I am using json to build the request. The below works fine. I can see the results: #RIC,Domain,Date-Time,GMT Offset,Type,High Bid,Low Bid,Close Bid,High Ask,Low Ask,Close Ask BRL=,Market Price,2019-07-08T14:00:00.000000000Z,+0,Intraday 10Min,3.8096,3.8055,3.8058,3.811,3.8069,3.8083 BRL=,Market…
-
DatastreamDSWS2R Connection via Proxy - JSON error
I am connecting to DatastreamDSWS2R via a http_proxy to get past our company firewall (proxy defined in .Renviron file) and am getting the following error: Error in rjson::fromJSON(myTokenResponse) : unexpected character '<' Can somebody help me make sense of this mistake? I have sofar never been able to connect to…
-
How can I detect when a value pair is not present in response from server
Hi My VB program crashes occasionally when a result does not exist. For example: For n = 0 To 5 If theRunner(0).result(0).runners(0).ex.availableToLay(n).price > 10 Then……………………… Next n Sometimes only ex.availableToLay(0),ex.availableToLay(1) are present if the response from server. How can I check if it exists without…
-
Why when pulling data using the RIC the values are correct but it is showing Null when using the ISI
Please find below an answer from a request using the DSS REST API. You can notice that when I used the RIC as the identifier the values are correct, but when I use the ISIN as the identifier the values are null. It is also strange the when I use the ISIN for the identifier it returns another RIC instead of the EWZ. Could…