Trading: CCR, Advanced Correlation & Beta Estimates, Betting Strategies

Contains performance analysis metrics of track records including entropy-based correlation and dynamic beta based on the Kalman filter. The normalized sample entropy method has been implemented which produces accurate entropy estimation even on smaller datasets while for the dynamic beta calculation the Kalman filter methodology has been utilized. On a separate stream, trades from the five major assets classes and also functionality to use pricing curves, rating tables, CSAs and add-on tables. The implementation follows an object oriented logic whereby each trade inherits from more abstract classes while also the curves/tables are objects. Furthermore, odds calculators and P&L back-testing functionality has been implemented for the most widely used betting/trading strategies including martingale, DAlembert, Labouchere and Fibonacci. Back-testing has also been included for the EuroMillions and EuroJackpot lotteries. Furthermore, some basic functionality about climate risk has been included.

Version: 3.0
Imports: methods, reticulate, PerformanceAnalytics, data.table, ggplot2, readxl, RcppAlgos
Published: 2024-02-14
DOI: 10.32614/CRAN.package.Trading
Author: Tasos Grivas
Maintainer: Tasos Grivas <info at>
License: GPL-3
NeedsCompilation: no
CRAN checks: Trading results


Reference manual: Trading.pdf


Package source: Trading_3.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): Trading_3.0.tgz, r-oldrel (arm64): Trading_3.0.tgz, r-release (x86_64): Trading_3.0.tgz, r-oldrel (x86_64): Trading_3.0.tgz
Old sources: Trading archive

Reverse dependencies:

Reverse imports: SACCR, xVA


Please use the canonical form to link to this page.