Class RenkoCandleBuilder
- Namespace
- StockSharp.Algo.Candles.Compression
- Assembly
- StockSharp.Algo.dll
The builder of candles of RenkoCandleMessage type.
public class RenkoCandleBuilder : CandleBuilder<RenkoCandleMessage>, IPersistable, ILogReceiver, ILogSource, ICandleBuilder, IDisposable
- Inheritance
-
RenkoCandleBuilder
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
RenkoCandleBuilder(IExchangeInfoProvider)
Initializes a new instance of the RenkoCandleBuilder.
public RenkoCandleBuilder(IExchangeInfoProvider exchangeInfoProvider)
Parameters
exchangeInfoProvider
IExchangeInfoProviderThe exchange boards provider.
Methods
OnProcess(ICandleBuilderSubscription, ICandleBuilderValueTransform)
To process the new data.
protected override IEnumerable<RenkoCandleMessage> OnProcess(ICandleBuilderSubscription subscription, ICandleBuilderValueTransform transform)
Parameters
subscription
ICandleBuilderSubscriptionSubscription.
transform
ICandleBuilderValueTransformThe data source transformation.
Returns
- IEnumerable<RenkoCandleMessage>
A new candles changes.