PositionChangeMessage
The message contains information about the position changes.
Inherits: BaseChangeMessage<PositionChangeMessage, PositionChangeTypes>
Implements: IPortfolioNameMessage, IClientCodeMessage, ISecurityIdMessage, IStrategyIdMessage, IOwnerMessage, ISeqNumMessage
Constructors
public PositionChangeMessage()
positionChangeMessage = PositionChangeMessage()
Initializes a new instance of the PositionChangeMessage.
protected PositionChangeMessage(MessageTypes type)
positionChangeMessage = PositionChangeMessage(type)
Initializes a new instance of the PositionChangeMessage.
- type
- Message type.
Properties
public string BoardCode { get; set; }
value = positionChangeMessage.BoardCode
positionChangeMessage.BoardCode = value
Electronic board code.
public string ClientCode { get; set; }
value = positionChangeMessage.ClientCode
positionChangeMessage.ClientCode = value
Client code assigned by the broker.
public override DataType DataType { get; }
value = positionChangeMessage.DataType
Data type info.
public string DepoName { get; set; }
value = positionChangeMessage.DepoName
positionChangeMessage.DepoName = value
The depositary where the physical security.
public string Description { get; set; }
value = positionChangeMessage.Description
positionChangeMessage.Description = value
Text position description.
public TPlusLimits? LimitType { get; set; }
value = positionChangeMessage.LimitType
positionChangeMessage.LimitType = value
Limit type for Т+ market.
public long OwnerPortfolioId { get; set; }
value = positionChangeMessage.OwnerPortfolioId
positionChangeMessage.OwnerPortfolioId = value
Numeric primary key of the owning portfolio, or 0 when unknown.
public long OwnerUserId { get; set; }
value = positionChangeMessage.OwnerUserId
positionChangeMessage.OwnerUserId = value
Numeric primary key of the owning user, or 0 when unknown.
public string PortfolioName { get; set; }
value = positionChangeMessage.PortfolioName
positionChangeMessage.PortfolioName = value
Portfolio code name.
public SecurityId SecurityId { get; set; }
value = positionChangeMessage.SecurityId
positionChangeMessage.SecurityId = value
Security ID.
public long SeqNum { get; set; }
value = positionChangeMessage.SeqNum
positionChangeMessage.SeqNum = value
Sequence number.
public Sides? Side { get; set; }
value = positionChangeMessage.Side
positionChangeMessage.Side = value
Side.
public string StrategyId { get; set; }
value = positionChangeMessage.StrategyId
positionChangeMessage.StrategyId = value
Strategy id.
Methods
public override Message Clone()
result = positionChangeMessage.Clone()
Create a copy of PositionChangeMessage.
Returns: Copy.
public override void CopyTo(PositionChangeMessage destination)
positionChangeMessage.CopyTo(destination)
public override string ToString()
result = positionChangeMessage.ToString()
Returns a string representation of the tuple, with values separated by commas.
Returns: A string representing the tuple's values.