CRAN

Trading 1.2

Trades, Curves, Rating Tables, Add-on Tables, CSAs

Released Jan 12, 2019 by Tasos Grivas

This package can be loaded by Renjin but 5 out 18 tests failed.

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

Installation

Maven

This package can be included as a dependency from a Java or Scala project by including the following your project's pom.xml file. Read more about embedding Renjin in JVM-based projects.

<dependencies>
  <dependency>
    <groupId>org.renjin.cran</groupId>
    <artifactId>Trading</artifactId>
    <version>1.2-b1</version>
  </dependency>
</dependencies>
<repositories>
  <repository>
    <id>bedatadriven</id>
    <name>bedatadriven public repo</name>
    <url>https://nexus.bedatadriven.com/content/groups/public/</url>
  </repository>
</repositories>

View build log

Renjin CLI

If you're using Renjin from the command line, you load this library by invoking:

library('org.renjin.cran:Trading')

Test Results

This package was last tested against Renjin 0.9.2719 on Jan 14, 2019.

Source

R

View GitHub Mirror

Release History