Click or drag to resize

BatchEmulation Constructor (ISecurityProvider, IEnumerablePortfolio, IStorageRegistry, StorageFormats, IMarketDataDrive)

Initializes a new instance of the BatchEmulation.

Namespace:  StockSharp.Algo.Strategies.Testing
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public BatchEmulation(
	ISecurityProvider securityProvider,
	IEnumerable<Portfolio> portfolios,
	IStorageRegistry storageRegistry,
	StorageFormats storageFormat = StorageFormats.Binary,
	IMarketDataDrive drive = null
)

Parameters

securityProvider
Type: StockSharp.BusinessEntitiesISecurityProvider
The provider of information about instruments.
portfolios
Type: System.Collections.GenericIEnumerablePortfolio
Portfolios, the operation will be performed with.
storageRegistry
Type: StockSharp.Algo.StoragesIStorageRegistry
Market data storage.
storageFormat (Optional)
Type: StockSharp.Algo.StoragesStorageFormats
The format of market data. Binary is used by default.
drive (Optional)
Type: StockSharp.Algo.StoragesIMarketDataDrive
The storage which is used by default. By default, DefaultDrive is used.
See Also