Learn R Programming

avfintools (version 0.1.0)

project_price: 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)

Value

What comes out of this function

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.

Examples

Run this code

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

Run the code above in your browser using DataLab