Candlestick

A candlestick is a type of price chart that displays the high, low, open and closing prices of a security for a specific period. It originated from Japanese rice merchants and traders to track market prices and daily momentum hundreds of years before becoming popularized in the United States.

Code
var dt = new Date(row[key]);
return dt.toISOString().substring(0, 10);