[Python.NET] Need help in converting function of .net to python

2018-05-22 Thread NicKz 👫
Hi All, I hope all of you are doing well in your life. I want to convert this .net function in python private static string decrypt(string enctxt) { string dectext = ""; string encryptKey = "HECT17IPWORI1702"; byte[] encArr = Convert.FromBase64String(enctxt); using (Aes aesObj = Ae

[Python.NET] Speeding Up Pythonnet

2018-05-22 Thread Jared Broad via PythonDotNet
Hi All, my first post here =) We're using Pythonnet in LEAN - an open source algorithmic trading platform. We load the python object and then we make it look like a C# interface . Each time a method/property is cal