#' Cancel Account Updates Multi
#'
#' Stop receiving 3-minute updated Account Update Multi data for an account or
#' model for which a subscription has been started using
#' \link{req_account_updates_multi}().
#'
#' @param requests
#' Either a character or a numeric vector containing the names
#' (\emph{req_name}s) or the IDs (\emph{req_id`s}), respectively, of the
#' requests that you wish to cancel. Valid \emph{req_name}s and \emph{req_id}s
#' may be be viewed or retrieved using the \link{subscriptions} environment.
#'
#' @details
#' If \emph{requests} is not supplied, then
#' \code{cancel_account_updates_multi}() will cancel \strong{all} Account
#' Updates Multi subscriptions.
#'
#' @return
#' TRUE upon success (invisible), FALSE or error otherwise.
#'
#' @example inst/examples/account_updates_multi_ex.R
#' @family treasury
#' @export
#'
cancel_account_updates_multi <- function(requests = NULL){
cancellator(
requests = requests,
cancel_msg = expression(
ib_encode_raw_msg(
c(
functionary$outgoing_msg_codes$
CANCEL_ACCOUNT_UPDATES_MULTI,
functionary$function_versions_py$
cancelAccountUpdatesMulti,
req_id
)
)
)
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.