Click or drag to resize

Extended settings

Extended settings of HistoryEmulationConnector.

Even if the strategy is tested on the candles, it is necessary to subscribe to the tick trades:


If the strategy needs the order books, it is necessary to subscribe to the order books:


If there are no order books, then to check the working ability of strategies that need order books, it is possible to enable the generation:

var mdGenerator = new TrendMarketDepthGenerator(connector.GetSecurityId(security));
_connector.MarketDataAdapter.SendInMessage(new GeneratorMessage
    IsSubscribe = true,
    Generator = mdGenerator