Learn R Programming

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

Trading (version 2.0)

CCR, Entropy-Based Correlation Estimates & Dynamic Beta

Description

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. There is a lot of functionality focusing on the counterparty credit risk calculations however the package can be used for trading applications in general.

Copy Link

Version

Install

install.packages('Trading')

Monthly Downloads

384

Version

2.0

License

GPL-3

Maintainer

Tasos Grivas

Last Published

April 19th, 2020

Functions in Trading (2.0)

CommodityForward-class

Commodity Forward Class
CDOTranche-class

CDO tranche Class
CommSwap-class

Commodity Swap Class
Bond-class

Bond Class
BondFuture-class

Bond Future Class
Commodity-class

Commodity Class
Collateral-class

Collateral Class
AngularDistance

Angular distance metrics
CSA-class

CSA Class
EquityIndexFuture-class

Equity Index Future Class
Chebyshev_distance

Chebyshev distance
IRDSwaption-class

IRD Swaption Class
InformationAdjustedBeta

Information Adjusted Beta
CreditSingle-class

Credit Single Class
CreditIndex-class

Credit Index Class
IRDSwap-class

IRD Swap Class
Curve-class

Curve Class
IRDSwapVol-class

IRD Swap Volatility Class
DynamicBeta

Time Varying Beta via Kalman filter & smoother
CrossSampleEntropy

Angular distance metrics
FXSwap-class

FX Swap Class
EquityOption-class

Equity Option Class
SampleEntropy

Sample Entropy
ParseTrades

Parse trades through a .csv file.
GetTradeDetails

Returns a list with the populated fields of a Trade Object
IRDFuture-class

IRD Future Class
VariationOfInformation

Variation of Information
HashTable-class

Hashtable Class
NormXASampEn

Normalized Cross Sample Entropy
Equity-class

Equity Class
InformationAdjustedCorr

Information Adjusted Correlation