I have a tibble by ten rows and 5 columns that want to draw candle for every time, but run code don't give me candle true.
hms maxprice minprice openingPrice closingPrice LastPrice
09:03:09 32770 32050 32770 32730 32700
09:06:50 32770 32050 32770 32740 32770
09:08:36 32770 32050 32770 32740 32760
09:11:20 32770 32050 32770 32740 32700
09:13:42 32770 32050 32770 32740 32740
09:14:48 32770 32050 32770 32740 32700
09:17:03 32770 32050 32770 32740 32740
09:19:31 32770 32050 32770 32730 32650
09:20:43 32770 32050 32770 32730 32600
09:23:07 32770 32050 32770 32720 32560
data %>%
ggplot(aes(x = hms, y = ClosingPrice)) +
geom_candlestick(aes(open = OpeningPrice, high = MaxPrice,
low = minPrice, close = ClosingPrice))