public BinanceCandleData(string [] rawData) { OpenTime = UnixTimeConverter.JavaTimeStampToDateTime(Convert.ToInt64(rawData[0])); Open = new decimal(Convert.ToDouble(rawData[1], CultureInfo.InvariantCulture)); High = new decimal(Convert.ToDouble(rawData[2], CultureInfo.InvariantCulture)); Low = new decimal(Convert.ToDouble(rawData[3], CultureInfo.InvariantCulture)); Close = new decimal(Convert.ToDouble(rawData[4], CultureInfo.InvariantCulture)); Volume = new decimal(Convert.ToDouble(rawData[5], CultureInfo.InvariantCulture)); CloseTime = UnixTimeConverter.JavaTimeStampToDateTime(Convert.ToInt64(rawData[6])); }