Table of Contents

Interface IPortfolioProvider

Namespace
StockSharp.BusinessEntities
Assembly
StockSharp.BusinessEntities.dll

The portfolio provider interface.

public interface IPortfolioProvider
Extension Methods

Properties

Portfolios

Get all portfolios.

IEnumerable<Portfolio> Portfolios { get; }

Property Value

IEnumerable<Portfolio>

Methods

LookupByPortfolioName(string)

To get the portfolio by the code name.

Portfolio LookupByPortfolioName(string name)

Parameters

name string

Portfolio code name.

Returns

Portfolio

The got portfolio. If there is no portfolio by given criteria, null is returned.

Events

NewPortfolio

New portfolio received.

event Action<Portfolio> NewPortfolio

Event Type

Action<Portfolio>

PortfolioChanged

Portfolio changed.

event Action<Portfolio> PortfolioChanged

Event Type

Action<Portfolio>