Chart-1.9.3: A library for generating 2D Charts and Plots

Copyright (c) Tim Docker 2006 2014 BSD-style (see chart/COPYRIGHT) None Haskell98

Graphics.Rendering.Chart.Plot.Candle

Description

Candlestick charts for financial plotting

Synopsis

Documentation

data PlotCandle x y #

Value defining a financial interval: opening and closing prices, with maxima and minima; and a style in which to render them. By convention, there are different fill styles depending on whether the price rises (open < close) or falls (close < open). (This plot type can also be re-purposed for statistical intervals, e.g. minimum, first quartile, median, third quartile, maximum.)

Constructors

 PlotCandle
Instances
 # Instance detailsDefined in Graphics.Rendering.Chart.Plot.Candle MethodstoPlot :: PlotCandle x y -> Plot x y # Default (PlotCandle x y) # Instance detailsDefined in Graphics.Rendering.Chart.Plot.Candle Methodsdef :: PlotCandle x y #

data Candle x y #

A Value holding price intervals for a given x-coord. An alternative view is that these are statistical intervals: the 0th, 25th, 50th, 75th, and 100th percentiles.

Constructors

 Candle Fieldscandle_x :: x candle_low :: y candle_open :: y candle_mid :: y candle_close :: y candle_high :: y
Instances
 (Show x, Show y) => Show (Candle x y) # Instance detailsDefined in Graphics.Rendering.Chart.Plot.Candle MethodsshowsPrec :: Int -> Candle x y -> ShowS #show :: Candle x y -> String #showList :: [Candle x y] -> ShowS #

plot_candle_fill :: forall x y. Lens' (PlotCandle x y) Bool #

plot_candle_values :: forall x y x y. Lens (PlotCandle x y) (PlotCandle x y) [Candle x y] [Candle x y] #