ProtoOALightSymbol

StockSharp.cTrader.Native.Model

* Lightweight symbol entity.

Implements: IMessage<ProtoOALightSymbol>, IMessage, IEquatable<ProtoOALightSymbol>, IDeepCloneable<ProtoOALightSymbol>, IBufferMessage

Properties

BaseAssetId
public long BaseAssetId { get; set; }
value = protoOALightSymbol.BaseAssetId
protoOALightSymbol.BaseAssetId = value

Base asset.

Enabled
public bool Enabled { get; set; }
value = protoOALightSymbol.Enabled
protoOALightSymbol.Enabled = value

If TRUE then symbol is visible for traders.

HasBaseAssetId
public bool HasBaseAssetId { get; }
value = protoOALightSymbol.HasBaseAssetId

Gets whether the "baseAssetId" field is set

HasDescription
public bool HasDescription { get; }
value = protoOALightSymbol.HasDescription

Gets whether the "description" field is set

HasEnabled
public bool HasEnabled { get; }
value = protoOALightSymbol.HasEnabled

Gets whether the "enabled" field is set

HasQuoteAssetId
public bool HasQuoteAssetId { get; }
value = protoOALightSymbol.HasQuoteAssetId

Gets whether the "quoteAssetId" field is set

HasSortingNumber
public bool HasSortingNumber { get; }
value = protoOALightSymbol.HasSortingNumber

Gets whether the "sortingNumber" field is set

HasSymbolCategoryId
public bool HasSymbolCategoryId { get; }
value = protoOALightSymbol.HasSymbolCategoryId

Gets whether the "symbolCategoryId" field is set

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

Gets whether the "symbolId" field is set

HasSymbolName
public bool HasSymbolName { get; }
value = protoOALightSymbol.HasSymbolName

Gets whether the "symbolName" field is set

QuoteAssetId
public long QuoteAssetId { get; set; }
value = protoOALightSymbol.QuoteAssetId
protoOALightSymbol.QuoteAssetId = value

Quote asset.

SortingNumber
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).

SymbolCategoryId
public long SymbolCategoryId { get; set; }
value = protoOALightSymbol.SymbolCategoryId
protoOALightSymbol.SymbolCategoryId = value

Id of the symbol category used for symbols grouping.

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

SymbolName
public string SymbolName { get; set; }
value = protoOALightSymbol.SymbolName
protoOALightSymbol.SymbolName = value

Name of the symbol (e.g. EUR/USD).

Methods

ClearBaseAssetId
public void ClearBaseAssetId()
protoOALightSymbol.ClearBaseAssetId()

Clears the value of the "baseAssetId" field

ClearDescription
public void ClearDescription()
protoOALightSymbol.ClearDescription()

Clears the value of the "description" field

ClearEnabled
public void ClearEnabled()
protoOALightSymbol.ClearEnabled()

Clears the value of the "enabled" field

ClearQuoteAssetId
public void ClearQuoteAssetId()
protoOALightSymbol.ClearQuoteAssetId()

Clears the value of the "quoteAssetId" field

ClearSortingNumber
public void ClearSortingNumber()
protoOALightSymbol.ClearSortingNumber()

Clears the value of the "sortingNumber" field

ClearSymbolCategoryId
public void ClearSymbolCategoryId()
protoOALightSymbol.ClearSymbolCategoryId()

Clears the value of the "symbolCategoryId" field

ClearSymbolId
public void ClearSymbolId()
protoOALightSymbol.ClearSymbolId()

Clears the value of the "symbolId" field

ClearSymbolName
public void ClearSymbolName()
protoOALightSymbol.ClearSymbolName()

Clears the value of the "symbolName" field

Fields

BaseAssetIdFieldNumber
public const int BaseAssetIdFieldNumber
value = ProtoOALightSymbol.BaseAssetIdFieldNumber

Field number for the "baseAssetId" field.

DescriptionFieldNumber
public const int DescriptionFieldNumber
value = ProtoOALightSymbol.DescriptionFieldNumber

Field number for the "description" field.

EnabledFieldNumber
public const int EnabledFieldNumber
value = ProtoOALightSymbol.EnabledFieldNumber

Field number for the "enabled" field.

QuoteAssetIdFieldNumber
public const int QuoteAssetIdFieldNumber
value = ProtoOALightSymbol.QuoteAssetIdFieldNumber

Field number for the "quoteAssetId" field.

SortingNumberFieldNumber
public const int SortingNumberFieldNumber
value = ProtoOALightSymbol.SortingNumberFieldNumber

Field number for the "sortingNumber" field.

SymbolCategoryIdFieldNumber
public const int SymbolCategoryIdFieldNumber
value = ProtoOALightSymbol.SymbolCategoryIdFieldNumber

Field number for the "symbolCategoryId" field.

SymbolIdFieldNumber
public const int SymbolIdFieldNumber
value = ProtoOALightSymbol.SymbolIdFieldNumber

Field number for the "symbolId" field.

SymbolNameFieldNumber
public const int SymbolNameFieldNumber
value = ProtoOALightSymbol.SymbolNameFieldNumber

Field number for the "symbolName" field.