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: 5.0.0.0 (5.0.0)
Syntax
C#
[SerializableAttribute]
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 propertyStatic memberAdapters
Adapters.
Public propertyArg
The additional argument, associated with data. For example, candle argument.
Public propertyStatic memberBoard
Board info.
Public propertyStatic memberBoardState
Board state.
Public propertyStatic memberCandlePnF
PnFCandleMessage data type.
Public propertyStatic memberCandleRange
RangeCandleMessage data type.
Public propertyStatic memberCandleRenko
RenkoCandleMessage data type.
Public propertyStatic memberCandleSources
Possible data types that can be used as candles source.
Public propertyStatic memberCandleTick
TickCandleMessage data type.
Public propertyStatic memberCandleTimeFrame
Public propertyStatic memberCandleVolume
Public propertyStatic memberCommand
Public propertyStatic memberFilteredMarketDepth
Filtered market depth.
Public propertyIsCandles
Determines whether the specified message type is derived from CandleMessage.
Public propertyIsCandleSource
Is the data type can be used as candles compression source.
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 propertyName
Name.
Public propertyStatic memberNews
News.
Public propertyStatic memberOrderLog
Order log.
Public propertyStatic memberPortfolioRoute
Portfolio route.
Public propertyStatic memberPositionChanges
Position changes.
Public propertyStatic memberSecurities
Securities.
Public propertyStatic memberSecurityLegs
Security legs.
Public propertyStatic memberSecurityMapping
Security mapping.
Public propertyStatic memberSecurityRoute
Security route.
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(Type, Object)
Initializes a new instance of the DataType.
Public methodStatic memberCreate(Type, Object, Boolean)
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 methodImmutable
Make immutable.
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 methodSetName
Set Name.
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 MethodDataTypeArgToString
Convert candle parameter into folder name replacing the reserved symbols.
(Defined by Extensions.)
Public Extension MethodDataTypeToFileName
Convert file name to DataType.
(Defined by Extensions.)
Public Extension MethodFormatToString
Convert DataType to String value.
(Defined by Extensions.)
Public Extension MethodGetDefaultMaxCount
Get maximum possible items count per single subscription request.
(Defined by Extensions.)
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 MethodToFixMDType
Convert DataType to MDEntryType value.
(Defined by Extensions.)
Public Extension MethodToMarketDataType
Convert DataType to MarketDataTypes value.
(Defined by Extensions.)
Public Extension MethodToMessageType2
Convert DataType to MessageTypes value.
(Defined by Extensions.)
Public Extension MethodToReadableString
Convert DataType to readable string.
(Defined by TraderHelper.)
Public Extension MethodToSubscription
Convert DataType to Subscription value.
(Defined by MessageConverterHelper.)
Public Extension MethodToSubscriptionMessage
Convert DataType to ISubscriptionMessage value.
(Defined by MessageConverterHelper.)
Top
See Also