issue to get Stream prices using Refinitiv Data Library under C# when ric lists contain Null ric
Dear developer community
i rise a problem i faced today when using Refinitiv Data Library to get Stream prices (Desktop and Platform version) under C#.
indeed, when ric list submitted to get stream prices contain Null Rics, there is no response when the open methode is applied and the script crash.
below an example to produce the issue
the 1st one with 3 rics works fine, but the 2nd one with 3 rics including a null one, doesn't work and crash.
many thanks for your help.
Answers
-
Hi @anass.yazane.1 ,
Thank you for posting the question in
this forum. I've raised the ticket number 12455304 on your behalf through Refinitiv Helpdesk, which can be reached via MyRefinitiv and the support team is going to contact you directly to investigate and assist with
this.Hope this helps and please let me
know in case you have any further questions.0 -
Can you confirm which version of the Refinitiv NuGet library you are using? The latest version is 1.0.0-beta4.
In general, the library will pass through the requested item name(s) directly to the backend service which will handle proper validation. The library typically does not override validation before the request is sent down, but instead relies on the backend. This is generally done across all services.
In my first test against the platform session, when I performed the exact request you did, the request works and a status message is sent back from the server indicating the request Key did not contain a name.
{
"ID": 2,
"Type": "Status",
"Key": {
"Service": "ELEKTRON_DD"
},
"State": {
"Stream": "Closed",
"Data": "Suspect",
"Code": "AlreadyOpen",
"Text": "Request Rejected: Request key did not contain name."
}
}However, when I test against a 'desktop' session, the request does not complete because the backend service did not provide the expected 'Status' message. As a result, the call to GetStream() does not return/complete. In addition, I did not receive any Exception nor did the application crash.
If you are using the latest version of the NuGet package, can you confirm the Platform session reacts the same as the Desktop session - it is not for me. And also provide more details around the crash, i.e. Exception details.
1 -
dear @nick.zincone
i use the latest version of nuget pakage (beta4), and i can confirm that i'm facing the same issue using platform session.
Regards
0 -
Can you turn on Debug and provide the logs showing the relevant details? In addition, I tested against one of the examples (https://github.com/Refinitiv-API-Samples/Example.DataLibrary.DotNet/blob/main/src/2.%20Content/2.2-Pricing/2.2.03-Pricing-StreamingCache/2.2.03-Pricing-StreamingCache.cs">https://github.com/Refinitiv-API-Samples/Example.DataLibrary.DotNet/blob/main/src/2.%20Content/2.2-Pricing/2.2.03-Pricing-StreamingCache/2.2.03-Pricing-StreamingCache.cs) within the Git package. If you can also try there, that would be helpful. Thanks.
0 -
Could you please provide the information required by Nick for further investigation?
Thanks,
AHS0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 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
- 367 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
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛