Trading: Trade Objects, Advanced Correlation & Beta Estimates, Betting Strategies

Contains performance analysis metrics of track records including entropy-based correlation and dynamic beta based on a state/space algorithm. The normalized sample entropy method has been implemented which produces accurate entropy estimation even on smaller datasets. On a separate stream, trades from the five major assets classes and also functionality to use pricing curves, rating tables, Credit Support Annex 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', the 'EuroJackpot', the UK Lotto, the Set For Life and the UK 'ThunderBall' lotteries. Furthermore, some basic functionality about climate risk has been included.

Version: 3.1
Imports: methods, reticulate, PerformanceAnalytics, data.table, ggplot2, readxl, RcppAlgos
Published: 2025-02-22
DOI: 10.32614/CRAN.package.Trading
Author: Tasos Grivas [aut, cre]
Maintainer: Tasos Grivas <info at openriskcalculator.com>
License: GPL-3
URL: https://openriskcalculator.com/
NeedsCompilation: no
CRAN checks: Trading results

Documentation:

Reference manual: Trading.pdf

Downloads:

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

Linking:

Please use the canonical form https://CRAN.R-project.org/package=Trading to link to this page.