to_candles: Convert ticks to candles

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Convert ticks to candles

Usage

1
to_candles(ticks, timeframe)

Arguments

ticks

read 'Ticks' section in Processor

timeframe

candle timeframe in seconds

Value

data.table with columns time, open, high, low, close, volume, id. Where id is row number of last tick in candle.
Note: last candle is always omitted.


QuantTools documentation built on Oct. 23, 2020, 7:54 p.m.