WsMarketData

StockSharp.Ws

Wire DTO for MarketDataMessage — server→client direction (e.g. echo of a subscribe the server built itself, or a server-initiated reset). Client→server subscribe/unsubscribe uses a different command shape ("type": "subscribe" + dataType dispatcher), handled separately by WsSubscribeCommand.

Свойства

BuildField : Level1Fields?

Wire field buildField.

BuildFrom : string

Wire field buildFrom. DataType is composite (e.g. CandleTimeFrame), so its serializable string form is kept here.

BuildMode : MarketDataBuildModes?

Wire field buildMode.

Count : long?

Wire field count.

DataType : string

Wire field dataType.

FromDate : DateTime?

Wire field from (unix microseconds, UTC).

IsFinishedOnly : bool?

Wire field isFinishedOnly.

IsRegularTradingHours : bool?

Wire field isRegularTradingHours.

IsSubscribe : bool

Wire field isSubscribe.

MaxDepth : int?

Wire field maxDepth.

NewsId : string

Wire field newsId.

RefreshSpeed : long?

Wire field refreshSpeed. Ticks (TimeSpan.Ticks).

SecurityId : WsSecurityId

Wire field securityId.

Skip : long?

Wire field skip.

ToDate : DateTime?

Wire field to (unix microseconds, UTC).

TransactionId : long

Wire field transactionId.

Методы