Description Usage Arguments Author(s) See Also
Chart Sentiment Chart (stock) sentiment using quantmods plotting capabilities. Some hopefully useful presets have been made.
1 2 3 4 5 6 |
xts |
XTS Object Containing at minimum 'Close' and 'Score' fields |
prefix |
prefix of sentiment field, defaults to "SEMNT" |
sentname |
name of sentiment score field, defaults to paste(prefix,"polarity", sep = ".") |
volname |
name of sentiment volume field, defaults to paste(prefix,"volume", sep = ".") |
volcolor |
Color of Sentiment Score Volume Bars, defaults to "blue" |
na.fill |
should parts of timeseries be plotted
where |
omit.na.leading |
Omits leading NA's in timeseries, defaults to TRUE |
type |
linetype of Stock Chart, defaults to "line", |
theme |
Chart Theme, defaults to "white" |
name |
Main Title of Sentiment Chart, default is taken from prefix in time series |
TA |
add Technical analysis Indicators to chart at the beginning as string, defaults to "" |
postTA |
add Technical analysis Indicators at the end to the chart, defaults to "" |
... |
additional parameters to chartSeries function call |
Mario Annau
Most presets and optional arguments refer to quantmods
excellent chartSeries
function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.