WsSecurityId

StockSharp.Ws

Wire DTO for a SecurityId — shared across every message that carries one. Accepts both the nested form ({ "code": "AAPL", "board": "NASDAQ" }) and the "CODE@BOARD" shorthand on the wire — see WsSecurityIdConverter. Output always uses the nested form.

Properties

Board
public string Board { get; set; }
value = wsSecurityId.Board
wsSecurityId.Board = value

Wire field board.

Code
public string Code { get; set; }
value = wsSecurityId.Code
wsSecurityId.Code = value

Wire field code.

Methods

From
public static WsSecurityId From(SecurityId secId)
result = WsSecurityId.From(secId)

From.

ToSecurityId
public SecurityId ToSecurityId()
result = wsSecurityId.ToSecurityId()

ToSecurityId.