WsPositionChange
DTO de fio para PositionChangeMessage — servidor→cliente somente. As atualizações por campo (equilíbrio, alavancagem, margem de variação, etc.) são achatadas no dicionário de mudanças com a tecla (int)PositionChangeTypes (o valor de enum subjacente).
Propriedades
public Dictionary<int, object> Changes { get; set; }
value = wsPositionChange.Changes
wsPositionChange.Changes = value
Alterações de campo de fio. As chaves são (int) PositionChangeTypes.
public string ClientCode { get; set; }
value = wsPositionChange.ClientCode
wsPositionChange.ClientCode = value
Cliente de campo de escuta.
public string DepoName { get; set; }
value = wsPositionChange.DepoName
wsPositionChange.DepoName = value
Depo de campo de arame.
public TPlusLimits? LimitType { get; set; }
value = wsPositionChange.LimitType
wsPositionChange.LimitType = value
Limite de campo de arame.
public DateTime LocalTime { get; set; }
value = wsPositionChange.LocalTime
wsPositionChange.LocalTime = value
Campo de arame l.
public long? OriginalTransactionId { get; set; }
value = wsPositionChange.OriginalTransactionId
wsPositionChange.OriginalTransactionId = value
Campo de arame originalTransactionId.
public long? PortfolioId { get; set; }
value = wsPositionChange.PortfolioId
wsPositionChange.PortfolioId = value
Wire field portfolioId — the portfolio primary key (broker PK), so a client can bind the position to its numeric portfolio id rather than the display name. Populated by the gateway from the message side-channel; omitted when unknown.
public string PortfolioName { get; set; }
value = wsPositionChange.PortfolioName
wsPositionChange.PortfolioName = value
Campo de arame ACC.
public WsSecurityId SecurityId { get; set; }
value = wsPositionChange.SecurityId
wsPositionChange.SecurityId = value
Campo de arame securityId.
public DateTime ServerTime { get; set; }
value = wsPositionChange.ServerTime
wsPositionChange.ServerTime = value
Campos de arame.
public Sides? Side { get; set; }
value = wsPositionChange.Side
wsPositionChange.Side = value
Lado do campo de arame.
public string StrategyId { get; set; }
value = wsPositionChange.StrategyId
wsPositionChange.StrategyId = value
Campo de arame strategyId.
Métodos
public static WsPositionChange From(PositionChangeMessage msg)
result = WsPositionChange.From(msg)
De onde.