I'm trying to subscribe to OnMarketDepth event from a Bartype, like instructions on HelpGuide for an Add-On (NinjaScript->Language reference->Add On->Market Depth). But not seem to work. The handler method (myInstrument_MarketDepthUpdate) is run only once rather than with each update of the order book.
Another problem is that my custom parameter does not appear in the dialog for the DataSerie.
Thanks.
Comment