CRAN
QFRM 1.0.1
Pricing of Vanilla and Exotic Option Contracts
Released Jul 28, 2015 by Oleg Melnikov
Option pricing (financial derivatives) techniques mainly following textbook 'Options, Futures and Other Derivatives', 9ed by John C.Hull, 2014. Prentice Hall. Implementations are via binomial tree option model (BOPM), Black-Scholes model, Monte Carlo simulations, etc. This package is a result of Quantitative Financial Risk Management course (STAT 449 and STAT 649) at Rice University, Houston, TX, USA, taught by Oleg Melnikov, statistics PhD student, as of Spring 2015.
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>QFRM</artifactId> <version>1.0.1-b53</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:QFRM')
Test Results
This package was last tested against Renjin 0.9.2644 on Jun 2, 2018.
- AsianBS-examples
- AsianMC-examples
- AverageStrikeMC-examples
- BOPM_Eu-examples
- BS-examples
- BS_Simple-examples
- BarrierBS-examples
- BarrierLT-examples
- BarrierMC-examples
- BinaryBS-examples
- BinaryMC-examples
- Binary_BOPM-examples
- ChooserBS-examples
- ChooserLT-examples
- ChooserMC-examples
- CompoundBS-examples
- CompoundLT-examples
- DeferredPaymentLT-examples
- ForeignEquityBS-examples
- ForwardStartBS-examples
- ForwardStartMC-examples
- GapBS-examples
- GapLT-examples
- GapMC-examples
- HolderExtendibleBS-examples
- LadderMC-examples
- LookbackBS-examples
- LookbackMC-examples
- Opt-examples
- OptPos-examples
- OptPx-examples
- PerpetualBS-examples
- Profit-examples
- QuotientBS-examples
- QuotientMC-examples
- RainbowBS-examples
- ShoutFD-examples
- ShoutLT-examples
- ShoutLTVectorized-examples
- ShoutMC-examples
- VarianceSwapBS-examples
- VarianceSwapMC-examples
- as.OptPos-examples
- is.Opt-examples
- is.OptPos-examples
- is.OptPx-examples
- pbnorm-examples