trade_freq {backtestGraphics} | R 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.
[Package backtestGraphics version 0.1.8 Index]