streak: Streak

streakR Documentation

Streak

Description

Counts the number of days the open price has moved consecutively Negative and positive streaks are represented by their sign

Usage

streak(df)

Arguments

df

Dataframe with price data.

Value

Returns a 1 x # of columns in df dataframe

Examples

streak(tail(SPYdaily, 200))

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