IPortfolioProvider

StockSharp.BusinessEntities

The portfolio provider interface.

属性

Portfolios : IEnumerable<Portfolio>

Get all portfolios.

方法

LookupByPortfolioName(string) : Portfolio

To get the portfolio by the code name.

name
Portfolio code name.

返回值: The got portfolio. If there is no portfolio by given criteria, is returned.

事件

NewPortfolio : Action<Portfolio>

New portfolio received.

PortfolioChanged : Action<Portfolio>

Portfolio changed.