getAnalysis: Volume and spread calculations

Description Usage Arguments Value Examples

Description

Analyze a dataframe from getHistoricalQuote function and return a dataframe with VSA columns only

Usage

1
getAnalysis(df, period = 15)

Arguments

df

The dataframe from getHistoricalQuote function. Or just with few columns - "High", "Low", "Close" and "Volume". But the data.frame must be sorted from oldest to newest.

period

Vector with number of observations for SMA calculation

Value

close.inside.bar

The relative close of the bar inside the bar

type.of.bar

Type of bar

relative.volume

The relative volume of bar by period

relative.height

The relative height of bar by period

close.between.extremums

In which part between the maximum and minimum for the period is the closure

relative.change.of.closes

Relative change of closes by period

relative.open.mean.deviation

Relative deviations from the mean of open by period

relative.close.mean.deviation

Relative deviations from the mean of close by period

Examples

1
2
3

arkada38/GFUAPI documentation built on May 10, 2019, 1:28 p.m.