CustomInstrumentBasketBuilder: Build a basket element for a custom instrument

View source: R/rd_custominstruments.r

CustomInstrumentBasketBuilderR Documentation

Build a basket element for a custom instrument

Description

Build a basket element for a custom instrument

Usage

CustomInstrumentBasketBuilder(RICs = NULL, Weights = NULL, Normalize = TRUE)

Arguments

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?

Value

a basket object that can be used

See Also

[rd_ManageCustomInstruments()]

Examples

## Not run: 
CustomInstrumentBasketBuilder(RICs = c("AAPL.O", "AMZN.O"), Weights = c(0.5, 0.5))

## End(Not run)

GreenGrassBlueOcean/RefinitivR documentation built on Feb. 1, 2024, 1:37 a.m.