order_check: order_check

View source: R/Orders.R

order_checkR Documentation

order_check

Description

smart detect: type, order_class, extended_hours. Fix names for take_profit, stop_loss if partialled. Throw errors/warnings for specific criteria

Usage

order_check(
  ...,
  ovar = get0("ovar", mode = "environment", envir = rlang::caller_env())
)

Arguments

...

named arguments. Will automatically get arguments from enclosing environment.

penv

environment the parent environment, otherwise a named list of arguments from the parent environment

Value

(list) returns list with appropriate arguments, to be merged with parent environment via list2env


jagg19/AlpacaforR documentation built on July 3, 2023, 12:14 p.m.