Learn R Programming

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

Trading (version 2.1)

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.1

License

GPL-3

Maintainer

Tasos Grivas

Last Published

August 12th, 2020

Functions in Trading (2.1)

Collateral-class

Collateral Class
CSA-class

CSA Class
VariationOfInformation

Variation of Information
SelectDerivatives

Select the derivatives out of a trades' list
Chebyshev_distance

Chebyshev distance
CDS-class

CDS Class
CDX-class

CDX Class
FxSwap-class

FX Swap Class
BondFuture-class

Bond Future Class
CDOTranche-class

CDO tranche Class
DynamicBeta

Time Varying Beta via Kalman filter & smoother
Commodity-class

Commodity Class
CommodityForward-class

Commodity Forward Class
NormXASampEn

Normalized Cross Sample Entropy
OtherExposure-class

OtherExposure Class
FxForward-class

FX Forward Class
InformationAdjustedBeta

Information Adjusted Beta
InformationAdjustedCorr

Information Adjusted Correlation
Equity-class

Equity Class
GetTradeDetails

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

Hashtable Class
SampleEntropy

Sample Entropy
ParseTrades

Parse trades through a .csv file.
AngularDistance

Angular distance metrics
Bond-class

Bond Class
Curve-class

Curve Class
CrossSampleEntropy

Angular distance metrics
IRDSwapVol-class

IRD Swap Volatility Class
EquityOption-class

Equity Option Class
EquityIndexFuture-class

Equity Index Future Class
IRDSwaption-class

IRD Swaption Class
IRDFuture-class

IRD Future Class
IRDSwap-class

IRD Swap Class
CommSwap-class

Commodity Swap Class