Table of Contents

Class PnFCandleBuilder

Namespace
StockSharp.Algo.Candles.Compression
Assembly
StockSharp.Algo.dll

The builder of candles of PnFCandleMessage type.

public class PnFCandleBuilder : CandleBuilder<PnFCandleMessage>, IPersistable, ILogReceiver, ILogSource, ICandleBuilder, IDisposable
Inheritance
PnFCandleBuilder
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

PnFCandleBuilder(IExchangeInfoProvider)

Initializes a new instance of the PnFCandleBuilder.

public PnFCandleBuilder(IExchangeInfoProvider exchangeInfoProvider)

Parameters

exchangeInfoProvider IExchangeInfoProvider

The exchange boards provider.

Methods

OnProcess(ICandleBuilderSubscription, ICandleBuilderValueTransform)

To process the new data.

protected override IEnumerable<PnFCandleMessage> OnProcess(ICandleBuilderSubscription subscription, ICandleBuilderValueTransform transform)

Parameters

subscription ICandleBuilderSubscription

Subscription.

transform ICandleBuilderValueTransform

The data source transformation.

Returns

IEnumerable<PnFCandleMessage>

A new candles changes.