WsPortfolio
StockSharp.Ws
Wire DTO for PortfolioMessage — server→client snapshots of portfolio identity (currency / client / board). Portfolio-level numeric values (balance, P&L, etc.) live in PositionChangeMessage and ride through WsPositionChange.
Properties
BoardCode
public string BoardCode { get; set; }
value = wsPortfolio.BoardCode
wsPortfolio.BoardCode = value
Wire field boardCode.
ClientCode
public string ClientCode { get; set; }
value = wsPortfolio.ClientCode
wsPortfolio.ClientCode = value
Wire field clientCode.
Currency
public string Currency { get; set; }
value = wsPortfolio.Currency
wsPortfolio.Currency = value
Wire field currency.
OriginalTransactionId
public long? OriginalTransactionId { get; set; }
value = wsPortfolio.OriginalTransactionId
wsPortfolio.OriginalTransactionId = value
Wire field 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 field portfolioName.