stockReturns: Daily returns of a set of stocks

View source: R/returns.R

stockReturnsR Documentation

Daily returns of a set of stocks

Description

Daily returns of multiple stocks.

Usage

stockReturns(stocks, type = "log")

Arguments

stocks

xts of stocks

type

"log" or "arithmetic"

Value

xts of daily-returns of multiple stocks


shill1729/trader documentation built on Dec. 27, 2022, 10:55 p.m.