Click or drag to resize

DataType Class

Data type info.
Inheritance Hierarchy
SystemObject
  CloneableDataType
    EquatableDataType
      StockSharp.MessagesDataType

Namespace:  StockSharp.Messages
Assembly:  StockSharp.Messages (in StockSharp.Messages.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public class DataType : Equatable<DataType>, 
	IPersistable

The DataType type exposes the following members.

Constructors
  NameDescription
Public methodDataType
Initializes a new instance of the DataType class
Top
Properties
  NameDescription
Public propertyArg
The additional argument, associated with data. For example, candle argument.
Public propertyStatic memberBoard
Board info.
Public propertyStatic memberCandlePnF
PnFCandleMessage data type.
Public propertyStatic memberCandleRange
RangeCandleMessage data type.
Public propertyStatic memberCandleRenko
RenkoCandleMessage data type.
Public propertyStatic memberCandleTick
TickCandleMessage data type.
Public propertyStatic memberCandleTimeFrame
Public propertyStatic memberCandleVolume
Public propertyIsCandles
Determines whether the specified message type is derived from CandleMessage.
Public propertyIsMarketData
Determines whether the specified message type is market-data.
Public propertyIsPortfolio
Determines whether the specified message type is derived from PortfolioMessage.
Public propertyIsSecurityRequired
Is the data type required security info.
Public propertyStatic memberLevel1
Level1.
Public propertyStatic memberMarketDepth
Market depth.
Public propertyMessageType
Message type.
Public propertyStatic memberNews
News.
Public propertyStatic memberOrderLog
Order log.
Public propertyStatic memberPositionChanges
Position changes.
Public propertyStatic memberSecurities
Securities.
Public propertyStatic memberTicks
Ticks.
Public propertyStatic memberTimeFrames
The candle time frames.
Public propertyStatic memberTransactions
Transactions.
Public propertyStatic memberUsers
User info.
Top
Methods
  NameDescription
Public methodClone
Create a copy of DataType.
(Overrides Cloneable.Clone.)
Public methodCompareTo(Object) (Inherited from EquatableDataType.)
Public methodCompareTo(UTP) (Inherited from EquatableDataType.)
Public methodStatic memberCreate
Initializes a new instance of the DataType.
Public methodEquals(Object) (Inherited from EquatableDataType.)
Public methodEquals(UTP) (Inherited from EquatableDataType.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides Equatable.GetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
Load settings.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnEquals
Compare DataType on the equivalence.
(Overrides Equatable.OnEquals(UTP).)
Public methodStatic memberPortfolio
Create data type info for PortfolioMessage.
Public methodSave
Save settings.
Public methodStatic memberTimeFrame
Create data type info for TimeFrameCandleMessage.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodIsLookup
Determines the specified type is lookup.
(Defined by Extensions.)
Public Extension MethodToCandleSeries
Convert DataType to CandleSeries value.
(Defined by MessageConverterHelper.)
Public Extension MethodToMarketDataType
Convert DataType to MarketDataTypes value.
(Defined by Extensions.)
Public Extension MethodToReadableString
Convert DataType to readable string.
(Defined by TraderHelper.)
Public Extension MethodToSubscriptionMessage
Convert DataType to ISubscriptionMessage value.
(Defined by MessageConverterHelper.)
Top
See Also