Skip to content

Candlestick charts in R #630

@debsush

Description

@debsush

Hi,

I am new to plotly and was wondering if the following is doable with the package:

  1. Create a candle stick natively as done in the python example below:
    import plotly.plotly as py
    from plotly.tools import FigureFactory as FF
    from datetime import datetime

import pandas.io.data as web

df = web.DataReader("aapl", 'yahoo', datetime(2007, 10, 1), datetime(2009, 4, 1))
fig = FF.create_candlestick(df.Open, df.High, df.Low, df.Close, dates=df.index)
py.iplot(fig, filename='finance/aapl-candlestick', validate=False)

  1. Just like ggplot, can we extend this to plot.xts?
  2. Can we make the ChartSeries function from quantmod interactive with plotly?

Even if it is still not in place, was wondering if you could guide me as to how can I start developing these R charting functions within plotly?

Regards,
SD

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions