Click or drag to resize

TimeFrameCandleBuilder Class

The builder of candles of TimeFrameCandleMessage type.
Inheritance Hierarchy
SystemObject
  Disposable
    StockSharp.LoggingBaseLogSource
      StockSharp.LoggingBaseLogReceiver
        StockSharp.Algo.Candles.CompressionCandleBuilderTimeFrameCandleMessage
          StockSharp.Algo.Candles.CompressionTimeFrameCandleBuilder

Namespace:  StockSharp.Algo.Candles.Compression
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public class TimeFrameCandleBuilder : CandleBuilder<TimeFrameCandleMessage>

The TimeFrameCandleBuilder type exposes the following members.

Constructors
  NameDescription
Public methodTimeFrameCandleBuilder
Initializes a new instance of the TimeFrameCandleBuilder.
Top
Properties
  NameDescription
Public propertyCandleType
The candle type.
(Overrides CandleBuilderTCandleMessageCandleType.)
Public propertyCurrentTime
Current time, which will be passed to the Time.
(Inherited from BaseLogSource.)
Protected propertyExchangeInfoProvider
The exchange boards provider.
(Inherited from CandleBuilderTCandleMessage.)
Public propertyGenerateEmptyCandles
Whether to create empty candles (None) in the lack of trades. The default mode is enabled.
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.)
Public propertyTimeout
The time shift from the time frame end after which a signal is sent to close the unclosed candle forcibly. The default is 10% of the time frame.
Top
Methods
  NameDescription
Protected methodCreateCandle
To create a new candle.
(Overrides CandleBuilderTCandleMessageCreateCandle(MarketDataMessage, TCandleMessage, ICandleBuilderValueTransform).)
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.
(Inherited from CandleBuilderTCandleMessage.)
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.
(Overrides CandleBuilderTCandleMessageIsCandleFinishedBeforeChange(MarketDataMessage, TCandleMessage, ICandleBuilderValueTransform).)
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.
(Inherited from CandleBuilderTCandleMessage.)
Public methodProcess(MarketDataMessage, CandleMessage, ICandleBuilderValueTransform, IListCandleMessage)
To process the new data.
(Inherited from CandleBuilderTCandleMessage.)
Protected methodProcessValue
To process the new data.
(Inherited from CandleBuilderTCandleMessage.)
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.
(Inherited from CandleBuilderTCandleMessage.)
Top
Events
  NameDescription
Public eventLog
New debug message event.
(Inherited from BaseLogSource.)
Top
See Also