merge.stocksData: Merge Stocks or Options Datasets

Description Usage Arguments Details Value See Also

View source: R/stocks.R

Description

Merge two stocks or options datasets by common dates.

Usage

1
2
3
4
5
## S3 method for class 'optionsData'
merge(x, y, ...)

## S3 method for class 'stocksData'
merge(x, y, ...)

Arguments

x, y

objects of class stocksData or optionsData.

...

arguments to be passed to or from methods.

Details

If x is a stocksData object but y is an optionsData object, the options data in y will be lost in the merged result. Also if x or y have been calibrated to a GBM model, that information will also be lost in the merged dataset.

Value

An object of the same class as x.

See Also

stocks, addOptions


zhangkd5/riskCalc documentation built on May 4, 2019, 10:16 p.m.