imbalance_volume: The auxiliary function b_tv_t for constructing volume...

Description Usage Arguments Author(s) Examples

View source: R/bars.R

Description

The auxiliary function b_tv_t for constructing volume imbalance bars. The first b_tv_t is assigned the value 0 because no information is available

Usage

1

Arguments

dat

dat input with at least the following columns: Price, Size

Author(s)

Larry Lei Hua

Examples

1
2
3
4
set.seed(1)
dat <- data.frame(Price = c(rep(0.5, 4), runif(10)), Size = rep(10,14))

b_tv_t <- imbalance_volume(dat)

larryleihua/fmlr documentation built on Jan. 31, 2020, 8:55 a.m.