ProtoOADepthEvent

StockSharp.cTrader.Native.Model

* 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

CtidTraderAccountId
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.

DeletedQuotes
public RepeatedField<ulong> DeletedQuotes { get; }
value = protoOADepthEvent.DeletedQuotes

The list of quotes to delete.

HasCtidTraderAccountId
public bool HasCtidTraderAccountId { get; }
value = protoOADepthEvent.HasCtidTraderAccountId

Gets whether the "ctidTraderAccountId" field is set

HasPayloadType
public bool HasPayloadType { get; }
value = protoOADepthEvent.HasPayloadType

Gets whether the "payloadType" field is set

HasSymbolId
public bool HasSymbolId { get; }
value = protoOADepthEvent.HasSymbolId

Gets whether the "symbolId" field is set

NewQuotes
public RepeatedField<ProtoOADepthQuote> NewQuotes { get; }
value = protoOADepthEvent.NewQuotes

The list of changes in the depth of market quotes.

SymbolId
public ulong SymbolId { get; set; }
value = protoOADepthEvent.SymbolId
protoOADepthEvent.SymbolId = value

Unique identifier of the Symbol in cTrader platform.

Methods

ClearCtidTraderAccountId
public void ClearCtidTraderAccountId()
protoOADepthEvent.ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearPayloadType
public void ClearPayloadType()
protoOADepthEvent.ClearPayloadType()

Clears the value of the "payloadType" field

ClearSymbolId
public void ClearSymbolId()
protoOADepthEvent.ClearSymbolId()

Clears the value of the "symbolId" field

Fields

CtidTraderAccountIdFieldNumber
public const int CtidTraderAccountIdFieldNumber
value = ProtoOADepthEvent.CtidTraderAccountIdFieldNumber

Field number for the "ctidTraderAccountId" field.

DeletedQuotesFieldNumber
public const int DeletedQuotesFieldNumber
value = ProtoOADepthEvent.DeletedQuotesFieldNumber

Field number for the "deletedQuotes" field.

NewQuotesFieldNumber
public const int NewQuotesFieldNumber
value = ProtoOADepthEvent.NewQuotesFieldNumber

Field number for the "newQuotes" field.

PayloadTypeFieldNumber
public const int PayloadTypeFieldNumber
value = ProtoOADepthEvent.PayloadTypeFieldNumber

Field number for the "payloadType" field.

SymbolIdFieldNumber
public const int SymbolIdFieldNumber
value = ProtoOADepthEvent.SymbolIdFieldNumber

Field number for the "symbolId" field.