Skip to content

Commit

Permalink
move utilities to submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
alecloudenback committed Apr 18, 2024
1 parent 0f1ca91 commit 6b6d1c9
Show file tree
Hide file tree
Showing 8 changed files with 176 additions and 1,424 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,20 @@ A collection of common functions/manipulations used in Actuarial Calculations.
- `accum_offset` to calculate accumulations like survivorship from a mortality vector
- `spread` will calculate the spread needed between two yield curves to equate a set of cashflows

### Options Pricing
- `eurocall` and `europut` for Black-Scholes option prices (note: API may change for this in future)

### Risk Measures

- Calculate risk measures for a given vector of risks:
- `CTE` for the Conditional Tail Expectation, or
- `VaR` for the percentile/Value at Risk.
- `CTE` for the Conditional Tail Expectation
- `VaR` for the percentile/Value at Risk
- `WangTransform` for the Wang Transformation
- `ProportionalHazard` for proportional hazards
- `DualPower` for dual power measure

### Insurance mechanics

- `duration`:
- Calculate the duration given an issue date and date (a.k.a. policy duration)


### Typed Rates

- functions which return a rate/yield will return a `FinanceCore.Rate` object. E.g. `irr(cashflows)` will return a `Rate(0.05,Periodic(1))` instead of just a `0.05` (`float64`) to convey the compounding frequency. This is compatible across the JuliaActuary ecosystem and can be used anywhere you would otherwise use a simple floating point rate.
Expand Down
Loading

0 comments on commit 6b6d1c9

Please sign in to comment.