trade_freq: Find Trading Frequency

View source: R/trade_freq.R

trade_freqR Documentation

Find Trading Frequency

Description

This helper function looks for the trading frequency of the input data set. It can identify daily, weekly, monthly or yearly trading frequency in the data set.

Usage

trade_freq(x)

Arguments

x

The input data set whose trading period we are interested in

Value

trade.freq The number that indicates the trading frequency.


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