View source: R/make_return_file.R
make_return_file | R Documentation |
Helper function to create a regular return file
make_return_file(DATA, FREQ = 1, IMPUTATION = FALSE, CUTOFF = 10, ALIGN = TRUE)
DATA |
A data.table with structure as provided in the example. |
FREQ |
The highest possible frequency. Defaults to 1 for a frequency of 1 second. |
IMPUTATION |
Should missing values be imputed? If TRUE, then |
CUTOFF |
The number of standard deviations of log returns around which data should be kept. Defaults to 10, s.t. observations outside +-10 SD will be omitted. |
ALIGN |
Should the data be aligned to round timestamps? Defaults to TRUE. |
Outputs a cleaned return file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.