powered by
Generic function for retrieving and changing instrument information.
instrument(x, …)instrument(x, …) <- value
instrument(x, …) <- value
an object
arguments passed to methods
when used to extract instrument, a character vector
Generic function: extract or, if meaningful, replace instrument information
Schumann, E. (2017) Portfolio Management with R. http://enricoschumann.net/R/packages/PMwR/manual/PMwR.html
position
# NOT RUN { jnl <- journal(instrument = "A", amount = 100, price = 1) instrument(jnl) # }
Run the code above in your browser using DataLab