Click or drag to resize

MZpackStrategyBaseOnMarketDepthHandler Property

The handler triggered on each market depth event.

Namespace:  MZpack.NT8.Algo
Assembly:  MZpack.NT8.Pro (in MZpack.NT8.Pro.dll) Version: 3.18.1.0 (3.18.1.0)
Syntax
C#
public OnMarketDepthDelegate OnMarketDepthHandler { get; set; }

Property Value

Type: OnMarketDepthDelegate
Examples
C#
// Constructor
public MyMZpackCustomStrategy() : base()
{
    OnMarketDepthHandler = new OnTickDelegate(StrategyOnMarketDepthHandler);
}

// Implement the handler
protected void StrategyOnMarketDepthHandler(MarketDepthEventArgs e, int currentBarIdx)
{
}
See Also