Trên GitHub, wilsonfreitas/R-fixedincome đã đạt 64 sao, ngôn ngữ R. Fixed income tools for R
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Calculations involving interest rates are usually very easy and
straightforward, but sometimes it involves specific issues that makes
the task of writing structured and reproducible code for it challenging
and annoying. The fixedincome package brings many functions to
structure and create facilities to handle with interest rates, term
structure of interest rates and specific issues regarding compounding
rates and day count rules, for example.
Below there are a few examples on how to create and make calculations
with interest rates using fixedincome.
Installation
You can install from CRAN with:
install.packages("fixedincome")
You can install the development version of fixedincome from
GitHub with:
To create an interest rate we need to specify 4 elements:
the value of the interest rate itself, a decimal number
the compounding regime of interest rate, that can be simple,
discrete or continuous.
the day count rule which defines how interest is accrued over time, we
have a few options, for example, actual/360 where the days between
two dates are calculated as the difference and the year is assumed to
be 360 days.
the calendar used to count the number of days between two dates, we
have actual calendar that compute the difference between two dates.
There is another important topic that wasn’t declared here that is the
frequency of interest. To start with the things simple fixedincome
handles only with annual rates since this represents the great
majority of rates used in financial market contracts, but this
restriction can be reviewed in the future.
Given that let’s declare an annual spot rate with a simple
compounding, an actual/360 and the actual calendar.
library(fixedincome)
sr <- spotrate(0.06, "simple", "actual/360", "actual")
sr
#> [1] "0.06 simple actual/360 actual"
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/wilsonfreitas/R-fixedincome là nguồn chính thức.
wilsonfreitas/R-fixedincome có bao nhiêu sao?
wilsonfreitas/R-fixedincome có 64 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/wilsonfreitas/R-fixedincome. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
Dự án có trang chủ ở http://wilsonfreitas.github.io/R-fixedincome/. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
wilsonfreitas/R-fixedincome còn đang phát triển không?
Commit gần nhất trên wilsonfreitas/R-fixedincome là 18 ngày trước (theo timestamp GitHub). Repo có 25 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
wilsonfreitas/R-fixedincome viết bằng ngôn ngữ gì?
wilsonfreitas/R-fixedincome chủ yếu viết bằng R. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về R-fixedincome?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về R-fixedincome.