Click or drag to resize

CandleBuilderTCandleMessage Class

Candles builder.
Inheritance Hierarchy
SystemObject
  Disposable
    StockSharp.LoggingBaseLogSource
      StockSharp.LoggingBaseLogReceiver
        StockSharp.Algo.Candles.CompressionCandleBuilderTCandleMessage
          More...

Namespace:  StockSharp.Algo.Candles.Compression
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public abstract class CandleBuilder<TCandleMessage> : BaseLogReceiver, 
	ICandleBuilder, IDisposable
where TCandleMessage : CandleMessage

Type Parameters

TCandleMessage
The type of candle which the builder will create.

The CandleBuilderTCandleMessage type exposes the following members.

Constructors
  NameDescription
Protected methodCandleBuilderTCandleMessage
Initialize CandleBuilderTCandleMessage.
Top
Properties
  NameDescription
Public propertyCandleType
The candle type.
Public propertyCurrentTime
Current time, which will be passed to the Time.
(Inherited from BaseLogSource.)
Protected propertyExchangeInfoProvider
The exchange boards provider.
Public propertyId
The unique identifier of the source.
(Inherited from BaseLogSource.)
Public propertyIsDisposed (Inherited from Disposable.)
Public propertyIsRoot
Whether the source is the root (even if Parent is not equal to ).
(Inherited from BaseLogSource.)
Public propertyLogLevel
The logging level. The default is set to Inherit.
(Inherited from BaseLogSource.)
Public propertyName
Source name (to distinguish in log files).
(Inherited from BaseLogSource.)
Public propertyParent
Parent.
(Inherited from BaseLogSource.)
Top
Methods
  NameDescription
Protected methodCreateCandle
To create a new candle.
Public methodDispose (Inherited from Disposable.)
Protected methodDisposeManaged (Inherited from Disposable.)
Protected methodDisposeNative (Inherited from Disposable.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Inherited from Disposable.)
Protected methodFirstInitCandle
To fill in the initial candle settings.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodIsCandleFinishedBeforeChange
Whether the candle is created before data adding.
Public methodLoad
Load settings.
(Inherited from BaseLogSource.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcess(MarketDataMessage, CandleMessage, ICandleBuilderValueTransform)
To process the new data.
Public methodProcess(MarketDataMessage, CandleMessage, ICandleBuilderValueTransform, IListCandleMessage)
To process the new data.
Protected methodProcessValue
To process the new data.
Protected methodRaiseLog
To call the event Log.
(Inherited from BaseLogSource.)
Public methodSave
Save settings.
(Inherited from BaseLogSource.)
Protected methodThrowIfDisposed (Inherited from Disposable.)
Public methodToString
Returns a string that represents the current object.
(Inherited from BaseLogSource.)
Protected methodUpdateCandle
To update the candle data.
Top
Events
  NameDescription
Public eventLog
New debug message event.
(Inherited from BaseLogSource.)
Top
See Also
Inheritance Hierarchy
SystemObject
  Disposable
    StockSharp.LoggingBaseLogSource
      StockSharp.LoggingBaseLogReceiver
        StockSharp.Algo.Candles.CompressionCandleBuilderTCandleMessage
          StockSharp.Algo.Candles.CompressionPnFCandleBuilder
          StockSharp.Algo.Candles.CompressionRangeCandleBuilder
          StockSharp.Algo.Candles.CompressionRenkoCandleBuilder
          StockSharp.Algo.Candles.CompressionTickCandleBuilder
          StockSharp.Algo.Candles.CompressionTimeFrameCandleBuilder
          StockSharp.Algo.Candles.CompressionVolumeCandleBuilder