project_price: Projects future prices based on regression

View source: R/avfintools.R

project_priceR Documentation

Projects future prices based on regression

Description

Works with multiple time intervals. Do not oversupply with data, regression is expensive.

Usage

project_price(df, tickername)

Arguments

df

Dataframe with price data. The opening price is used for projection purposes, works for all security types

tickername

The ticker or the security you are putting in.

Value

What comes out of this function

Examples


project_price(tail(SPYdaily,200), "SPY")
project_price(SPY15, "SPY")

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