I'm trying to retrieve data from internal contributions in a c# project (class library, later to be referenced in a broader solution, presently in a simple solution where it's called by a test console app, for example's simplicity's sake i'm just trying to make it work in the console project alone)
Namely, i can retrieve (see sample code below) data that are under the "source" 'RSF' (which is typically the first argument of the more familiar RtGet functions), but my data are under an internal source 'INTPAR' and i cannot find any corresponding argument for this "source".
I referenced the EikonDataAPI (is it the best fit for my need?) as NuGet package (loading associated dlls, MS extensions, Deedle, ...) and i created an App Key from the Eikon monitor.
I can have this sample code working:
using System; using EikonDataAPI; using Deedle; namespace ConsoleApp1 { class Program { static void Main(string[] args) { Console.WriteLine("hello"); IEikon myEikon = Eikon.CreateDataAPI(); myEikon.SetAppKey("xxx"); var response = myEikon.GetData("EUR=", "PRIMACT_1"); response.Print(); } } }
returning as expected
hello Instrument PRIMACT_1 0 -> EUR= 1,0882
thanks in advance for any help