Table of Contents

Method Clone

Namespace
WhalesSecret.TradeScriptLib.Entities.MarketData
Assembly
WhalesSecret.TradeScriptLib.dll

Clone(Candle, bool?)

Creates a clone of the candle with a possibility to define whether the clone is open or closed.

public static Candle Clone(this Candle candle, bool? isClosed = null)

Parameters

candle Candle

Candle to clone.

isClosed bool?

Whether or not the cloned candle should be closed, or null to copy the value from the original candle.

Returns

Candle

Cloned candle.