<div dir="ltr">Hello All,<div><br></div><div>Python.Net looks amazing, I'm excited to get into it. I wanted to ask some general architecture advice to see if what we're attempting to do is possible, and if so, how I could best lay out the design.</div><div><br></div><div>We've got a large open source C# application called Lean which runs .NET/Mono DLL's we call "Algorithms" -- (<a href="https://github.com/QuantConnect/Lean" target="_blank">https://github.com/QuantConnect/Lean</a>) we'd like to allow it to support python algorithms.</div><div><br></div><div>Ideally, we'd like to keep all the maintenance and core code base in C#, and invoke events in Python event handlers. Users would write python algorithms (implement event handlers) which would be called from C#.</div><div><br></div><div>They would need access to C# properties in the C# base class, and the ability to call C# methods in the base DLL. Ideally we wouldn't require a stand alone python wrapper program.</div><div><br></div><div>I'd welcome thoughts on how to architect this in a high performance way!</div><div><br></div><div>Thank you!</div><div>Jared</div><div><br></div><div>LEAN open source - <a href="https://github.com/QuantConnect/Lean" target="_blank">https://github.com/QuantConnect/Lean</a></div><div><br></div><div>Python algorithm frame - <a href="https://github.com/QuantConnect/Lean/tree/master/Algorithm.Python">https://github.com/QuantConnect/Lean/tree/master/Algorithm.Python</a></div><div><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div style="color:rgb(51,51,51);font-size:13px;font-family:arial,sans-serif">Jared Broad</div><div style="color:rgb(51,51,51);font-size:13px;font-family:arial,sans-serif"><img src="http://www.quantconnect.com/i/logo-small.png" width="200" height="37"><br></div><div style="color:rgb(51,51,51);font-size:13px;font-family:arial,sans-serif"><div style="font-family:arial;font-size:small"><div style="font-size:13px;font-family:arial,sans-serif"><a href="http://www.quantconnect.com/" target="_blank">www.quantconnect.com</a></div><div style="font-size:13px;font-family:arial,sans-serif"><span style="font-size:small;border-collapse:separate;font-family:arial">Phone-USA: </span><span style="font-size:small;color:rgb(0,0,0);font-family:arial">+1 </span><span style="color:rgb(0,0,0);font-family:arial;font-size:small"><a href="tel:917%20327%200556" value="+19173270556" target="_blank">917 327 0556</a></span></div></div><div><span style="border-collapse:separate;font-family:arial;font-size:small"><i>Democratizing Finance, Empowering Individuals</i></span></div><div><span style="border-collapse:separate;font-family:arial;font-size:small"><a href="http://www.facebook.com/QuantConnect" style="font-family:arial,sans-serif;font-size:13px" target="_blank">Facebook</a><span style="font-family:arial,sans-serif;font-size:13px"> | </span><a href="https://twitter.com/#!/QuantConnect" style="font-family:arial,sans-serif;font-size:13px" target="_blank">Twitter</a><span style="font-family:arial,sans-serif;font-size:13px"> | </span><a href="http://www.linkedin.com/company/quantconnect" style="font-family:arial,sans-serif;font-size:13px" target="_blank">LinkedIn</a> | Skype: jaredbroad <br><br><span></span><a href="http://bit.ly/YBTnRd" target="_blank">Want to know more about Algorithms? Check out our infographic!</a><span></span></span></div></div></div></div></div>
</div><div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aamFyZWRAcXVhbnRjb25uZWN0LmNvbQ%3D%3D&type=zerocontent&guid=8efdaf37-1ff4-4b0c-be1f-cc0ba46e01dd"><font color="#ffffff" size="1">ᐧ</font></div></div>