How to Transition from C# Eikon to Workspace

Dear LSEG Support Team,
Greetings.
We have been using the EikonDataAPI NuGet package with C# to access Eikon data. Below is an example of the code we have implemented:
using EikonDataAPI; |
|
---|---|
IEikon eikon = Eikon.CreateDataAPI(); |
|
eikon.SetAppKey(EikonApiKey); |
|
Dictionary<string, string> dic = new Dictionary<string, string>(); |
|
dic.Add("Sdate", data1); |
|
dic.Add("Edate", data2); |
|
dic.Add("Freq", "daily"); |
|
string response = eikon.GetDataRaw(recv_cds, ricks, dic); //JSON |
|
However, with the discontinuation of the Eikon service, we understand that we need to transition to using Workspace. We would like to adapt the above code to work in the Workspace environment.
Could you please advise us on the appropriate NuGet package to use and assist us in modifying the provided code to function correctly with Workspace?
Additionally, we are using the TR() function from the Eikon Excel Toolkit. Could you please let us know which function in the Workspace Excel Toolkit we should use as a replacement?
We are currently using .NET Framework 4.7.2 and developing with Visual Studio 2017.
We would greatly appreciate your prompt response at your earliest convenience.
Wishing you continued success.
Thank you very much for your support.
Best regards,
Answers
-
Thank you for reaching out to us.
You can use the LSEG Data Library for .Net with the desktop session.
Please refer to the 2.8.01-FundamentalAndReference-Basics example.
0 -
Dear Jirapongse,
Thank you very much for your prompt response.
However, I do not currently have an environment set up to conduct testing. As a result, I am finding it difficult to fully understand your reply.
Would you kindly provide a more detailed and patient explanation?Best regards,
0 -
Currently, you are using the EikonDataAPI library available on NuGet. You need to migrate the application to use the LSEG Data Library for .Net instead. The package is also available on NuGet. However, it supports .NET Framework 4.8.
There are examples of the LSEG Data Library for .Net on GitHub. The example that is similar to the eikon.GetDataRaw method is the 2.8.01-FundamentalAndReference-Basics example.
Regarding the TR excel function, the LSEG Workspace Excel uses the @RDP.Data function instead.
However, it also provides the Build Formula tool for generating Excel formulas.
0 -
Hi @fnpricing
There is a dedicate migration page for the EikonDataAPI NuGet package
Inside there you can find a link to Migrating Eikon .Net API calls article.0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 685 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 252 ETA
- 556 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 652 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛