addreturns: Adds various returns as well as additional statistics.

addreturnsR Documentation

Adds various returns as well as additional statistics.

Description

Adds percentage returns, interday returns, total returns, cumulative returns, multiplicative returns, range, and dollar returns to the default dataframe pulled from alphavantager

Usage

addreturns(df)

Arguments

df

Dataframe pulled from alphavantager

Value

A more detailed dataframe with additional return metrics and summary statistics.

Examples

addreturns(SPYdaily)

avfintools documentation built on Oct. 6, 2022, 5:14 p.m.