ProtoOAAssetClass

StockSharp.cTrader.Native.Model

* Asset class entity.

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

Properties

HasId : bool

Gets whether the "id" field is set

HasName : bool

Gets whether the "name" field is set

HasSortingNumber : bool

Gets whether the "sortingNumber" field is set

Id : long

Unique asset ID.

Name : string

Asset class name.

SortingNumber : double

The number used for sorting Asset Classes in the UI (lowest number should appear at the top).

Methods

ClearId()

Clears the value of the "id" field

ClearName()

Clears the value of the "name" field

ClearSortingNumber()

Clears the value of the "sortingNumber" field

Fields

IdFieldNumber : int

Field number for the "id" field.

NameFieldNumber : int

Field number for the "name" field.

SortingNumberFieldNumber : int

Field number for the "sortingNumber" field.