fcl: A Financial Calculator

A financial calculator that provides very fast implementations of common financial indicators using 'Rust' code. It includes functions for bond-related indicators, such as yield to maturity ('YTM'), modified duration, and Macaulay duration, as well as functions for calculating time-weighted and money-weighted rates of return (using 'Modified Dietz' method) for multiple portfolios, given their market values and profit and loss ('PnL') data. 'fcl' is designed to be efficient and accurate for financial analysis and computation. The methods used in this package are based on the following references: <https://en.wikipedia.org/wiki/Modified_Dietz_method>, <https://en.wikipedia.org/wiki/Time-weighted_return>.

Version: 0.1.0
Imports: xts, ymd
Suggests: testthat (≥ 3.0.0)
Published: 2023-10-13
Author: Xianying Tan ORCID iD [aut, cre], Raymon Mina [ctb] (find_root.rs, xirr.rs), The authors of the dependency Rust crates [ctb] (see inst/AUTHORS file for details)
fcl author details
Maintainer: Xianying Tan <shrektan at 126.com>
BugReports: https://github.com/shrektan/fcl/issues
License: MIT + file LICENSE
URL: https://github.com/shrektan/fcl, https://shrektan.github.io/fcl/
NeedsCompilation: yes
SystemRequirements: Cargo (Rust's package manager), rustc
Materials: README NEWS
CRAN checks: fcl results


Reference manual: fcl.pdf


Package source: fcl_0.1.0.tar.gz
Windows binaries: r-devel: fcl_0.1.0.zip, r-release: fcl_0.1.0.zip, r-oldrel: fcl_0.1.0.zip
macOS binaries: r-release (arm64): fcl_0.1.0.tgz, r-oldrel (arm64): fcl_0.1.0.tgz, r-release (x86_64): fcl_0.1.0.tgz, r-oldrel (x86_64): fcl_0.1.0.tgz


Please use the canonical form https://CRAN.R-project.org/package=fcl to link to this page.