InteractiveTradingChart
InteractiveTradingChart [{{date1,{open1,high1,low1,close1,volume1}},…}]
makes a chart showing prices and volume for each date.
InteractiveTradingChart [{"name",daterange}]
makes a financial chart for the financial entity "name" over the daterange.
InteractiveTradingChart [{…},{ind1,ind2,…}]
makes a financial chart with indicators ind1, ind2, … .
Details and Options
- InteractiveTradingChart by default includes a candlestick chart and a volume indicator.
- The dates datei are considered an ordered sequence of events, and are not shown on an absolute time scale. The date formats for datei are the same as used in DateListPlot .
- The "name" and daterange are the same as used in FinancialData .
- The indicators indi can be any FinancialIndicator object.
- Wrappers can be applied to indicators using the form w[indi].
- Wrappers can be applied to the entire dataset using the form w[{{date1,ohlcv1},…}] or w[{"name",daterange}].
- InteractiveTradingChart [Tabular […]cspec] extracts and plots values from the tabular object using the column specification cspec.
- The following forms of column specifications cspec are allowed for plotting tabular data:
-
{coldate,{colopen,colhigh,collow,colclose,colvol}} plot values from columns {colopen,…,colvol} against dates from coldate
- The following wrappers can be used:
- InteractiveTradingChart has the same options as Graphics with the following additions and changes: [List of all options]
-
Appearance "Candlestick" appearance to use
- Possible settings for Appearance include: "Candlestick", "OHLC", "Line", and None .
- The arguments supplied to ChartElementFunction are the box region {{xmin,xmax},{ymin,ymax}}, the values {datei,{oi,hi,li,ci}} and metadata {m1,m2,…}.
- A list of built-in settings for ChartElementFunction can be obtained from ChartElementData["TradingChart"].
- The arguments supplied to ColorFunction are date,open,high,low,close,volume,close-open.
- With ScalingFunctions->sy the function sy is applied to all prices (open, high, low, close). ScalingFunctions only affects the display and none of the controls.
- Style and other specifications from options and other constructs in InteractiveTradingChart are effectively applied in the order TrendStyle , ColorFunction , Style and other wrappers, and ChartElementFunction , with later specifications overriding earlier ones.
-
Appearance "Candlestick" appearance to useImageMargins 0. the margins to leave around the graphicPreserveImageOptions Automatic whether to preserve image options when displaying new versions of the same graphic
List of all options
Examples
open allclose allBasic Examples (1)
InteractiveTradingChart for Google during 2009:
Scope (3)
Specify additional indicators for the chart:
Get tabular data:
Plot the stock prices and trading volumes:
Include additional financial indicators on the plot:
Customize the appearance of the chart:
Text
Wolfram Research (2010), InteractiveTradingChart, Wolfram Language function, https://reference.wolfram.com/language/ref/InteractiveTradingChart.html (updated 2025).
CMS
Wolfram Language. 2010. "InteractiveTradingChart." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/InteractiveTradingChart.html.
APA
Wolfram Language. (2010). InteractiveTradingChart. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/InteractiveTradingChart.html
BibTeX
@misc{reference.wolfram_2025_interactivetradingchart, author="Wolfram Research", title="{InteractiveTradingChart}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/InteractiveTradingChart.html}", note=[Accessed: 13-April-2025 ]}
BibLaTeX
@online{reference.wolfram_2025_interactivetradingchart, organization={Wolfram Research}, title={InteractiveTradingChart}, year={2025}, url={https://reference.wolfram.com/language/ref/InteractiveTradingChart.html}, note=[Accessed: 13-April-2025 ]}