Skip to content

Commit

Permalink
launch oanda_studio() using mirai more efficiently
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Sep 12, 2024
1 parent 3eca88d commit 8f40766
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/oanda.R
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,8 @@ oanda_studio <- function(instrument = "USD_JPY",
isTRUE(new.process) && {
mc <- match.call()
mc[["new.process"]] <- NULL
return(invisible(mirai::mirai(mc, oanda_studio = oanda_studio)))
mc[[1]] <- quote(ichimoku::oanda_studio)
return(invisible(mirai::mirai(mc)))
}
if (!missing(instrument)) instrument <- sub("-", "_", toupper(force(instrument)), fixed = TRUE)
granularity <- match.arg(granularity, c("D", "W", "M",
Expand Down

0 comments on commit 8f40766

Please sign in to comment.