== How to apply with Python Eikon API using C# .NET Framework IronPython ? ==

Possible if we suppose using this code ?

I would like to use this instead of WhiteArk Eikon Web Browser Test Case

Python

import eikon as ek
def Eikon():
ek.set_app_id('xxxxxxxxxxxxxxx')
value = ek.get_symbology(["MSFT.O", "GOOG.O", "IBM.N"], from_symbol_type="RIC", to_symbol_type="ISIN")
return value

C#

using System;
using IronPython.Hosting;
using Microsoft.Scripting.Hosting;
public class PythonEikonAPI
{
static void Main()
{
var ipy = Python.CreateRuntime();
dynamic test = ipy.UseFile("Test.py");
test.Simple();
}
}

Best Answer