WsPositionChange
Wire DTO for PositionChangeMessage — server→client only. Las actualizaciones por campo (balance, palanca, margen de variación, etc.) se aplanan en el diccionario de cambios que se clave por (int) PositionChangeTypes (el valor subyacente en el enum).
Propiedades
public Dictionary<int, object> Changes { get; set; }
value = wsPositionChange.Changes
wsPositionChange.Changes = value
Cambios en el campo de la red. Las claves son (int)PositionChangeTypes@.
public string ClientCode { get; set; }
value = wsPositionChange.ClientCode
wsPositionChange.ClientCode = value
Cliente de campo de alambre.
public string DepoName { get; set; }
value = wsPositionChange.DepoName
wsPositionChange.DepoName = value
Una depo de campo de alambre.
public TPlusLimits? LimitType { get; set; }
value = wsPositionChange.LimitType
wsPositionChange.LimitType = value
Límite de campo de alambre.
public DateTime LocalTime { get; set; }
value = wsPositionChange.LocalTime
wsPositionChange.LocalTime = value
Campo de alambre l.
public long? OriginalTransactionId { get; set; }
value = wsPositionChange.OriginalTransactionId
wsPositionChange.OriginalTransactionId = value
Campo de cable 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 alambre acc.
public WsSecurityId SecurityId { get; set; }
value = wsPositionChange.SecurityId
wsPositionChange.SecurityId = value
Campo de cable securityId@.
public DateTime ServerTime { get; set; }
value = wsPositionChange.ServerTime
wsPositionChange.ServerTime = value
Campo de alambre s.
public Sides? Side { get; set; }
value = wsPositionChange.Side
wsPositionChange.Side = value
Un campo de campo de gran alcance.
public string StrategyId { get; set; }
value = wsPositionChange.StrategyId
wsPositionChange.StrategyId = value
Campo de cable strategyId@.
Métodos
public static WsPositionChange From(PositionChangeMessage msg)
result = WsPositionChange.From(msg)
De.