[Haskell-cafe] Candlestick charts

Malcolm Wallace malcolm.wallace at me.com
Wed Sep 29 12:14:51 EDT 2010

>> What are the libraries to use in Haskell to generate a stock
>> candlestick chart like
>> http://stockcharts.com/h-sc/ui?s=SPY&p=D&b=5&g=5&id=p05007254056

> The chart library:
>     http://hackage.haskell.org/package/Chart
> doesn't currently have support for candlestick charts, but adding
> support would be straightforward - a patch would be most welcome
> (hint, hint!).

I have a patch for Chart, adding candles as a new plot type.  Patch  
attached, together with a PNG of some demo output.  (patch containing  
demo/test to follow.)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: candle.dpatch
Type: application/octet-stream
Size: 17924 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100929/9e96abca/candle-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aapl4.png
Type: image/png
Size: 54699 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100929/9e96abca/aapl4-0001.png

More information about the Haskell-Cafe mailing list