Description Usage Arguments Author(s) Examples
The auxiliary function b_t for constructing tick imbalance bars. The first b_t is assigned the value 0 because no information is available
1 | imbalance_tick(dat)
|
dat |
dat input with at least the following columns: Price |
Larry Lei Hua, ming08108(github)
1 2 3 4 | set.seed(1)
dat <- data.frame(Price = c(rep(0.5, 4), runif(2), 0.5, 0.5, 0.4, runif(2) ))
b_t <- imbalance_tick(dat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.