Click or drag to resize

ConnectorGetPortfolio Method

To get the portfolio by the name.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public Portfolio GetPortfolio(
	string name
)

Parameters

name
Type: SystemString
Portfolio name.

Return Value

Type: Portfolio
Portfolio.

Implements

IPortfolioProviderGetPortfolio(String)
Remarks
If the portfolio is not registered, it is created via CreatePortfolio(String).
See Also