stat_calculation: Calculate Statistics

View source: R/stat_calculation.R

stat_calculationR Documentation

Calculate Statistics

Description

This helper function calculates the summary of the input data set. The function takes in the sliced data set and the calculated trading frequency, and calculate statistics about the market value, returns and volatility for later display.

Usage

stat_calculation(x.list)

Arguments

x.list

is the input data set. Such data set has been sliced by slice_data function, and is labeled as "intermediate data set".

Value

f A list that contains all calculated numbers.


knightsay/backtestGraphics documentation built on Jan. 27, 2025, 10:35 a.m.