Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

instrument

Retrieve or Change Instrument


Description

Generic function for retrieving and changing instrument information.

Usage

instrument(x, ...)

instrument(x, ...) <- value

Arguments

x

an object

...

arguments passed to methods

value

an object

Details

Generic function: extract or, if meaningful, replace instrument information

Value

when used to extract instrument, a character vector

Author(s)

Enrico Schumann

References

Schumann, E. (2017) Portfolio Management with R. http://enricoschumann.net/R/packages/PMwR/manual/PMwR.html

See Also

Examples

jnl <- journal(instrument = "A",
               amount = 100,
               price = 1)
instrument(jnl)

PMwR

Portfolio Management with R

v0.16-0
GPL-3
Authors
Enrico Schumann [aut, cre] (<https://orcid.org/0000-0001-7601-6576>)
Initial release
2021-01-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.