ProtoOADepthEvent
* Event that is sent when the structure of depth of market is changed. Requires subscription on the depth of markets for the symbol, see ProtoOASubscribeDepthQuotesReq.
Implements: IMessage<ProtoOADepthEvent>, IMessage, IEquatable<ProtoOADepthEvent>, IDeepCloneable<ProtoOADepthEvent>, IBufferMessage
Properties
public long CtidTraderAccountId { get; set; }
value = protoOADepthEvent.CtidTraderAccountId
protoOADepthEvent.CtidTraderAccountId = value
Unique identifier of the trader's account. Used to match responses to trader's accounts.
public RepeatedField<ulong> DeletedQuotes { get; }
value = protoOADepthEvent.DeletedQuotes
The list of quotes to delete.
public bool HasCtidTraderAccountId { get; }
value = protoOADepthEvent.HasCtidTraderAccountId
Gets whether the "ctidTraderAccountId" field is set
public bool HasPayloadType { get; }
value = protoOADepthEvent.HasPayloadType
Gets whether the "payloadType" field is set
public bool HasSymbolId { get; }
value = protoOADepthEvent.HasSymbolId
Gets whether the "symbolId" field is set
public RepeatedField<ProtoOADepthQuote> NewQuotes { get; }
value = protoOADepthEvent.NewQuotes
The list of changes in the depth of market quotes.
public ulong SymbolId { get; set; }
value = protoOADepthEvent.SymbolId
protoOADepthEvent.SymbolId = value
Unique identifier of the Symbol in cTrader platform.
Methods
public void ClearCtidTraderAccountId()
protoOADepthEvent.ClearCtidTraderAccountId()
Clears the value of the "ctidTraderAccountId" field
public void ClearPayloadType()
protoOADepthEvent.ClearPayloadType()
Clears the value of the "payloadType" field
public void ClearSymbolId()
protoOADepthEvent.ClearSymbolId()
Clears the value of the "symbolId" field
Fields
public const int CtidTraderAccountIdFieldNumber
value = ProtoOADepthEvent.CtidTraderAccountIdFieldNumber
Field number for the "ctidTraderAccountId" field.
public const int DeletedQuotesFieldNumber
value = ProtoOADepthEvent.DeletedQuotesFieldNumber
Field number for the "deletedQuotes" field.
public const int NewQuotesFieldNumber
value = ProtoOADepthEvent.NewQuotesFieldNumber
Field number for the "newQuotes" field.
public const int PayloadTypeFieldNumber
value = ProtoOADepthEvent.PayloadTypeFieldNumber
Field number for the "payloadType" field.
public const int SymbolIdFieldNumber
value = ProtoOADepthEvent.SymbolIdFieldNumber
Field number for the "symbolId" field.