IStoragePositionList

StockSharp.Algo.Storages

The interface for access to the position storage.

Implementiert: IStorageEntityList<Position>, INotifyList<Position>, INotifyCollection<Position>, ICollection<Position>, IEnumerable<Position>, IEnumerable, IList<Position>, ISynchronizedCollection<Position>, ISynchronizedCollection, ISynchronizable

Methoden

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

To get the position by portfolio and instrument.

portfolio
The portfolio on which the position should be found.
security
The instrument on which the position should be found.
strategyId
Strategy ID.
side
Side.
clientCode
The client code.
depoName
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
Limit type for Т+ market.

Rückgabe: Position.