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
IExchangeInfoProviderThe exchange boards provider.
Methods
OnProcess(ICandleBuilderSubscription, ICandleBuilderValueTransform)
To process the new data.
protected override IEnumerable<PnFCandleMessage> OnProcess(ICandleBuilderSubscription subscription, ICandleBuilderValueTransform transform)
Parameters
subscription
ICandleBuilderSubscriptionSubscription.
transform
ICandleBuilderValueTransformThe data source transformation.
Returns
- IEnumerable<PnFCandleMessage>
A new candles changes.