tags:

views:

23

answers:

1

Are there any good libraries available for plotting candlestick and other types of financial charts in Ruby? I saw this similar post from over a year ago. The presented options that fit my needs from that post were Python, however.

EDIT:

One requirement is that I need real-time charts, updating multiple times a second.

+1  A: 

The google chart API supports candlestick charts, among other things.

There are a few gems that automate this: googlecharts, gchartrb. I haven't used them but they look like a good first cut.

Here's a quick example from the docs:

Candlestick example:

Paul Rubel
I need real-time charts, updating multiple times per second. I thought Google Charts was static. Am I mistaken?
John Dibling
I suppose you could make multiple queries to change the view but as far as I know there is a one-to-one mapping of URLs to images.
Paul Rubel
html/javascript timed reload? also http://stackoverflow.com/questions/1775836/ruby-charting-library and http://ruby-toolbox.com/categories/graphing.html might be interesting to you
rogerdpack