Click or drag to resize

IEntityFactoryCreatePosition Method

Create position.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
Position CreatePosition(
	Portfolio portfolio,
	Security security
)

Parameters

portfolio
Type: StockSharp.BusinessEntitiesPortfolio
Portfolio.
security
Type: StockSharp.BusinessEntitiesSecurity
Security.

Return Value

Type: Position
Created position.
See Also