Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.


QuantTools

Enhanced Quantitative Trading Modelling

v0.5.7.1
GPL-3
Authors
Stanislav Kovalevsky
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.