bar_unit: Construct unit bars

Description Usage Arguments Value Author(s)

View source: R/bars.R

Description

Construct unit bars

Usage

1
bar_unit(dat, unit)

Arguments

dat

dat input with at least the following columns: Price, Size. If timestamp is provided than output also contains timestamp of the unit bars

unit

the total dollar (unit) traded of each window

Value

time stamp at the end of each bar (if timestamp is provided), and H,L,O,C,V

Author(s)

Larry Lei Hua


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