[Haskell-cafe] Candlestick charts

Alexander McPhail haskell.vivian.mcphail at gmail.com
Fri Oct 1 01:32:47 EDT 2010


The rationale behind developing the plot package is a desire to target users
as well as programmers.

The plot interface provides monadic construction of figures, very similar in
style to the way a gnuplot script or matlab script/function would be
structured (especially with the Simple interface).  I am looking forward to
being able to use GHCi instead of matlab, and the plot-gtk companion package
provides a way to incrementally update a plot on screen.  I think that this
is where the design difference occurs.

Looking at the Chart interface, I was confronted with myriad data types and
functions.  Yes, the plots look nice, but, as I have been told, the Chart
interface can be overwhelming for a mathematics user cf. haskell

Also, the plot package uses Pango, so unicode should work out of the box
(for greek symbols and the like).



On 1 October 2010 18:24, Ivan Lazar Miljenovic <ivan.miljenovic at gmail.com>wrote:

> On 1 October 2010 15:12, Vivian McPhail
> <haskell.vivian.mcphail at gmail.com> wrote:
> > Hi
> >
> >>Message-ID: <AANLkTinROzNiqF4+yKxOfHo0FB=3B_7tfduX=
> vVbggYC at mail.gmail.com>
> >>
> >>Hi -
> >>
> >>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
> >>
> >>I will use Finance-Quote-Yahoo to get the quote data from Yahoo.
> >>
> >>thanks for all your help.
> > The plot 0.1.1 package supports candle and whisker charts.
> >
> > http://hackage.haskell.org/plot
> That URL should of course be http://hackage.haskell.org/package/plot
> However, I'm curious: what is the rationale behind you developing plot
> rather than you helping Tim extend Chart?
> --
> Ivan Lazar Miljenovic
> Ivan.Miljenovic at gmail.com
> IvanMiljenovic.wordpress.com

yolar et elver.


This transmission contains information that may be confidential. It is
intended for the named addressee only. Unless you are the named addressee
you may not copy or use it or disclose it to anyone else.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20101001/49e3d926/attachment.html

More information about the Haskell-Cafe mailing list