ProtoOASubscribeSpotsReq

StockSharp.cTrader.Native.Model

* Request for subscribing on spot events of the specified symbol. After successful subscription you'll receive technical ProtoOASpotEvent with latest price, after which you'll start receiving updates on prices via consequent ProtoOASpotEvents.

实现: IMessage<ProtoOASubscribeSpotsReq>, IMessage, IEquatable<ProtoOASubscribeSpotsReq>, IDeepCloneable<ProtoOASubscribeSpotsReq>, IBufferMessage

属性

CtidTraderAccountId : long

Unique identifier of the trader's account. Used to match responses to trader's accounts.

HasCtidTraderAccountId : bool

Gets whether the "ctidTraderAccountId" field is set

HasPayloadType : bool

Gets whether the "payloadType" field is set

HasSubscribeToSpotTimestamp : bool

Gets whether the "subscribeToSpotTimestamp" field is set

SubscribeToSpotTimestamp : bool

If TRUE you will also receive the timestamp in ProtoOASpotEvent.

SymbolId : RepeatedField<long>

Unique identifier of the Symbol in cTrader platform.

方法

ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearPayloadType()

Clears the value of the "payloadType" field

ClearSubscribeToSpotTimestamp()

Clears the value of the "subscribeToSpotTimestamp" field

字段

CtidTraderAccountIdFieldNumber : int

Field number for the "ctidTraderAccountId" field.

PayloadTypeFieldNumber : int

Field number for the "payloadType" field.

SubscribeToSpotTimestampFieldNumber : int

Field number for the "subscribeToSpotTimestamp" field.

SymbolIdFieldNumber : int

Field number for the "symbolId" field.