Skip to content

ragtop

Pricing Equity Derivatives with Extensions of Black-Scholes

v1.2.0 · Jul 10, 2025 · GPL (>= 2)

Description

Algorithms to price American and European equity options, convertible bonds and a variety of other financial derivatives. It uses an extension of the usual Black-Scholes model in which jump to default may occur at a probability specified by a power-law link between stock price and hazard rate as found in the paper by Takahashi, Kobayashi, and Nakagawa (2001) <doi:10.3905/jfi.2001.319302>. We use ideas and techniques from Andersen and Buffum (2002) <doi:10.2139/ssrn.355308> and Linetsky (2006) <doi:10.1111/j.1467-9965.2006.00271.x>.

Downloads

266

Last 30 days

11926th

266

Last 90 days

266

Last year

CRAN Check Status

3 ERROR
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 ERROR
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 ERROR
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 ERROR
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
ERROR r-devel-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘ragtop_convertibles_in_r.Rmd’ using rmarkdown

Quitting from ragtop_convertibles_in_r.Rmd:424-461 [twitter_cb_via_BondValuation]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `if (index_LIPD >= 1) ...`:
! argument is of length zero
---
Backtrace:
    ▆
 1. └─BondValuation::AnnivDates(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'ragtop_convertibles_in_r.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘ragtop_convertibles_in_r.Rmd’

SUMMARY: processing the following file failed:
  ‘ragtop_convertibles_in_r.Rmd’

Error: Vignette re-building failed.
Execution halted
OK r-devel-windows-x86_64

*


            
ERROR r-oldrel-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘ragtop_convertibles_in_r.Rmd’ using rmarkdown
2026-03-10 03:17:30.273 R[32480:194240] XType: Using static font registry.

Quitting from ragtop_convertibles_in_r.Rmd:424-461 [twitter_cb_via_BondValuation]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `if (index_LIPD >= 1) ...`:
! argument is of length zero
---
Backtrace:
    ▆
 1. └─BondValuation::AnnivDates(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'ragtop_convertibles_in_r.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘ragtop_convertibles_in_r.Rmd’

SUMMARY: processing the following file failed:
  ‘ragtop_convertibles_in_r.Rmd’

Error: Vignette re-building failed.
Execution halted
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
ERROR r-release-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘ragtop_convertibles_in_r.Rmd’ using rmarkdown
2026-03-10 03:29:53.681 R[11037:627542] XType: Using static font registry.

Quitting from ragtop_convertibles_in_r.Rmd:424-461 [twitter_cb_via_BondValuation]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `if (index_LIPD >= 1) ...`:
! argument is of length zero
---
Backtrace:
    ▆
 1. └─BondValuation::AnnivDates(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'ragtop_convertibles_in_r.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘ragtop_convertibles_in_r.Rmd’

SUMMARY: processing the following file failed:
  ‘ragtop_convertibles_in_r.Rmd’

Error: Vignette re-building failed.
Execution halted
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

ERROR 11 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE Mar 9, 2026
ERROR r-devel-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘ragtop_convertibles_in_r.Rmd’ using rmarkdown

Quitting from ragtop_convertibles_in_r.Rmd:424-461 [twitter_cb_via_BondValuation]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `if (index_LIPD >= 1) ...`:
! argument is of length zero
---
Backtrace:
    ▆
 1. └─BondValuation::AnnivDates(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: proce
ERROR r-release-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘ragtop_convertibles_in_r.Rmd’ using rmarkdown
2026-03-10 03:29:53.681 R[11037:627542] XType: Using static font registry.

Quitting from ragtop_convertibles_in_r.Rmd:424-461 [twitter_cb_via_BondValuation]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `if (index_LIPD >= 1) ...`:
! argument is of length zero
---
Backtrace:
    ▆
 1. └─BondValuation::AnnivDates(...)
~~~~~~~~~~~~~~~~~~~
ERROR r-oldrel-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘ragtop_convertibles_in_r.Rmd’ using rmarkdown
2026-03-10 03:17:30.273 R[32480:194240] XType: Using static font registry.

Quitting from ragtop_convertibles_in_r.Rmd:424-461 [twitter_cb_via_BondValuation]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `if (index_LIPD >= 1) ...`:
! argument is of length zero
---
Backtrace:
    ▆
 1. └─BondValuation::AnnivDates(...)
~~~~~~~~~~~~~~~~~~~

Dependency Network

Dependencies Reverse dependencies limSolve futile.logger ragtop

Version History

new 1.2.0 Mar 9, 2026