ProtoOALightSymbol
* Lightweight symbol entity.
Implements: IMessage<ProtoOALightSymbol>, IMessage, IEquatable<ProtoOALightSymbol>, IDeepCloneable<ProtoOALightSymbol>, IBufferMessage
Properties
public long BaseAssetId { get; set; }
value = protoOALightSymbol.BaseAssetId
protoOALightSymbol.BaseAssetId = value
Base asset.
public bool Enabled { get; set; }
value = protoOALightSymbol.Enabled
protoOALightSymbol.Enabled = value
If TRUE then symbol is visible for traders.
public bool HasBaseAssetId { get; }
value = protoOALightSymbol.HasBaseAssetId
Gets whether the "baseAssetId" field is set
public bool HasDescription { get; }
value = protoOALightSymbol.HasDescription
Gets whether the "description" field is set
public bool HasEnabled { get; }
value = protoOALightSymbol.HasEnabled
Gets whether the "enabled" field is set
public bool HasQuoteAssetId { get; }
value = protoOALightSymbol.HasQuoteAssetId
Gets whether the "quoteAssetId" field is set
public bool HasSortingNumber { get; }
value = protoOALightSymbol.HasSortingNumber
Gets whether the "sortingNumber" field is set
public bool HasSymbolCategoryId { get; }
value = protoOALightSymbol.HasSymbolCategoryId
Gets whether the "symbolCategoryId" field is set
public bool HasSymbolId { get; }
value = protoOALightSymbol.HasSymbolId
Gets whether the "symbolId" field is set
public bool HasSymbolName { get; }
value = protoOALightSymbol.HasSymbolName
Gets whether the "symbolName" field is set
public long QuoteAssetId { get; set; }
value = protoOALightSymbol.QuoteAssetId
protoOALightSymbol.QuoteAssetId = value
Quote asset.
public double SortingNumber { get; set; }
value = protoOALightSymbol.SortingNumber
protoOALightSymbol.SortingNumber = value
The number used for sorting Symbols in the UI (lowest number should appear at the top).
public long SymbolCategoryId { get; set; }
value = protoOALightSymbol.SymbolCategoryId
protoOALightSymbol.SymbolCategoryId = value
Id of the symbol category used for symbols grouping.
public long SymbolId { get; set; }
value = protoOALightSymbol.SymbolId
protoOALightSymbol.SymbolId = value
The unique identifier of the symbol in specific server environment within cTrader platform. Different brokers might have different IDs.
public string SymbolName { get; set; }
value = protoOALightSymbol.SymbolName
protoOALightSymbol.SymbolName = value
Name of the symbol (e.g. EUR/USD).
Methods
public void ClearBaseAssetId()
protoOALightSymbol.ClearBaseAssetId()
Clears the value of the "baseAssetId" field
public void ClearDescription()
protoOALightSymbol.ClearDescription()
Clears the value of the "description" field
public void ClearEnabled()
protoOALightSymbol.ClearEnabled()
Clears the value of the "enabled" field
public void ClearQuoteAssetId()
protoOALightSymbol.ClearQuoteAssetId()
Clears the value of the "quoteAssetId" field
public void ClearSortingNumber()
protoOALightSymbol.ClearSortingNumber()
Clears the value of the "sortingNumber" field
public void ClearSymbolCategoryId()
protoOALightSymbol.ClearSymbolCategoryId()
Clears the value of the "symbolCategoryId" field
public void ClearSymbolId()
protoOALightSymbol.ClearSymbolId()
Clears the value of the "symbolId" field
public void ClearSymbolName()
protoOALightSymbol.ClearSymbolName()
Clears the value of the "symbolName" field
Fields
public const int BaseAssetIdFieldNumber
value = ProtoOALightSymbol.BaseAssetIdFieldNumber
Field number for the "baseAssetId" field.
public const int DescriptionFieldNumber
value = ProtoOALightSymbol.DescriptionFieldNumber
Field number for the "description" field.
public const int EnabledFieldNumber
value = ProtoOALightSymbol.EnabledFieldNumber
Field number for the "enabled" field.
public const int QuoteAssetIdFieldNumber
value = ProtoOALightSymbol.QuoteAssetIdFieldNumber
Field number for the "quoteAssetId" field.
public const int SortingNumberFieldNumber
value = ProtoOALightSymbol.SortingNumberFieldNumber
Field number for the "sortingNumber" field.
public const int SymbolCategoryIdFieldNumber
value = ProtoOALightSymbol.SymbolCategoryIdFieldNumber
Field number for the "symbolCategoryId" field.
public const int SymbolIdFieldNumber
value = ProtoOALightSymbol.SymbolIdFieldNumber
Field number for the "symbolId" field.
public const int SymbolNameFieldNumber
value = ProtoOALightSymbol.SymbolNameFieldNumber
Field number for the "symbolName" field.