Ashish Gourav
Ashish Gourav

Reputation: 23

Julia showing candlestick plots with just one colour

I am unable to plot candlestick in Julia properly. Here is a sample code:

using Plots
using Dates
using MarketData
using TimeSeries
gr()

ta = yahoo(:GOOG, YahooOpt(period1 = now() - Month(1)))
display(plot(ta, seriestype= :candlestick))

The output I get is below Candlestick Plot with one colour

How to ensure that I get red & green candles?

Upvotes: 2

Views: 113

Answers (1)

Bill
Bill

Reputation: 6086

I would update your installation. I get two colors with Julia 1.8.0-beta3 and Plots version 1.29:

https://i.sstatic.net/q1p7J.png

Upvotes: 1

Related Questions