IStoragePositionList
StockSharp.Algo.Storages
The interface for access to the position storage.
实现: IStorageEntityList<Position>, INotifyList<Position>, INotifyCollection<Position>, ICollection<Position>, IEnumerable<Position>, IEnumerable, IList<Position>, ISynchronizedCollection<Position>, ISynchronizedCollection, ISynchronizable
方法
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.
返回值: Position.