Learn R Programming

⚠️There's a newer version (0.5.7.1) of this package.Take me there.

QuantTools (version 0.5.2)

Enhanced Quantitative Trading Modelling

Description

Download and organize historical market data from multiple sources like Yahoo (), Google (), Finam (), MOEX () and IQFeed (). Code your trading algorithms in modern C++11 with powerful event driven tick processing API including trading costs and exchange communication latency and transform detailed data seamlessly into R. In just few lines of code you will be able to visualize every step of your trading model from tick data to multi dimensional heat maps.

Copy Link

Version

Install

install.packages('QuantTools')

Monthly Downloads

107

Version

0.5.2

License

GPL-3

Maintainer

Stanislav Kovalevsky

Last Published

December 8th, 2016

Functions in QuantTools (0.5.2)

Candle

c++ Candle class
Ema

Exponential Moving Average
Order

c++ Order class
Processor

c++ Processor class
RollVolumeProfile

c++ Rolling Volume Profile class
RollRange

c++ Rolling Range / Quantile class
RollSd

c++ Rolling Standard Deviation class
RollPercentRank

c++ Rolling Percent Rank class
Indicator

c++ Indicator Base class
RollLinReg

c++ Rolling Linear Regression class
Rsi

Relative Strength Index
crossover

Crossover
Tick

c++ Tick class
empty_plot

Plot empty plot
distinct_colors

Distinct colors vector
dof

Do calculation on data.table excluding first column
Sma

Simple Moving Average
Stochastic

Stochastic
gen_futures_codes

Generate futures contract codes and schedule between dates
get_market_data

Download historical market data
lmerge

Merge list of data.frames into data.table by key column
lines_stacked_hist

Add stacked histogram to active time series plot
lapply_named

lapply which returns named list
iround

Round numbers to specified interval
lines_ohlc

Add candles to active time series plot
hist_dt

Plot histogram of data.table by columns
multi_heatmap

Multi Dimensional Heat Map
iqfeed

IQFeed
na_locf

Last Observation Carried Forward
plot_table

Plot data.frame as table with histogram in background
roll_sd_filter

Rolling Filter
roll_sd

Rolling Standard Deviation
settings

QuantTools settings
roll_volume_profile

Rolling Volume Profile
store_market_data

Store historical market data
round_POSIXct

Round POSIXct timestamps
ticks

Example intraday tick data
calc_decimal_resolution

Calculate decimal resolution
bw

Check if values in vector are between specified range
roll_futures

Combine multiple futures market data into continuous contract
roll_lm

Rolling Linear Regression
bbands

c++ Bollinger Bands class
back_test

Generic back test function
add_last_values

Add last values marks to the right of active time series plot
add_legend

Add legend to active time series plot
Cost

c++ Trading Commissions class
roll_percent_rank

Rolling Percent Rank
roll_range

Rolling Range
to_candles

Convert ticks to candles
to_ticks

Convert candles to ticks
wo

Select values in one vector not present in another
plot_ts

Plot time series
returns

Calculate returns