Click or drag to resize

CandleBuilderTCandleMessageFirstInitCandle Method

To fill in the initial candle settings.

Namespace:  StockSharp.Algo.Candles.Compression
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
protected virtual TCandleMessage FirstInitCandle(
	MarketDataMessage message,
	TCandleMessage candle,
	ICandleBuilderValueTransform transform
)

Parameters

message
Type: StockSharp.MessagesMarketDataMessage
Market-data message (uses as a subscribe/unsubscribe in outgoing case, confirmation event in incoming case).
candle
Type: TCandleMessage
Candle.
transform
Type: StockSharp.Algo.Candles.CompressionICandleBuilderValueTransform
The data source transformation.

Return Value

Type: TCandleMessage
Candle.
See Also