How to subscribe to a .NET event in a python listener using pythonnet?
问题 I'm trying to make an event listener to subscribe to a tick (price) event from a FX trading application, using Python. The original application is a native 32-bit Windows app called MetaTrader4 . This does not have any API, so the mtapi bridge has been designed in .NET to allow other programming languages to interact with it. The application has some events defined, two of which are: QuoteUpdate and QuoteUpdated . So I would like to write a listener ( delegate ?) using python.net to subscribe