View source: R/rd_custominstruments.r
CustomInstrumentBasketBuilder | R Documentation |
Build a basket element for a custom instrument
CustomInstrumentBasketBuilder(RICs = NULL, Weights = NULL, Normalize = TRUE)
RICs |
character vector of RICs in the basket |
Weights |
numeric vector of weights in the basket |
Normalize |
boolean Normalize all weight to a maximum of 1? |
a basket object that can be used
[rd_ManageCustomInstruments()]
## Not run:
CustomInstrumentBasketBuilder(RICs = c("AAPL.O", "AMZN.O"), Weights = c(0.5, 0.5))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.