public static KLineData Transfer(int date, TickData data, ITradingDayReader openDateReader, List <double[]> opentime, KLinePeriod targetPeriod, KLineData lastKLineData) { DataTransfer_Tick2KLine2 transfer = new DataTransfer_Tick2KLine2(data, lastKLineData, new OpenTimeUtilsArgs(date, openDateReader, opentime, targetPeriod)); return(transfer.CalcKLineData()); }
public static KLineData Transfer(TickData data, IKLineData lastKLineData, OpenTimeUtilsArgs args) { DataTransfer_Tick2KLine2 transfer = new DataTransfer_Tick2KLine2(data, lastKLineData, args); return(transfer.CalcKLineData()); }