@mk7s/holochart-traces-finance
Interfaces
| Interface | Description |
|---|---|
| CandlestickTraceDecreasing | Style of falling candles: candles whose close is below their open (an unchanged candle compares its close with the previous close). |
| CandlestickTraceDecreasingLine | Outline and wick style of falling candles. |
| CandlestickTraceHoverlabel | Hover label style for this trace. Unset fields fall back to layout.hoverlabel (so there are no trace-level defaults). |
| CandlestickTraceIncreasing | Style of rising candles: candles whose close is above their open (an unchanged candle compares its close with the previous close). |
| CandlestickTraceIncreasingLine | Outline and wick style of rising candles. |
| CandlestickTraceLine | Outline and wick style of every candle. |
| FunnelareaCalc | Funnelarea calcdata: pie-shaped (so pie's labels and hover read it) plus the stage shapes. |
| FunnelareaSlice | One stage: pie's slice (angles unused) plus its trapezoid, set by the cross-trace layout. |
| FunnelareaTraceMarker | Stage style. |
| FunnelareaTraceMarkerLine | Stage outlines. |
| FunnelareaTraceMarkerPattern | Hatch pattern of the stage fill (drawn in screen px, for print and grayscale). |
| FunnelareaTraceTitle | The funnel area title. |
| FunnelCalc | Funnel calcdata: bar's calc (bars centered on zero) plus the stage percentages. |
| FunnelTraceConnector | Regions connecting each stage to the next. |
| FunnelTraceConnectorLine | The lines along the edges of the connector regions. |
| FunnelTraceMarker | Bar style. |
| IndicatorCalc | The value of an indicator and its difference to the delta reference. |
| IndicatorTraceDelta | The delta (mode with delta). |
| IndicatorTraceDeltaDecreasing | Style of a negative delta. |
| IndicatorTraceDeltaFont | Font of the delta. Defaults to layout.font, at half the number font size (or the number font size without a number). |
| IndicatorTraceDeltaIncreasing | Style of a positive delta. |
| IndicatorTraceGauge | The gauge (mode with gauge). |
| IndicatorTraceGaugeAxis | The gauge axis: its range, ticks and tick labels. |
| IndicatorTraceGaugeAxisTickfont | Tick-label font. Defaults to layout.font. |
| IndicatorTraceGaugeAxisTickformatstop | One item of tickformatstops. |
| IndicatorTraceGaugeBar | The bar from the start of the axis to the value. Default thickness 0.5 (0.25 on a bullet gauge) of the gauge's. |
| IndicatorTraceGaugeBarLine | Outline of the value bar. |
| IndicatorTraceGaugeStep | One item of steps. |
| IndicatorTraceGaugeStepLine | Outline of the step. |
| IndicatorTraceGaugeThreshold | A line marking a threshold value on the gauge. |
| IndicatorTraceGaugeThresholdLine | The threshold line. |
| IndicatorTraceNumber | The number (mode with number). |
| IndicatorTraceNumberFont | Font of the number. Defaults to layout.font; without a size, the number (and the delta) scale to fit the domain. |
| IndicatorTraceTitle | The indicator title. |
| IndicatorTraceTitleFont | Title font. Defaults to layout.font at a quarter of the number font size. |
| OhlcTraceDecreasing | Style of falling bars: bars whose close is below their open (an unchanged bar compares its close with the previous close). |
| OhlcTraceDecreasingLine | Line style of falling bars. |
| OhlcTraceHoverlabel | Hover label style for this trace. Unset fields fall back to layout.hoverlabel (so there are no trace-level defaults). |
| OhlcTraceIncreasing | Style of rising bars: bars whose close is above their open (an unchanged bar compares its close with the previous close). |
| OhlcTraceIncreasingLine | Line style of rising bars. |
| OhlcTraceLine | Line style of every bar. |
| PriceCalc | Calcdata of an ohlc or candlestick trace. Index-aligned with the data (length). |
| PriceSlot | Where the bars of a trace sit around their positions, in x linear units. ohlc and candlestick fill it from their own cross-trace calc. |
| WaterfallCalc | Waterfall calcdata: bar's calc (sizes are running totals) plus the waterfall values. |
| WaterfallTraceConnector | Lines connecting each bar to the next. |
| WaterfallTraceConnectorLine | The connector lines. |
| WaterfallTraceDecreasing | Style of falling bars (relative measures below zero). |
| WaterfallTraceDecreasingMarker | Style of falling bars (relative measures below zero). |
| WaterfallTraceDecreasingMarkerLine | Outline of falling bars (relative measures below zero). |
| WaterfallTraceIncreasing | Style of rising bars (relative measures at or above zero). |
| WaterfallTraceIncreasingMarker | Style of rising bars (relative measures at or above zero). |
| WaterfallTraceIncreasingMarkerLine | Outline of rising bars (relative measures at or above zero). |
| WaterfallTraceTotals | Style of sum bars (total and absolute measures). |
| WaterfallTraceTotalsMarker | Style of sum bars (total and absolute measures). |
| WaterfallTraceTotalsMarkerLine | Outline of sum bars (total and absolute measures). |
Type Aliases
| Type Alias | Description |
|---|---|
| BaseFunnelTrace | Funnel: stages of a process as bars centered on the value axis, with connector regions between them. |
| BaseWaterfallTrace | Waterfall: bars showing how a running total is built from positive and negative changes, with sum bars and connector lines. |
| CandlestickTrace | Candlestick: the open, high, low and close of each period as a body from open to close with wicks to the high and low, colored by direction. |
| FunnelareaTrace | Funnel area: stages of a process as stacked trapezoids with areas proportional to their values. |
| IndicatorTrace | A single value as a big number, its delta to a reference, and / or a gauge (angular or bullet) with colored steps and a threshold. |
| OhlcTrace | OHLC: the open, high, low and close of each period as a vertical line from low to high with an open tick on the left and a close tick on the right, colored by direction. |
| TracesFinance | Any trace of @mk7s/holochart-traces-finance, discriminated on type. Type a partial bundle's figures with it: FigureInput<TracesFinance>. |
Variables
| Variable | Description |
|---|---|
| candlestick | - |
| candlestickAttributes | The candlestick schema. Common trace attributes (name, opacity, xaxis, …) come from core. |
| financeTraces | Every financial trace module, for register(...financeTraces). |
| funnel | - |
| funnelarea | - |
| funnelareaAttributes | The funnelarea schema. |
| funnelAttributes | The funnel schema. Common trace attributes (name, opacity, xaxis, …) come from core. |
| indicator | - |
| indicatorAttributes | The indicator schema. |
| ohlc | - |
| ohlcAttributes | The ohlc schema. Common trace attributes (name, opacity, xaxis, …) come from core. |
| waterfall | - |
| waterfallAttributes | The waterfall schema. Common trace attributes (name, opacity, xaxis, …) come from core. |