Discussion:
[Wt-interest] financial candle plotting patch - early phase
Matthew Sherborne
2016-01-16 19:31:02 UTC
Permalink
Hi guys,

I'm working on a patch for Wt that will allow it to plot candles (as used
in financial plots).

https://en.wikipedia.org/wiki/Candlestick_chart

My current issue is that for each X value there are 4 Y values (high, low,
open, close).

One solution is to force users to enter a Candle type for the Y value.

Another is to use something like the stacked 'area' graph, and if there
aren't four values, they'd defer to a line chart. Also when using it you'd
have to remember the meaning of the four data columns (high, low, open
close).

Any input / feedback / suggestions welcome.

I'm using the 'have to pass a Candle type for y instead of a double'
technique right now.

Many Thanks
Matthew Sherborne
Koen Deforche
2016-01-17 15:42:02 UTC
Permalink
Hey Matthew,

I'm working on a patch for Wt that will allow it to plot candles (as used
Post by Matthew Sherborne
in financial plots).
https://en.wikipedia.org/wiki/Candlestick_chart
Nice. I know a few users who are going to be happy!
Post by Matthew Sherborne
My current issue is that for each X value there are 4 Y values (high, low,
open, close).
One solution is to force users to enter a Candle type for the Y value.
Another solution is to add the four additional values as different roles
(Candle insole, etc...)?

I think these are the two most sensible options though.

Koen

Loading...