Skip to content

quarks

1.1.6Package record

Simple Methods for Calculating and Backtesting Value at Risk and Expected Shortfall

0packages depend
5Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Enables the user to calculate Value at Risk (VaR) and Expected Shortfall (ES) by means of various types of historical simulation. Currently plain-, age-, volatility-weighted- and filtered historical simulation are implemented in this package. Volatility weighting can be carried out via an exponentially weighted moving average model (EWMA) or other GARCH-type models. The performance can be assessed via Traffic Light Test, Coverage Tests and Loss Functions. The methods of the package are described in Gurrola-Perez, P. and Murphy, D. (2015) https://EconPapers.repec.org/RePEc:boe:boeewp:0525 as well as McNeil, J., Frey, R., and Embrechts, P. (2015) https://ideas.repec.org/b/pup/pbooks/10496.html.

Changes in 1.1.6
  • minor improvements of the ShinyApp (runFTS) for downloading data from Yahoo Finance
  • added the option to select data frequency

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.6
READMEYes · 533 wordsVignettesNoNEWSYes · 100% structured · mentions 1.1.6Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
18
Examples that run
100%9 run in a plain check
Exported functions with examples
90%
Documented parameters
88%
Return-value docs
100%
Help pages citing references
11%

Downloads

5K
CRAN downloads in the past year
Rank #9,677 · ~14/day · ~413/mo
Daily download trend is not available in this view yet.
Also on161 r2u3 autocran

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing quarks adds 120 packages (67 with compiled code, 80 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.

Depends (1)
R >= 2.10
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 1.0.0 (2021)
Releases (19)

Pick two releases to compare their code metrics.

Show 10 earlier eventsHide 10 earlier events

Package metadata

First published
2021-02-17
Total releases
19 / 5 yrs
License
GPL-3 OSI
Minimum R
≥ 2.10
Bundled data
1.3 MB / 6 files
Download size
3.0 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("quarks")
Letmathe, S. (2026). quarks: Simple Methods for Calculating and Backtesting Value at Risk and Expected Shortfall (Version 1.1.6) [Computer software]. https://doi.org/10.32614/CRAN.package.quarks

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for quarks version 1.1.6 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy