monthly_momentum: Rank a set of stocks via monthly momentum

View source: R/momentumRanking.R

monthly_momentumR Documentation

Rank a set of stocks via monthly momentum

Description

Computes monthly returns, averages them over the last few periods, and sorts them.

Usage

monthly_momentum(monthsBack = 6, stocks = NULL, symbols = NULL)

Arguments

monthsBack

months back to estimate averages of arithmetic returns

stocks

data-set of stocks, can be NULL to look up via tickers

symbols

tickers of stocks

Value

data.frame


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