WsPortfolio
StockSharp.Ws
Wire DTO für PortfolioMessage - Server → Client-Schnappschüsse der Portfolioidentität (Währung / Client / Board). Numerische Werte auf Portfolioebene (Gleichgewicht, P & L, etc.) leben in PositionChangeMessage und fahren durch WsPositionChange.
Eigenschaften
BoardCode
public string BoardCode { get; set; }
value = wsPortfolio.BoardCode
wsPortfolio.BoardCode = value
Wire Feld boardCode.
ClientCode
public string ClientCode { get; set; }
value = wsPortfolio.ClientCode
wsPortfolio.ClientCode = value
Wire Feld clientCode.
Currency
public string Currency { get; set; }
value = wsPortfolio.Currency
wsPortfolio.Currency = value
Währung des Drahtfelds.
OriginalTransactionId
public long? OriginalTransactionId { get; set; }
value = wsPortfolio.OriginalTransactionId
wsPortfolio.OriginalTransactionId = value
Wire Feld originalTransactionId.
PortfolioId
public long? PortfolioId { get; set; }
value = wsPortfolio.PortfolioId
wsPortfolio.PortfolioId = value
Wire field portfolioId — the portfolio primary key (broker PK), so a client learns its numeric id from the feed and can echo it back on orders/subscriptions. Populated by the gateway from the message side-channel; omitted when unknown.
PortfolioName
public string PortfolioName { get; set; }
value = wsPortfolio.PortfolioName
wsPortfolio.PortfolioName = value
Wire Feld portfolioName.