Click or drag to resize

RealTimeEmulationTraderTUnderlyingMarketDataAdapter Constructor (TUnderlyingMarketDataAdapter, Portfolio, Boolean)

Namespace:  StockSharp.Algo.Testing
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public RealTimeEmulationTrader(
	TUnderlyingMarketDataAdapter underlyngMarketDataAdapter,
	Portfolio portfolio,
	bool ownAdapter = true
)

Parameters

underlyngMarketDataAdapter
Type: TUnderlyingMarketDataAdapter
IMessageAdapter, through which market data will be got.
portfolio
Type: StockSharp.BusinessEntitiesPortfolio
The portfolio to be used to register orders. If value is not given, the portfolio with default name Simulator will be created.
ownAdapter (Optional)
Type: SystemBoolean
Track the connection underlyngMarketDataAdapter lifetime.
See Also