Rdocumentation
powered by
Learn R Programming
QuantTools (version 0.5.3)
to_candles: Convert ticks to candles
Description
Convert ticks to candles.
Usage
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.