WsIndicatorSubscribe
Client-to-server command (envelope type = "indicatorSubscribe"): subscribe a live indicator on (SecurityId, TimeFrame, Spec). Server primes the indicator with history, returns a WsIndicatorSeries for the warm-up, then streams WsIndicatorPoint messages as bars finalise. Send the same command with IsSubscribe= + OriginalTransactionId matching the original sub's TransactionId to unsubscribe.
Propriedades
From : DateTime?
Wire field from. Optional — if set, server uses this as the history-window start when priming the indicator. Default is implementation-defined (server picks a sensible warm-up window).
IsSubscribe : bool
Wire field isSubscribe. Default ; for unsubscribe.
OriginalTransactionId : long?
Wire field originalTransactionId. Set on unsubscribe to the original sub's TxId.
SecurityId : WsSecurityId
Wire field securityId.
Spec : WsIndicatorSpec
Wire field spec. The indicator kind + parameters.
TimeFrame : string
Wire field timeFrame. ISO-8601 duration ("PT1M") or compact form ("1m", "15m", "1h", "1d"). Server parses both.
TransactionId : long
Wire field transactionId. Client-allocated id; echoed in responses.