Skip to content

Commit

Permalink
\& symbol in title causing a NOTE, replace
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinMShea committed Dec 13, 2024
1 parent a0901ab commit e158e52
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 12 deletions.
15 changes: 10 additions & 5 deletions R/chart.Posn.R
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
#' Chart trades against market data, position through time, and cumulative P\&L
#' Chart trades against market data, position through time, and cumulative Profit and Loss.
#'
#' Produces a three-panel chart of time series charts that contains prices and transactions in the top panel, the resulting position in the second, and a cumulative profit-loss line chart in the third.
#' @note Expect changes to this function, since the underlying charts are experimental functions in quantmod.
#' Produces a three-panel chart of time series charts that contains prices and
#' transactions in the top panel, the resulting position in the second, and a
#' cumulative profit-loss line chart in the third.
#' @note Expect changes to this function, since the underlying charts are
#' experimental functions in quantmod.
#'
#' @param Portfolio string identifying the portfolio to chart
#' @param Symbol string identifying the symbol to chart. If missing, the first symbol found in the \code{Portfolio} portfolio will be used
#' @param Symbol string identifying the symbol to chart. If missing, the first
#' symbol found in the \code{Portfolio} portfolio will be used
#' @param Dates xts ISO 8601 style subsetting
#' @param \dots any other passthru parameters to \code{\link[quantmod]{chart_Series}}
#' @param TA a string defining a technical indicator function that will be applied to the chart, using \code{\link{eval}}
#' @param TA a string defining a technical indicator function that will be
#' applied to the chart, using \code{\link{eval}}
#' @param env environment to locate market data in. default .GlobalEnv
#' @export
chart.Posn <- function(Portfolio, Symbol, Dates = NULL, ...,TA=NULL,env=.GlobalEnv)
Expand Down
2 changes: 1 addition & 1 deletion R/chart.Reconcile.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Chart trades against market data, position through time, and cumulative P\&L
#' Chart trades against market data, position through time, and cumulative Profit and Loss.
#'
#' Produces a three or four-panel or chart of time series charts that contains prices and transactions in the top panel,
#' the resulting position in the second, a cumulative profit-loss line chart in the third.
Expand Down
15 changes: 10 additions & 5 deletions man/chart.Posn.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/chart.Reconcile.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e158e52

Please sign in to comment.