timebar: Time bar transformations from raw data

Description Usage Arguments Value Examples

Description

Function to transform raw transactions data into a time bar for a specific timeframe.

Usage

1

Arguments

data

a data.frame with follwing headers name: "Time", "Price", "Size", "cum_volume" and "ppt"

type

type of time bar from "minute", "hour" or "day"

Value

a data.frame in the form OHLC with ending date for each bar.

Examples

1
transform_data <- bar_time(SSI_data, "minute")

thanhuwe8/mladv documentation built on June 9, 2019, 9:26 p.m.