TechnicalIndicatorCharts.abbrev
— Methodabbrev(p::Period)
Return an abbreviated string representation of the given period.
Example
abbrev(Hour(4)) # "4h"
-abbrev(Day(1)) # "1d"
diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json
index 8bbffd8..9d8430c 100644
--- a/dev/.documenter-siteinfo.json
+++ b/dev/.documenter-siteinfo.json
@@ -1 +1 @@
-{"documenter":{"julia_version":"1.11.2","generation_timestamp":"2025-01-08T19:37:11","documenter_version":"1.8.0"}}
\ No newline at end of file
+{"documenter":{"julia_version":"1.11.2","generation_timestamp":"2025-01-09T16:09:33","documenter_version":"1.8.0"}}
\ No newline at end of file
diff --git a/dev/api/index.html b/dev/api/index.html
index 5a00681..438ab61 100644
--- a/dev/api/index.html
+++ b/dev/api/index.html
@@ -25,33 +25,33 @@
"BNBUSDT", Hour(4);
indicators = [BB{Float64}(), StochRSI{Float64}()],
visuals = [nothing, nothing] # To use defaults, pass in `nothing`.
- )source Return an abbreviated string representation of the given period. Example Extract values out of an indicators value struct. This is only intended to be used for indicators that emit multiple values per tick. Return a tuple of symbol names to be used for the output of Return an abbreviated string representation of the given period. Example Extract values out of an indicators value struct. This is only intended to be used for indicators that emit multiple values per tick. Return a tuple of symbol names to be used for the output of Extract values from an indicator instance. This is a wrapper around This is a wrapper around Extract values from an indicator instance. This is a wrapper around This is a wrapper around Wrap a Vector of LWCCharts in a panel. Wrap a Vector of LWCCharts in a panel. Wrap a single LWCChart in a panel. Wrap a single LWCChart in a panel. If last candle is not provided, construct a new candle with the given OHLCV data. If last candle is provided, mutate last_candle such that it's HLCV are updated. When tw candles are passed in, it's assumed they have the same timestamp. If last candle is not provided, construct a new candle with the given OHLCV data. If last candle is provided, mutate last_candle such that it's HLCV are updated. When tw candles are passed in, it's assumed they have the same timestamp. This is meant to be called on timeframe boundaries to onto the chart's dataframe. It also does indicator calculation at this time. Update a chart with a candle. When a candle is completed, return it. Otherwise, return nothing on update. This updates the HLCV values of the last row of the chart's DataFrame when we're not at a chart.tf boundary. This is meant to be called on timeframe boundaries to onto the chart's dataframe. It also does indicator calculation at this time. Update a chart with a candle. When a candle is completed, return it. Otherwise, return nothing on update. This updates the HLCV values of the last row of the chart's DataFrame when we're not at a chart.tf boundary. This is a visualize method that's a catch-all for indicators that haven't had a visualize method made for them yet. For now, it returns This is a visualize method that's a catch-all for indicators that haven't had a visualize method made for them yet. For now, it returns Return an LWCLayout that visualizes all the components in chart appropriately. Return an LWCLayout that visualizes all the components in chart appropriately. Visualize a DataFrame using lwc_candlestick. Visualize a DataFrame using lwc_candlestick. Visualize ALMA using 1 lwc_line. Visualize ALMA using 1 lwc_line. Visualize ATR using 1 lwc_line. Visualize ATR using 1 lwc_line. Visualize Bollinger Bands using 3 lwc_lines. Visualize Bollinger Bands using 3 lwc_lines. Visualize DEMA using 1 lwc_line. Visualize DEMA using 1 lwc_line. Visualize EMA using 1 lwc_line. Visualize EMA using 1 lwc_line. Visualize HMA using 1 lwc_line. Visualize HMA using 1 lwc_line. Visualize Keltner Channels (KC) using 3 lwc_lines. Visualize Keltner Channels (KC) using 3 lwc_lines. Visualize McGinleyDynamic using 1 lwc_line. Visualize McGinleyDynamic using 1 lwc_line. Visualize On Balance Volume (OBV) using 1 lwc_line. Visualize On Balance Volume (OBV) using 1 lwc_line. Visualize RSI using 1 lwc_line. Visualize RSI using 1 lwc_line. Return an lwc_line for visualizing an SMA indicator. Return an lwc_line for visualizing an SMA indicator. Return an lwc_line for visualizing an SMMA indicator. Return an lwc_line for visualizing an SMMA indicator. Visualize StochRSI using 2 lwc_lines. Visualize StochRSI using 2 lwc_lines. Visualize True Strength Index (TSI) using 1 lwc_line. Note that on TradingView, TSI includes a second signal line that is not included here. Visualize True Strength Index (TSI) using 1 lwc_line. Note that on TradingView, TSI includes a second signal line that is not included here. Visualize WMA using 1 lwc_line.TechnicalIndicatorCharts.abbrev
— Methodabbrev(p::Period)
abbrev(Hour(4)) # "4h"
-abbrev(Day(1)) # "1d"
TechnicalIndicatorCharts.extract_value
— Methodextract_value(value) -> Vector{Any}
-
TechnicalIndicatorCharts.indicator_fields
— Methodind
.TechnicalIndicatorCharts.indicator_fields_values
— Methodindicator_fields_values(
+ )
TechnicalIndicatorCharts.abbrev
— Methodabbrev(p::Period)
abbrev(Hour(4)) # "4h"
+abbrev(Day(1)) # "1d"
TechnicalIndicatorCharts.extract_value
— Methodextract_value(value) -> Vector{Any}
+
TechnicalIndicatorCharts.indicator_fields
— Methodind
.TechnicalIndicatorCharts.indicator_fields_values
— Methodindicator_fields_values(
ind::OnlineTechnicalIndicators.TechnicalIndicatorMultiOutput
) -> Any
-
TechnicalIndicatorCharts.ismultiinput
— MethodOnlineTechnicalIndicators.ismultiinput
that takes any instance of a TechnicalIndicator and digs out its unparametrized type before running the original ismultiinput method.TechnicalIndicatorCharts.ismultioutput
— MethodOnlineTechnicalIndicators.ismultioutput
that takes any instance of a TechnicalIndicator and digs out its unparametrized type before running the original ismultioutput method.TechnicalIndicatorCharts.make_panel
— Methodmake_panel(
+
TechnicalIndicatorCharts.ismultiinput
— MethodOnlineTechnicalIndicators.ismultiinput
that takes any instance of a TechnicalIndicator and digs out its unparametrized type before running the original ismultiinput method.TechnicalIndicatorCharts.ismultioutput
— MethodOnlineTechnicalIndicators.ismultioutput
that takes any instance of a TechnicalIndicator and digs out its unparametrized type before running the original ismultioutput method.TechnicalIndicatorCharts.make_panel
— Methodmake_panel(
plots::AbstractVector
) -> LightweightCharts.LWCPanel
-
TechnicalIndicatorCharts.make_panel
— Methodmake_panel(
+
TechnicalIndicatorCharts.make_panel
— Methodmake_panel(
chart::LightweightCharts.LWCChart
) -> LightweightCharts.LWCPanel
-
TechnicalIndicatorCharts.merge_candle!
— Methodmerge_candle!(
+
TechnicalIndicatorCharts.merge_candle!
— Methodmerge_candle!(
last_candle::Union{Missing, Candle},
c::Union{Candle, DataFrames.DataFrameRow}
) -> Candle
-
TechnicalIndicatorCharts.push_new_candle!
— Methodpush_new_candle!(
+
TechnicalIndicatorCharts.push_new_candle!
— Methodpush_new_candle!(
chart::Chart,
c::Candle
) -> DataFrames.DataFrame
-
TechnicalIndicatorCharts.update!
— Methodupdate!(chart::Chart, c::Candle) -> Union{Nothing, Candle}
-
TechnicalIndicatorCharts.update_last_candle!
— Methodupdate_last_candle!(chart::Chart, c::Candle) -> Float64
-
TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
TechnicalIndicatorCharts.update!
— Methodupdate!(chart::Chart, c::Candle) -> Union{Nothing, Candle}
+
TechnicalIndicatorCharts.update_last_candle!
— Methodupdate_last_candle!(chart::Chart, c::Candle) -> Float64
+
TechnicalIndicatorCharts.visualize
— Methodvisualize(
unimplemented,
opts,
df::DataFrames.DataFrame
) -> LightweightCharts.LWCChart
-
missing
.TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
missing
.TechnicalIndicatorCharts.visualize
— Methodvisualize(
chart::Chart;
min_height,
mode,
@@ -59,83 +59,83 @@
down_color,
copyright
) -> LightweightCharts.LWCLayout
-
TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
TechnicalIndicatorCharts.visualize
— Methodvisualize(
df::DataFrames.DataFrame,
opts
) -> LightweightCharts.LWCChart
-
TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
TechnicalIndicatorCharts.visualize
— Methodvisualize(
alma::OnlineTechnicalIndicators.ALMA,
opts::Union{Nothing, AbstractDict},
df::DataFrames.DataFrame
) -> LightweightCharts.LWCChart
-
TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
TechnicalIndicatorCharts.visualize
— Methodvisualize(
atr::OnlineTechnicalIndicators.ATR,
opts::Union{Nothing, AbstractDict},
df::DataFrames.DataFrame
) -> LightweightCharts.LWCChart
-
TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
TechnicalIndicatorCharts.visualize
— Methodvisualize(
bb::OnlineTechnicalIndicators.BB,
opts::Union{Nothing, AbstractDict},
df::DataFrames.DataFrame
) -> Vector{LightweightCharts.LWCChart}
-
TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
TechnicalIndicatorCharts.visualize
— Methodvisualize(
dema::OnlineTechnicalIndicators.DEMA,
opts::Union{Nothing, AbstractDict},
df::DataFrames.DataFrame
) -> LightweightCharts.LWCChart
-
TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
TechnicalIndicatorCharts.visualize
— Methodvisualize(
ema::OnlineTechnicalIndicators.EMA,
opts::Union{Nothing, AbstractDict},
df::DataFrames.DataFrame
) -> LightweightCharts.LWCChart
-
TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
TechnicalIndicatorCharts.visualize
— Methodvisualize(
hma::OnlineTechnicalIndicators.HMA,
opts::Union{Nothing, AbstractDict},
df::DataFrames.DataFrame
) -> LightweightCharts.LWCChart
-
TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
TechnicalIndicatorCharts.visualize
— Methodvisualize(
keltnerchannels::OnlineTechnicalIndicators.KeltnerChannels,
opts::Union{Nothing, AbstractDict},
df::DataFrames.DataFrame
) -> Vector{LightweightCharts.LWCChart}
-
TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
TechnicalIndicatorCharts.visualize
— Methodvisualize(
mcginleydynamic::OnlineTechnicalIndicators.McGinleyDynamic,
opts::Union{Nothing, AbstractDict},
df::DataFrames.DataFrame
) -> LightweightCharts.LWCChart
-
TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
TechnicalIndicatorCharts.visualize
— Methodvisualize(
obv::OnlineTechnicalIndicators.OBV,
opts::Union{Nothing, AbstractDict},
df::DataFrames.DataFrame
) -> LightweightCharts.LWCChart
-
TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
TechnicalIndicatorCharts.visualize
— Methodvisualize(
rsi::OnlineTechnicalIndicators.RSI,
opts::Union{Nothing, AbstractDict},
df::DataFrames.DataFrame
) -> LightweightCharts.LWCChart
-
TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
TechnicalIndicatorCharts.visualize
— Methodvisualize(
sma::OnlineTechnicalIndicators.SMA,
opts::Union{Nothing, AbstractDict},
df::DataFrames.DataFrame
) -> LightweightCharts.LWCChart
-
TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
TechnicalIndicatorCharts.visualize
— Methodvisualize(
SMMA::OnlineTechnicalIndicators.SMMA,
opts::Union{Nothing, AbstractDict},
df::DataFrames.DataFrame
) -> LightweightCharts.LWCChart
-
TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
TechnicalIndicatorCharts.visualize
— Methodvisualize(
srsi::OnlineTechnicalIndicators.StochRSI,
opts::Union{Nothing, AbstractDict},
df::DataFrames.DataFrame
) -> Vector{LightweightCharts.LWCChart}
-
TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
TechnicalIndicatorCharts.visualize
— Methodvisualize(
tsi::OnlineTechnicalIndicators.TSI,
opts::Union{Nothing, AbstractDict},
df::DataFrames.DataFrame
) -> LightweightCharts.LWCChart
-
TechnicalIndicatorCharts.visualize
— Methodvisualize(
+
TechnicalIndicatorCharts.visualize
— Methodvisualize(
wma::OnlineTechnicalIndicators.WMA,
opts::Union{Nothing, AbstractDict},
df::DataFrames.DataFrame
) -> LightweightCharts.LWCChart
-
Settings
This document was generated with Documenter.jl version 1.8.0 on Wednesday 8 January 2025. Using Julia version 1.11.2.