Table of Contents

Interface IStoragePositionList

Namespace
StockSharp.Algo.Storages
Assembly
StockSharp.Algo.dll

The interface for access to the position storage.

public interface IStoragePositionList : IStorageEntityList<Position>, INotifyList<Position>, INotifyCollection<Position>, IList<Position>, ICollection<Position>, IEnumerable<Position>, IEnumerable, ISynchronizedCollection<Position>, ISynchronizedCollection
Inherited Members
Extension Methods

Methods

GetPosition(Portfolio, Security, string, Sides?, string, string, TPlusLimits?)

To get the position by portfolio and instrument.

Position GetPosition(Portfolio portfolio, Security security, string strategyId, Sides? side, string clientCode = "", string depoName = "", TPlusLimits? limit = null)

Parameters

portfolio Portfolio

The portfolio on which the position should be found.

security Security

The instrument on which the position should be found.

strategyId string

Strategy ID.

side Sides?

Side.

clientCode string

The client code.

depoName string

The depository name where the stock is located physically. By default, an empty string is passed, which means the total position by all depositories.

limit TPlusLimits?

Limit type for Т+ market.

Returns

Position

Position.