@sheetxl/formulas-extended 0.8.0-beta.1 → 0.8.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/cjs/B4ANcw0mAmhe2Aeb.cjs +1 -0
- package/browser/cjs/B6IXpae7f0J8Ocq6.cjs +1 -0
- package/browser/cjs/Bncc0oXhFMdj_HuR.cjs +1 -0
- package/browser/cjs/C4cZxb9nRtzTCA40.cjs +1 -0
- package/browser/cjs/{lEQC21-Sk4lwHy2r.cjs → CFxueP0tbpmvY1Ip.cjs} +1 -1
- package/browser/cjs/CRcv32tHTbGSGtkh.cjs +1 -0
- package/browser/cjs/CaJGoNwTL6pAJ6a4.cjs +1 -0
- package/browser/cjs/CfXcRa4RlFmqU0Op.cjs +1 -0
- package/browser/cjs/{CnZfa45XxA-9Jhmp.cjs → DRmo6uoGoqtiVff8.cjs} +1 -1
- package/browser/cjs/DSXLVieENYN9qXYl.cjs +1 -0
- package/browser/cjs/DpFg69dDCPoOK2BY.cjs +1 -0
- package/browser/cjs/PmwvZPFhqmL4DO58.cjs +1 -0
- package/browser/cjs/SATfdSwNygvlOSKC.cjs +1 -0
- package/browser/cjs/XRCcogT-Iqd3Wv6R.cjs +1 -0
- package/browser/cjs/iYn00uzmSLl2T0oN.cjs +1 -0
- package/browser/cjs/index.cjs +1 -1
- package/browser/esm/6amJZ6Ci7khs1EpQ.mjs +37 -0
- package/{node/esm/vu0NRDeeTbEHPMYS.mjs → browser/esm/B8VR_ZAEMWJqOVFM.mjs} +2 -2
- package/{node/esm/Bma3CN4_Nec6_4n7.mjs → browser/esm/BGCEjkOTEskgvBSD.mjs} +6 -6
- package/{node/esm/DodhOXkSzelSxHmB.mjs → browser/esm/Bm9n_7JWXmhQ_BAb.mjs} +27 -29
- package/browser/esm/{DpoZ7h1ScIJvbOY9.mjs → BtNf1hXsR3TvolZ6.mjs} +5 -5
- package/{node/esm/COqdI1LYTHd9oLA6.mjs → browser/esm/BwmPpdf2z0FDv9IZ.mjs} +1 -1
- package/{node/esm/srpVt74r2zbvm1N0.mjs → browser/esm/C0mSYrr2yF012bGD.mjs} +5 -5
- package/browser/esm/{B1VmvhXuEn7zaTB9.mjs → C4vFDf_lYH0QSaE1.mjs} +1 -1
- package/browser/esm/{DY3kG36QGyDbrANO.mjs → CU2EkdawYacXSt1c.mjs} +1 -1
- package/browser/esm/{BFnDPCjxJcoIItFa.mjs → CugijEQsjGn9ENYE.mjs} +3 -3
- package/browser/esm/Cwb0ysaCuxSO5Wp7.mjs +58 -0
- package/browser/esm/D5wiSKIeUtCkBDf7.mjs +33 -0
- package/browser/esm/DKiPLYQWGk-Ov6wa.mjs +47 -0
- package/browser/esm/Da8bWIg7O-5vDAog.mjs +32 -0
- package/browser/esm/DdQaTbz0VTi-8RUW.mjs +32 -0
- package/{node/esm/CnVJ8GAsshRjRGA-.mjs → browser/esm/Dlpw5YQAcTl-Cfrt.mjs} +2 -2
- package/browser/esm/Dq6rGM4iP0zy52lg.mjs +19 -0
- package/{node/esm/BuGemmv84T8m0wqw.mjs → browser/esm/Sd9LvsDzMdOmTsXR.mjs} +1 -1
- package/browser/esm/WET3PcaveNwVooXd.mjs +119 -0
- package/{node/esm/BRwwvGaJ6HvkxjFC.mjs → browser/esm/cNTNUggnKXPO1Ebs.mjs} +1 -1
- package/browser/esm/index.mjs +3283 -1677
- package/node/esm/6amJZ6Ci7khs1EpQ.mjs +37 -0
- package/{browser/esm/vu0NRDeeTbEHPMYS.mjs → node/esm/B8VR_ZAEMWJqOVFM.mjs} +2 -2
- package/{browser/esm/Bma3CN4_Nec6_4n7.mjs → node/esm/BGCEjkOTEskgvBSD.mjs} +6 -6
- package/{browser/esm/DodhOXkSzelSxHmB.mjs → node/esm/Bm9n_7JWXmhQ_BAb.mjs} +27 -29
- package/node/esm/{DpoZ7h1ScIJvbOY9.mjs → BtNf1hXsR3TvolZ6.mjs} +5 -5
- package/{browser/esm/COqdI1LYTHd9oLA6.mjs → node/esm/BwmPpdf2z0FDv9IZ.mjs} +1 -1
- package/{browser/esm/srpVt74r2zbvm1N0.mjs → node/esm/C0mSYrr2yF012bGD.mjs} +5 -5
- package/node/esm/{B1VmvhXuEn7zaTB9.mjs → C4vFDf_lYH0QSaE1.mjs} +1 -1
- package/node/esm/Cwb0ysaCuxSO5Wp7.mjs +58 -0
- package/node/esm/D5wiSKIeUtCkBDf7.mjs +33 -0
- package/node/esm/DKiPLYQWGk-Ov6wa.mjs +47 -0
- package/node/esm/Da8bWIg7O-5vDAog.mjs +32 -0
- package/node/esm/DdQaTbz0VTi-8RUW.mjs +32 -0
- package/node/esm/{LAkTk93odAfpvx50.mjs → Di8nKpCkAReXfW0y.mjs} +1 -1
- package/{browser/esm/CnVJ8GAsshRjRGA-.mjs → node/esm/Dlpw5YQAcTl-Cfrt.mjs} +2 -2
- package/node/esm/{BQyZVLTMNFLbjVap.mjs → DndwLLj7OgAwCNqT.mjs} +3 -3
- package/{browser/esm/BuGemmv84T8m0wqw.mjs → node/esm/Sd9LvsDzMdOmTsXR.mjs} +1 -1
- package/node/esm/WET3PcaveNwVooXd.mjs +119 -0
- package/node/esm/bC-_uC9o3MGBu2fU.mjs +19 -0
- package/{browser/esm/BRwwvGaJ6HvkxjFC.mjs → node/esm/cNTNUggnKXPO1Ebs.mjs} +1 -1
- package/node/esm/index.mjs +3607 -1998
- package/package.json +3 -3
- package/types/src/.generated/decl/financial/Annuity.decl.d.ts +5 -0
- package/types/src/.generated/decl/financial/{Financial.decl.d.ts → Cashflow.decl.d.ts} +1 -1
- package/types/src/.generated/decl/financial/Convert.decl.d.ts +4 -0
- package/types/src/.generated/decl/financial/Coupon.decl.d.ts +4 -0
- package/types/src/.generated/decl/financial/{Financial2.decl.d.ts → Depreciation.decl.d.ts} +1 -1
- package/types/src/.generated/decl/financial/Growth.decl.d.ts +4 -0
- package/types/src/.generated/decl/financial/{ODD.decl.d.ts → Odd.decl.d.ts} +1 -1
- package/types/src/.generated/decl/financial/{Financial3.decl.d.ts → STOCKHISTORY.decl.d.ts} +1 -1
- package/types/src/.generated/decl/financial/Security.decl.d.ts +4 -0
- package/types/src/.generated/decl/financial/{Financial4.decl.d.ts → SecurityMaturity.decl.d.ts} +1 -1
- package/types/src/.generated/decl/{statistical/TTEST.decl.d.ts → financial/TBill.decl.d.ts} +1 -1
- package/types/src/.generated/decl/statistical/{ETS.decl.d.ts → Ets.decl.d.ts} +1 -1
- package/types/src/.generated/decl/statistical/TTest.decl.d.ts +4 -0
- package/types/src/.generated/desc/financial/Annuity.desc.d.ts +5 -0
- package/types/src/.generated/desc/financial/{Financial.desc.d.ts → Cashflow.desc.d.ts} +1 -1
- package/types/src/.generated/desc/financial/Convert.desc.d.ts +4 -0
- package/types/src/.generated/desc/financial/Coupon.desc.d.ts +4 -0
- package/types/src/.generated/desc/financial/{Financial2.desc.d.ts → Depreciation.desc.d.ts} +1 -1
- package/types/src/.generated/desc/financial/Growth.desc.d.ts +4 -0
- package/types/src/.generated/desc/financial/{ODD.desc.d.ts → Odd.desc.d.ts} +1 -1
- package/types/src/.generated/desc/financial/{Financial3.desc.d.ts → STOCKHISTORY.desc.d.ts} +1 -1
- package/types/src/.generated/desc/financial/Security.desc.d.ts +4 -0
- package/types/src/.generated/desc/financial/{Financial4.desc.d.ts → SecurityMaturity.desc.d.ts} +1 -1
- package/types/src/.generated/desc/{statistical/TTEST.desc.d.ts → financial/TBill.desc.d.ts} +1 -1
- package/types/src/.generated/desc/statistical/{ETS.desc.d.ts → Ets.desc.d.ts} +1 -1
- package/types/src/.generated/desc/statistical/TTest.desc.d.ts +4 -0
- package/types/src/_utils/AnyArgs.d.ts +17 -3
- package/types/src/_utils/FinanaceSolver.d.ts +39 -2
- package/types/src/_utils/FinanceAmor.d.ts +23 -0
- package/types/src/_utils/FinanceCashflow.d.ts +42 -0
- package/types/src/_utils/FinanceCoupon.d.ts +92 -82
- package/types/src/_utils/FinanceDate.d.ts +24 -0
- package/types/src/_utils/FinanceDayCount.d.ts +46 -0
- package/types/src/_utils/FinanceOdd.d.ts +93 -0
- package/types/src/_utils/FinanceSecurity.d.ts +84 -0
- package/types/src/_utils/FinanceUtils.d.ts +34 -0
- package/types/src/_utils/LeastSquares.d.ts +20 -22
- package/types/src/_utils/RegexCompile.d.ts +33 -0
- package/types/src/cube/Cube.d.ts +7 -7
- package/types/src/financial/ACCRINT.d.ts +33 -6
- package/types/src/financial/AMORDEGRC.d.ts +22 -40
- package/types/src/financial/Annuity.d.ts +118 -0
- package/types/src/financial/Cashflow.d.ts +84 -0
- package/types/src/financial/Convert.d.ts +26 -0
- package/types/src/financial/Coupon.d.ts +72 -0
- package/types/src/financial/Date.d.ts +34 -5
- package/types/src/financial/Depreciation.d.ts +58 -0
- package/types/src/financial/Growth.d.ts +22 -0
- package/types/src/financial/Odd.d.ts +82 -0
- package/types/src/financial/STOCKHISTORY.d.ts +17 -0
- package/types/src/financial/Security.d.ts +68 -0
- package/types/src/financial/SecurityMaturity.d.ts +107 -0
- package/types/src/financial/TBill.d.ts +40 -0
- package/types/src/financial/VDB.d.ts +15 -13
- package/types/src/statistical/{ETS.d.ts → Ets.d.ts} +14 -14
- package/types/src/statistical/Regression.d.ts +13 -18
- package/types/src/statistical/{TTEST.d.ts → TTest.d.ts} +5 -5
- package/types/src/text/RegEx.d.ts +34 -11
- package/browser/cjs/B4JJfKSI4ppwU855.cjs +0 -1
- package/browser/cjs/BwLx9ix5Sq7suAYP.cjs +0 -1
- package/browser/cjs/Clu7XiAsCB48GDXN.cjs +0 -1
- package/browser/cjs/DsFZgtSQpC75d1M0.cjs +0 -1
- package/browser/cjs/fqTQ_p3ehzUvc1tF.cjs +0 -1
- package/browser/cjs/h3dw1jAp2J5Pu4p3.cjs +0 -1
- package/browser/cjs/jev6VGWTdgEgm4Yk.cjs +0 -1
- package/browser/esm/CwoMEzOtRihuYUTr.mjs +0 -20
- package/browser/esm/Dy6UD7hQRBsT0WNp.mjs +0 -304
- package/node/esm/CwoMEzOtRihuYUTr.mjs +0 -20
- package/node/esm/Dy6UD7hQRBsT0WNp.mjs +0 -304
- package/types/src/financial/Financial.d.ts +0 -288
- package/types/src/financial/Financial2.d.ts +0 -99
- package/types/src/financial/Financial3.d.ts +0 -95
- package/types/src/financial/Financial4.d.ts +0 -82
- package/types/src/financial/ODD.d.ts +0 -106
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { AcceptError, Scalar, Omittable, NoLift } from '@sheetxl/primitives';
|
|
2
|
+
/**
|
|
3
|
+
* Returns the discount rate for a security.
|
|
4
|
+
* @param settlement is the security's settlement date, expressed as a serial date number.
|
|
5
|
+
* @param maturity is the security's maturity date, expressed as a serial date number.
|
|
6
|
+
* @param pr is the security's price per $100 face value.
|
|
7
|
+
* @param redemption is the security's redemption value per $100 face value.
|
|
8
|
+
* @param basis is the type of day count basis to use.
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* `(1 − pr/redemption)` over YEARFRAC's year fraction of the two dates — the signed NASD count
|
|
12
|
+
* at basis 0, the 365/366 rules at basis 1 — measured against Excel 16.0 (fn-battery
|
|
13
|
+
* financial/DISC, 2026-08-28); a price above the redemption is a negative rate, and a
|
|
14
|
+
* zero-day 30/360 span (Mar 30 → Mar 31) is #NUM!. The arguments read as
|
|
15
|
+
* {@link readDiscountArgs} describes.
|
|
16
|
+
*/
|
|
17
|
+
export declare function DISC(settlement: NoLift<Omittable<AcceptError<Scalar>>>, maturity: NoLift<Omittable<AcceptError<Scalar>>>, pr: NoLift<Omittable<AcceptError<Scalar>>>, redemption: NoLift<Omittable<AcceptError<Scalar>>>, basis?: NoLift<Omittable<AcceptError<Scalar>>>): number;
|
|
18
|
+
/**
|
|
19
|
+
* Returns the price per $100 face value of a discounted security.
|
|
20
|
+
* @param settlement is the security's settlement date, expressed as a serial date number.
|
|
21
|
+
* @param maturity is the security's maturity date, expressed as a serial date number.
|
|
22
|
+
* @param discount is the security's discount rate.
|
|
23
|
+
* @param redemption is the amount to be received at maturity.
|
|
24
|
+
* @param basis is the type of day count basis to use.
|
|
25
|
+
*
|
|
26
|
+
* @remarks
|
|
27
|
+
* `redemption − discount · redemption · yearfrac` with YEARFRAC's year fraction, measured
|
|
28
|
+
* against Excel 16.0 (fn-battery financial/PRICEDISC, 2026-08-28): a discount that exhausts
|
|
29
|
+
* the redemption gives a negative price, and the product overflowing is #NUM!. The arguments
|
|
30
|
+
* read as {@link readDiscountArgs} describes.
|
|
31
|
+
*/
|
|
32
|
+
export declare function PRICEDISC(settlement: NoLift<Omittable<AcceptError<Scalar>>>, maturity: NoLift<Omittable<AcceptError<Scalar>>>, discount: NoLift<Omittable<AcceptError<Scalar>>>, redemption: NoLift<Omittable<AcceptError<Scalar>>>, basis?: NoLift<Omittable<AcceptError<Scalar>>>): number;
|
|
33
|
+
/**
|
|
34
|
+
* Returns the annual yield for a discounted security. For example, a treasury bill.
|
|
35
|
+
* @param settlement is the security's settlement date, expressed as a serial date number.
|
|
36
|
+
* @param maturity is the security's maturity date, expressed as a serial date number.
|
|
37
|
+
* @param pr is the security's price per $100 face value.
|
|
38
|
+
* @param redemption is the security's redemption value per $100 face value.
|
|
39
|
+
* @param basis is the type of day count basis to use.
|
|
40
|
+
*
|
|
41
|
+
* @remarks
|
|
42
|
+
* `(redemption − pr)/pr` over YEARFRAC's year fraction, measured against Excel 16.0 (fn-battery
|
|
43
|
+
* financial/YIELDDISC, 2026-08-28); a price above the redemption is a negative yield. The
|
|
44
|
+
* arguments read as {@link readDiscountArgs} describes.
|
|
45
|
+
*/
|
|
46
|
+
export declare function YIELDDISC(settlement: NoLift<Omittable<AcceptError<Scalar>>>, maturity: NoLift<Omittable<AcceptError<Scalar>>>, pr: NoLift<Omittable<AcceptError<Scalar>>>, redemption: NoLift<Omittable<AcceptError<Scalar>>>, basis?: NoLift<Omittable<AcceptError<Scalar>>>): number;
|
|
47
|
+
/**
|
|
48
|
+
* Returns the interest rate for a fully invested security.
|
|
49
|
+
* @param settlement is the security's settlement date, expressed as a serial date number.
|
|
50
|
+
* @param maturity is the security's maturity date, expressed as a serial date number.
|
|
51
|
+
* @param investment is the amount invested in the security.
|
|
52
|
+
* @param redemption is the amount to be received at maturity.
|
|
53
|
+
* @param basis is the type of day count basis to use.
|
|
54
|
+
*
|
|
55
|
+
* @remarks
|
|
56
|
+
* `(redemption − investment)/investment` over YEARFRAC's year fraction, measured against Excel 16.0
|
|
57
|
+
* (fn-battery financial/INTRATE, 2026-08-28); a redemption below the investment is a negative
|
|
58
|
+
* rate. The arguments read as {@link readDiscountArgs} describes.
|
|
59
|
+
*/
|
|
60
|
+
export declare function INTRATE(settlement: NoLift<Omittable<AcceptError<Scalar>>>, maturity: NoLift<Omittable<AcceptError<Scalar>>>, investment: NoLift<Omittable<AcceptError<Scalar>>>, redemption: NoLift<Omittable<AcceptError<Scalar>>>, basis?: NoLift<Omittable<AcceptError<Scalar>>>): number;
|
|
61
|
+
/**
|
|
62
|
+
* Returns the amount received at maturity for a fully invested security.
|
|
63
|
+
* @param settlement is the security's settlement date, expressed as a serial date number.
|
|
64
|
+
* @param maturity is the security's maturity date, expressed as a serial date number.
|
|
65
|
+
* @param investment is the amount invested in the security.
|
|
66
|
+
* @param discount is the security's discount rate.
|
|
67
|
+
* @param basis is the type of day count basis to use.
|
|
68
|
+
*
|
|
69
|
+
* @remarks
|
|
70
|
+
* `investment / (1 − discount · yearfrac)` with YEARFRAC's year fraction, measured against
|
|
71
|
+
* Excel 16.0 (fn-battery financial/RECEIVED, 2026-08-28); a denominator at or below zero (a
|
|
72
|
+
* discount of 4 over a 90/360 quarter) is #NUM!. The arguments read as
|
|
73
|
+
* {@link readDiscountArgs} describes.
|
|
74
|
+
*/
|
|
75
|
+
export declare function RECEIVED(settlement: NoLift<Omittable<AcceptError<Scalar>>>, maturity: NoLift<Omittable<AcceptError<Scalar>>>, investment: NoLift<Omittable<AcceptError<Scalar>>>, discount: NoLift<Omittable<AcceptError<Scalar>>>, basis?: NoLift<Omittable<AcceptError<Scalar>>>): number;
|
|
76
|
+
/**
|
|
77
|
+
* Returns the price per $100 face value of a security that pays interest at maturity.
|
|
78
|
+
* @param settlement is the security's settlement date, expressed as a serial date number.
|
|
79
|
+
* @param maturity is the security's maturity date, expressed as a serial date number.
|
|
80
|
+
* @param issue is the security's issue date, expressed as a serial date number.
|
|
81
|
+
* @param rate is the interest rate.
|
|
82
|
+
* @param yld is the security's annual yield.
|
|
83
|
+
* @param basis is the type of day count basis to use.
|
|
84
|
+
*
|
|
85
|
+
* @remarks
|
|
86
|
+
* The doc's `(100 + DIM/B·rate·100) / (1 + DSM/B·yld) − A/B·rate·100`, measured against Excel
|
|
87
|
+
* 16.0 (fn-battery financial/PRICEMAT, 2026-08-28) with the counts {@link readMatArgs}
|
|
88
|
+
* describes (DSM is `DIM − A`); a coupon term that overflows is 0, so a rate of 1E307 prices
|
|
89
|
+
* the redemption alone.
|
|
90
|
+
*/
|
|
91
|
+
export declare function PRICEMAT(settlement: NoLift<Omittable<AcceptError<Scalar>>>, maturity: NoLift<Omittable<AcceptError<Scalar>>>, issue: NoLift<Omittable<AcceptError<Scalar>>>, rate: NoLift<Omittable<AcceptError<Scalar>>>, yld: NoLift<Omittable<AcceptError<Scalar>>>, basis?: NoLift<Omittable<AcceptError<Scalar>>>): number;
|
|
92
|
+
/**
|
|
93
|
+
* Returns the annual yield of a security that pays interest at maturity.
|
|
94
|
+
* @param settlement is the security's settlement date, expressed as a serial date number.
|
|
95
|
+
* @param maturity is the security's maturity date, expressed as a serial date number.
|
|
96
|
+
* @param issue is the security's issue date, expressed as a serial date number.
|
|
97
|
+
* @param rate is the interest rate.
|
|
98
|
+
* @param pr is the security's price per $100 face value.
|
|
99
|
+
* @param basis is the type of day count basis to use.
|
|
100
|
+
*
|
|
101
|
+
* @remarks
|
|
102
|
+
* PRICEMAT inverted in closed form, `((1 + DIM/B·rate) / (pr/100 + A/B·rate) − 1) / (DSM/B)`,
|
|
103
|
+
* measured against Excel 16.0 (fn-battery financial/YIELDMAT, 2026-08-28) with the counts
|
|
104
|
+
* {@link readMatArgs} describes.
|
|
105
|
+
*/
|
|
106
|
+
export declare function YIELDMAT(settlement: NoLift<Omittable<AcceptError<Scalar>>>, maturity: NoLift<Omittable<AcceptError<Scalar>>>, issue: NoLift<Omittable<AcceptError<Scalar>>>, rate: NoLift<Omittable<AcceptError<Scalar>>>, pr: NoLift<Omittable<AcceptError<Scalar>>>, basis?: NoLift<Omittable<AcceptError<Scalar>>>): number;
|
|
107
|
+
//# sourceMappingURL=SecurityMaturity.d.ts.map
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { AcceptError, Scalar, Omittable, NoLift } from '@sheetxl/primitives';
|
|
2
|
+
/**
|
|
3
|
+
* Returns the price per $100 face value for a treasury bill.
|
|
4
|
+
* @param settlement is the Treasury bill's settlement date, expressed as a serial date number.
|
|
5
|
+
* @param maturity is the Treasury bill's maturity date, expressed as a serial date number.
|
|
6
|
+
* @param discount is the Treasury bill's discount rate.
|
|
7
|
+
*
|
|
8
|
+
* @remarks
|
|
9
|
+
* `100·(1 − discount·days/360)`, measured against Excel 16.0 (fn-battery financial/TBILLPRICE,
|
|
10
|
+
* 2026-08-28): a negative price is #NUM!, and a `discount·days` that overflows is 0 (a price of
|
|
11
|
+
* 100). The arguments read as {@link readTbillArgs} describes.
|
|
12
|
+
*/
|
|
13
|
+
export declare function TBILLPRICE(settlement: NoLift<Omittable<AcceptError<Scalar>>>, maturity: NoLift<Omittable<AcceptError<Scalar>>>, discount: NoLift<Omittable<AcceptError<Scalar>>>): number;
|
|
14
|
+
/**
|
|
15
|
+
* Returns the yield for a treasury bill.
|
|
16
|
+
* @param settlement is the Treasury bill's settlement date, expressed as a serial date number.
|
|
17
|
+
* @param maturity is the Treasury bill's maturity date, expressed as a serial date number.
|
|
18
|
+
* @param pr is the Treasury Bill's price per $100 face value.
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* `(100 − pr)/pr · 360/days`, measured against Excel 16.0 (fn-battery financial/TBILLYIELD,
|
|
22
|
+
* 2026-08-28); a price above 100 is a negative yield. The arguments read as
|
|
23
|
+
* {@link readTbillArgs} describes.
|
|
24
|
+
*/
|
|
25
|
+
export declare function TBILLYIELD(settlement: NoLift<Omittable<AcceptError<Scalar>>>, maturity: NoLift<Omittable<AcceptError<Scalar>>>, pr: NoLift<Omittable<AcceptError<Scalar>>>): number;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the bond-equivalent yield for a treasury bill.
|
|
28
|
+
* @param settlement is the Treasury bill's settlement date, expressed as a serial date number.
|
|
29
|
+
* @param maturity is the Treasury bill's maturity date, expressed as a serial date number.
|
|
30
|
+
* @param discount is the Treasury bill's discount rate.
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Measured against Excel 16.0 (fn-battery financial/TBILLEQ, 2026-08-28). Through 182 days the
|
|
34
|
+
* doc's `365·discount / (360 − discount·days)`; from 183 days the Treasury's bond-equivalent
|
|
35
|
+
* quadratic on the discounted price, over a 365-day year — 366 for a 366-day span. A
|
|
36
|
+
* denominator at or below zero is #NUM!; a product that overflows is 0. The arguments read as
|
|
37
|
+
* {@link readTbillArgs} describes.
|
|
38
|
+
*/
|
|
39
|
+
export declare function TBILLEQ(settlement: NoLift<Omittable<AcceptError<Scalar>>>, maturity: NoLift<Omittable<AcceptError<Scalar>>>, discount: NoLift<Omittable<AcceptError<Scalar>>>): number;
|
|
40
|
+
//# sourceMappingURL=TBill.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Returns the depreciation of an asset for any period you specify, including partial periods, using the double-declining balance method or some other method you specify.
|
|
3
3
|
* @param cost is the initial cost of the asset.
|
|
4
4
|
* @param salvage is the salvage value at the end of the life of the asset.
|
|
5
5
|
* @param life is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).
|
|
@@ -9,19 +9,21 @@
|
|
|
9
9
|
* @param noSwitch switch to straight-line depreciation when depreciation is greater than the declining balance = FALSE; do not switch = TRUE.
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
|
-
*
|
|
13
|
-
* some other method you specify.
|
|
12
|
+
* Measured against Excel 16.0 (fn-battery financial/VDB and `adhoc-vdb-clamp`, 2026-08-28).
|
|
14
13
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* • supporting any factor (not just 2)
|
|
18
|
-
* • optionally switching to straight-line when SL > DDB (noSwitch=FALSE)
|
|
14
|
+
* `no_switch = TRUE` is DDB period by period from the original cost, the first and last periods
|
|
15
|
+
* pro-rated by the fraction of them inside the window.
|
|
19
16
|
*
|
|
20
|
-
* The `
|
|
21
|
-
*
|
|
22
|
-
*
|
|
17
|
+
* With the switch, Excel runs two passes. The first walks from 0 to `start` to find the balance
|
|
18
|
+
* there — the FRACTIONAL part of `start` first (a partial period charged as `raw·fraction`,
|
|
19
|
+
* clamped at salvage and never negative), then whole periods with the straight-line switch, each
|
|
20
|
+
* period's straight line measured against the life remaining at that point (so a start of 2.5
|
|
21
|
+
* or 6.5 switches on the same `[1.5, 2.5]` period). The second pass depreciates that balance over
|
|
22
|
+
* `end − start` periods with a remaining life of `life − start`, each period's declining-balance
|
|
23
|
+
* charge clamped at salvage (then pro-rated if partial), switching to straight-line when that is
|
|
24
|
+
* larger. The second pass is NOT floored at zero: an asset already below salvage is written UP
|
|
25
|
+
* to it in its first period (VDB(300,2400,10,0,1) is −2100), which is also why a whole-period
|
|
26
|
+
* start on such an asset is 0 — the first pass has already moved the balance to salvage.
|
|
23
27
|
*/
|
|
24
|
-
export declare function VDB(cost: number, salvage: number, life: number, startPeriod: number,
|
|
25
|
-
endPeriod: number, // date
|
|
26
|
-
factor?: number, noSwitch?: boolean): number;
|
|
28
|
+
export declare function VDB(cost: number, salvage: number, life: number, startPeriod: number, endPeriod: number, factor?: number, noSwitch?: boolean): number;
|
|
27
29
|
//# sourceMappingURL=VDB.d.ts.map
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { IRange, Scalar } from '@sheetxl/primitives';
|
|
1
|
+
import { IRange, Scalar, Omittable } from '@sheetxl/primitives';
|
|
2
2
|
/**
|
|
3
|
+
* Returns the forecasted value for a specific future target date using exponential smoothing method.
|
|
3
4
|
* @name FORECAST.ETS
|
|
4
|
-
* @summary Returns the forecasted value for a specific future target date using exponential smoothing method.
|
|
5
5
|
* @param targetDate is the data point for which you want to predict a value. It should carry on the pattern of values in the timeline.
|
|
6
6
|
* @param values is the array or range of numeric data you're predicting.
|
|
7
7
|
* @param timeline is the independent array or range of numeric data. The dates in the timeline must have a consistent step between them and can't be zero.
|
|
8
8
|
* @param seasonality [1] 0 = no seasonality; 1 = auto-detect; any integer > 1 = explicit seasonal period.
|
|
9
9
|
* @param dataCompletion [1] 1 = interpolate missing values; 0 = fill with zeros.
|
|
10
|
-
* @param aggregation [1] Aggregation method for duplicate timestamps: 1=Average, 2=Count, 3=
|
|
10
|
+
* @param aggregation [1] Aggregation method for duplicate timestamps: 1=Average, 2=Count, 3=CountA, 4=Max, 5=Median, 6=Min, 7=Sum.
|
|
11
11
|
*/
|
|
12
|
-
export declare function FORECAST_ETS(targetDate: number, values: IRange, timeline: IRange, seasonality?: number
|
|
12
|
+
export declare function FORECAST_ETS(targetDate: number, values: IRange, timeline: IRange, seasonality?: Omittable<number>, dataCompletion?: Omittable<number>, aggregation?: Omittable<number>): Scalar;
|
|
13
13
|
/**
|
|
14
|
+
* Returns a confidence interval for the forecasted value at the specified target date.
|
|
14
15
|
* @name FORECAST.ETS.CONFINT
|
|
15
|
-
* @summary Returns a confidence interval for the forecasted value at the specified target date.
|
|
16
16
|
* @param targetDate is the data point for which you want to predict a value. It should carry on the pattern of values in the timeline.
|
|
17
17
|
* @param values is the array or range of numeric data you're predicting.
|
|
18
18
|
* @param timeline is the independent array or range of numeric data. The dates in the timeline must have a consistent step between them and can't be zero.
|
|
19
19
|
* @param confidenceLevel [0.95] Confidence probability, must be strictly between 0 and 1.
|
|
20
20
|
* @param seasonality [1] 0 = no seasonality; 1 = auto-detect; any integer > 1 = explicit seasonal period.
|
|
21
21
|
* @param dataCompletion [1] 1 = interpolate missing values; 0 = fill with zeros.
|
|
22
|
-
* @param aggregation [1] Aggregation method for duplicate timestamps: 1=Average, 2=Count, 3=
|
|
22
|
+
* @param aggregation [1] Aggregation method for duplicate timestamps: 1=Average, 2=Count, 3=CountA, 4=Max, 5=Median, 6=Min, 7=Sum.
|
|
23
23
|
*/
|
|
24
|
-
export declare function FORECAST_ETS_CONFINT(targetDate: number, values: IRange, timeline: IRange, confidenceLevel?: number
|
|
24
|
+
export declare function FORECAST_ETS_CONFINT(targetDate: number, values: IRange, timeline: IRange, confidenceLevel?: Omittable<number>, seasonality?: Omittable<number>, dataCompletion?: Omittable<number>, aggregation?: Omittable<number>): Scalar;
|
|
25
25
|
/**
|
|
26
|
+
* Returns the length of the repetitive pattern in the data for the specific time series.
|
|
26
27
|
* @name FORECAST.ETS.SEASONALITY
|
|
27
|
-
* @summary Returns the length of the repetitive pattern in the data for the specific time series.
|
|
28
28
|
* @param values is the array or range of numeric data you're predicting.
|
|
29
29
|
* @param timeline is the independent array or range of numeric data. The dates in the timeline must have a consistent step between them and can't be zero.
|
|
30
30
|
* @param dataCompletion [1] 1 = interpolate missing values; 0 = fill with zeros.
|
|
31
|
-
* @param aggregation [1] Aggregation method for duplicate timestamps: 1=Average, 2=Count, 3=
|
|
31
|
+
* @param aggregation [1] Aggregation method for duplicate timestamps: 1=Average, 2=Count, 3=CountA, 4=Max, 5=Median, 6=Min, 7=Sum.
|
|
32
32
|
*/
|
|
33
|
-
export declare function FORECAST_ETS_SEASONALITY(values: IRange, timeline: IRange, dataCompletion?: number
|
|
33
|
+
export declare function FORECAST_ETS_SEASONALITY(values: IRange, timeline: IRange, dataCompletion?: Omittable<number>, aggregation?: Omittable<number>): Scalar;
|
|
34
34
|
/**
|
|
35
|
+
* Returns a requested statistic for the ETS forecast model.
|
|
35
36
|
* @name FORECAST.ETS.STAT
|
|
36
|
-
* @summary Returns a requested statistic for the ETS forecast model.
|
|
37
37
|
* @param values is the array or range of numeric data you're predicting.
|
|
38
38
|
* @param timeline is the independent array or range of numeric data.
|
|
39
39
|
* @param statisticType 1=Alpha, 2=Beta (trend smoothing), 3=Gamma (seasonal smoothing), 4=MASE, 5=SMAPE, 6=MAE, 7=RMSE, 8=Step size.
|
|
40
40
|
* @param seasonality [1] 0 = no seasonality; 1 = auto-detect; any integer > 1 = explicit seasonal period.
|
|
41
41
|
* @param dataCompletion [1] 1 = interpolate missing values; 0 = fill with zeros.
|
|
42
|
-
* @param aggregation [1] Aggregation method for duplicate timestamps: 1=Average, 2=Count, 3=
|
|
42
|
+
* @param aggregation [1] Aggregation method for duplicate timestamps: 1=Average, 2=Count, 3=CountA, 4=Max, 5=Median, 6=Min, 7=Sum.
|
|
43
43
|
*/
|
|
44
|
-
export declare function FORECAST_ETS_STAT(values: IRange, timeline: IRange, statisticType: number, seasonality?: number
|
|
45
|
-
//# sourceMappingURL=
|
|
44
|
+
export declare function FORECAST_ETS_STAT(values: IRange, timeline: IRange, statisticType: number, seasonality?: Omittable<number>, dataCompletion?: Omittable<number>, aggregation?: Omittable<number>): Scalar;
|
|
45
|
+
//# sourceMappingURL=Ets.d.ts.map
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Scalar, IRange, Omittable, ReportType, NoLift } from '@sheetxl/primitives';
|
|
2
|
+
import { RegressionData } from '../_utils/LeastSquares';
|
|
2
3
|
/**
|
|
3
|
-
*
|
|
4
|
-
* evaluate it at new x-values, and LOGEST / GROWTH are the linear pair run on `ln(y)`.
|
|
5
|
-
*
|
|
6
|
-
* All four share `_utils/LeastSquares.ts` — the known_y/known_x/new_x shape rules, the
|
|
7
|
-
* rank-deficient QR solve, and the `stats` grid.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @summary Returns statistics that describe a linear trend matching known data points, by fitting a straight line using the least squares method.
|
|
4
|
+
* Returns statistics that describe a linear trend matching known data points, by fitting a straight line using the least squares method.
|
|
11
5
|
* @param knownYs is the set of y-values you already know in the relationship y = mx + b.
|
|
12
6
|
* @param knownXs is an optional set of x-values that you may already know in the relationship y = mx + b.
|
|
13
7
|
* @param constant is a logical value: the constant b is calculated normally if Const = TRUE; b is set equal to 0 if Const = FALSE.
|
|
@@ -15,9 +9,9 @@ import { FormulaError, Scalar, IRange, Omittable } from '@sheetxl/primitives';
|
|
|
15
9
|
*
|
|
16
10
|
* @remarks {@link https://support.microsoft.com/en-us/office/linest-function-84d7d0d9-6e50-4101-977a-fa7abf772b6d|Docs}
|
|
17
11
|
*/
|
|
18
|
-
export declare function LINEST(knownYs: IRange, knownXs?: Omittable<IRange
|
|
12
|
+
export declare function LINEST(knownYs: IRange, knownXs?: ReportType<Omittable<IRange>>, constant?: Omittable<ReportType<NoLift<boolean>>>, stats?: Omittable<ReportType<NoLift<boolean>>>): Scalar[][];
|
|
19
13
|
/**
|
|
20
|
-
*
|
|
14
|
+
* Returns statistics that describe an exponential curve matching known data points.
|
|
21
15
|
* @param knownYs is the set of y-values you already know in the relationship y = b*m^x.
|
|
22
16
|
* @param knownXs is an optional set of x-values that you may already know in the relationship y = b*m^x.
|
|
23
17
|
* @param constant is a logical value: the constant b is calculated normally if Const = TRUE; b is set equal to 1 if Const = FALSE.
|
|
@@ -25,25 +19,26 @@ export declare function LINEST(knownYs: IRange, knownXs?: Omittable<IRange>, con
|
|
|
25
19
|
*
|
|
26
20
|
* @remarks {@link https://support.microsoft.com/en-us/office/logest-function-f27462d8-3657-4030-866b-a272c1d18b4b|Docs}
|
|
27
21
|
*/
|
|
28
|
-
export declare function LOGEST(knownYs: IRange, knownXs?: Omittable<IRange
|
|
22
|
+
export declare function LOGEST(knownYs: IRange, knownXs?: ReportType<Omittable<IRange>>, constant?: Omittable<ReportType<NoLift<boolean>>>, stats?: Omittable<ReportType<NoLift<boolean>>>): Scalar[][];
|
|
29
23
|
/**
|
|
30
|
-
*
|
|
24
|
+
* Returns values along a linear trend fitted to known data points.
|
|
31
25
|
* @param knownYs The known y-values in the relationship y = mx + b.
|
|
32
26
|
* @param knownXs Optional x-values. Defaults to {1,2,3,...,n}.
|
|
33
27
|
* @param newXs The x-values for which to predict y. Defaults to knownX.
|
|
34
|
-
* @param
|
|
28
|
+
* @param constant If FALSE, forces the constant b to zero. Defaults to TRUE.
|
|
35
29
|
*
|
|
36
30
|
* @remarks {@link https://support.microsoft.com/en-us/office/trend-function-e2f135f0-8827-4096-9873-9a7cf7b51ef1|Docs}
|
|
37
31
|
*/
|
|
38
|
-
export declare function TREND(knownYs: IRange, knownXs?: Omittable<IRange
|
|
32
|
+
export declare function TREND(knownYs: IRange, knownXs?: ReportType<Omittable<IRange>>, newXs?: Omittable<IRange>, constant?: Omittable<ReportType<NoLift<boolean>>>): Scalar[][];
|
|
39
33
|
/**
|
|
40
|
-
*
|
|
34
|
+
* Returns numbers in an exponential growth trend matching known data points.
|
|
41
35
|
* @param knownYs is the set of y-values you already know in the relationship y = b*m^x, an array or range of positive numbers.
|
|
42
36
|
* @param knownXs is an optional set of x-values that you may already know in the relationship y = b*m^x, an array or range the same size as Known_y's.
|
|
43
37
|
* @param newXs are new x-values for which you want GROWTH to return corresponding y-values.
|
|
44
|
-
* @param
|
|
38
|
+
* @param constant is a logical value: the constant b is calculated normally if Const = TRUE; b is set equal to 1 if Const = FALSE.
|
|
45
39
|
*
|
|
46
40
|
* @remarks {@link https://support.microsoft.com/en-us/office/growth-function-541a91dc-3d5e-437d-b156-21324e68b80d|Docs}
|
|
47
41
|
*/
|
|
48
|
-
export declare function GROWTH(knownYs: IRange, knownXs?: Omittable<IRange
|
|
42
|
+
export declare function GROWTH(knownYs: IRange, knownXs?: ReportType<Omittable<IRange>>, newXs?: Omittable<IRange>, constant?: Omittable<ReportType<NoLift<boolean>>>): Scalar[][];
|
|
43
|
+
export type { RegressionData };
|
|
49
44
|
//# sourceMappingURL=Regression.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IRange } from '@sheetxl/primitives';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Returns the probability associated with a Student's t-Test.
|
|
4
4
|
* @param array1 is the first data set.
|
|
5
5
|
* @param array2 is the second data set.
|
|
6
6
|
* @param tails specifies the number of distribution tails to return: one-tailed distribution = 1; two-tailed distribution = 2.
|
|
@@ -10,10 +10,10 @@ import { IRange } from '@sheetxl/primitives';
|
|
|
10
10
|
* @remarks
|
|
11
11
|
* {@link https://support.microsoft.com/en-us/office/t-test-function-d4e08ec3-c545-485f-962e-276f7cbed055|Docs}
|
|
12
12
|
*/
|
|
13
|
-
export declare function TTEST(array1: IRange
|
|
13
|
+
export declare function TTEST(array1: IRange, array2: IRange, tails: number, type: number): number;
|
|
14
14
|
/**
|
|
15
|
+
* Returns the probability associated with a Student's t-Test.
|
|
15
16
|
* @name T.TEST
|
|
16
|
-
* @summary Returns the probability associated with a Student's t-Test.
|
|
17
17
|
* @param array1 is the first data set.
|
|
18
18
|
* @param array2 is the second data set.
|
|
19
19
|
* @param tails specifies the number of distribution tails to return: one-tailed distribution = 1; two-tailed distribution = 2.
|
|
@@ -23,5 +23,5 @@ export declare function TTEST(array1: IRange<number>, array2: IRange<number>, ta
|
|
|
23
23
|
* @remarks
|
|
24
24
|
* {@link https://support.microsoft.com/en-us/office/t-test-function-d4e08ec3-c545-485f-962e-276f7cbed055|Docs}
|
|
25
25
|
*/
|
|
26
|
-
export declare function T_TEST(array1: IRange
|
|
27
|
-
//# sourceMappingURL=
|
|
26
|
+
export declare function T_TEST(array1: IRange, array2: IRange, tails: number, type: number): number;
|
|
27
|
+
//# sourceMappingURL=TTest.d.ts.map
|
|
@@ -1,34 +1,57 @@
|
|
|
1
1
|
import { IRange, Scalar } from '@sheetxl/primitives';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Extracts substrings of 'text' based on the provided REGEX 'pattern'.
|
|
4
4
|
* @param text is the text string from which you want to extract characters.
|
|
5
5
|
* @param pattern The regular expression to be applied.
|
|
6
6
|
* @param returnMode Specify which matches to return.
|
|
7
|
-
* @param
|
|
7
|
+
* @param caseSensitivity Whether the match is case sensitive (0) or insensitive (1).
|
|
8
|
+
*
|
|
9
|
+
* @remarks
|
|
10
|
+
* `returnMode` is three functions in one slot: the first match (0), every match (1), or the
|
|
11
|
+
* capture groups of the first match (2). It is truncated before it is read, so 1.5 is 1, and
|
|
12
|
+
* anything else is #VALUE!. Modes 1 and 2 both spill across a row. A pattern that matches nothing
|
|
13
|
+
* is #N/A, and asking mode 2 of a pattern with no capture groups is #VALUE! whether or not it
|
|
14
|
+
* would have matched.
|
|
8
15
|
*/
|
|
9
|
-
export declare function REGEXEXTRACT(text: string, pattern: string, returnMode?: number,
|
|
16
|
+
export declare function REGEXEXTRACT(text: string, pattern: string, returnMode?: number, caseSensitivity?: number): IRange | Scalar;
|
|
10
17
|
/**
|
|
11
|
-
*
|
|
18
|
+
* Tests whether a text string matches a regular expression.
|
|
12
19
|
* @param text is the text string to be tested against the regular expression.
|
|
13
20
|
* @param regularExpression The regular expression to test the text against.
|
|
14
21
|
* @param caseInsensitive Whether the match is case insensitive.
|
|
15
22
|
* @category Sheets
|
|
23
|
+
*
|
|
24
|
+
* @remarks
|
|
25
|
+
* The Google Sheets spelling of {@link REGEXTEST}; Excel has no such function, so this keeps
|
|
26
|
+
* Sheets' signature, whose third argument is a boolean rather than Excel's 0-or-1 number. The
|
|
27
|
+
* pattern language is the one the Excel REGEX functions use.
|
|
16
28
|
*/
|
|
17
29
|
export declare function REGEXMATCH(text: string, regularExpression: string, caseInsensitive?: boolean): Scalar;
|
|
18
30
|
/**
|
|
19
|
-
*
|
|
31
|
+
* Returns 'text', with 'replacement' in place of matches with 'pattern'.
|
|
20
32
|
* @param text is the text string from which you want to extract characters.
|
|
21
33
|
* @param pattern The regular expression to be applied.
|
|
22
34
|
* @param replacement The replacement string.
|
|
23
|
-
* @param occurrence
|
|
24
|
-
* @param
|
|
35
|
+
* @param occurrence Which match to replace; 0 replaces them all and a negative counts from the end.
|
|
36
|
+
* @param caseSensitivity Whether the match is case sensitive (0) or insensitive (1).
|
|
37
|
+
*
|
|
38
|
+
* @remarks
|
|
39
|
+
* `occurrence` is truncated toward zero — 1.9 is the first match, and 0.9 is the zero that means
|
|
40
|
+
* all of them — and a negative counts from the end, so −1 is the last. Matches never overlap, so
|
|
41
|
+
* the second `aa` of `aaaa` starts at position 3. In `replacement`, `$0` and `$&` are both the
|
|
42
|
+
* whole match, `$1` / `${1}` / `\1` are group references, and a reference to a group that does not
|
|
43
|
+
* exist is #VALUE! rather than literal text.
|
|
25
44
|
*/
|
|
26
|
-
export declare function REGEXREPLACE(text: string, pattern: string, replacement: string, occurrence?: number,
|
|
45
|
+
export declare function REGEXREPLACE(text: string, pattern: string, replacement: string, occurrence?: number, caseSensitivity?: number): Scalar;
|
|
27
46
|
/**
|
|
28
|
-
*
|
|
47
|
+
* Checks whether the input matches the pattern, and returns TRUE or FALSE.
|
|
29
48
|
* @param text is the text string to be checked.
|
|
30
49
|
* @param pattern is the regular expression to be applied.
|
|
31
|
-
* @param
|
|
50
|
+
* @param caseSensitivity Whether the match is case sensitive (0) or insensitive (1).
|
|
51
|
+
*
|
|
52
|
+
* @remarks
|
|
53
|
+
* `caseSensitivity` is a number rather than a boolean: 0 is sensitive and 1 is not, it is
|
|
54
|
+
* truncated first, and anything else — 2, a negative, a huge value, non-numeric text — is #VALUE!.
|
|
32
55
|
*/
|
|
33
|
-
export declare function REGEXTEST(text: string, pattern: string,
|
|
56
|
+
export declare function REGEXTEST(text: string, pattern: string, caseSensitivity?: number): Scalar;
|
|
34
57
|
//# sourceMappingURL=RegEx.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports.default={AMORDEGRC:{s:`Returns the depreciation for each accounting period using a`,p:{cost:{d:`is the cost of the asset.`},datePurchased:{d:`is the date the asset is purchased.`},firstPeriod:{d:`is the date of the end of the first period.`},salvage:{d:`is the salvage value at the end of life of the asset.`},period:{d:`is the period.`},rate:{d:`is the depreciation rate.`},basis:{d:`is the type of day count basis to use.`}}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports.default={COUPDAYBS:{s:`Returns the number of days from the beginning of the coupon period to the settlement date.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},frequency:{d:`is the number of coupon payments per year.`},basis:{d:`is the type of day count basis to use.`}}},COUPDAYS:{s:`Returns the number of days in the coupon period containing the settlement date.`,p:{settlement:{d:`Settlement date number number.`},maturity:{d:`Maturity date number number.`},frequency:{d:`Coupons per year: 1, 2, or 4.`},basis:{d:`Day-count basis (0–4). Default 0.`}}},COUPDAYSNC:{s:`Returns the number of days from the settlement date to the next coupon date.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},frequency:{d:`is the number of coupon payments per year.`},basis:{d:`is the type of day count basis to use.`}}},COUPNCD:{s:`Returns the number of days from the beginning of the coupon period to the settlement date.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},frequency:{d:`is the number of coupon payments per year.`},basis:{d:`is the type of day count basis to use.`}}},COUPPCD:{s:`Returns the previous coupon date before the settlement date.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},frequency:{d:`is the number of coupon payments per year.`},basis:{d:`is the type of day count basis to use.`}}},COUPNUM:{s:`Returns the number of coupons payable between the settlement date and maturity date.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},frequency:{d:`is the number of coupon payments per year.`},basis:{d:`is the type of day count basis to use.`}}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports.default={COUPDAYS:{s:`Returns the number of days from the beginning of the coupon period to the settlement date.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},frequency:{d:`is the number of coupon payments per year.`},basis:{d:`is the type of day count basis to use.`}}},CUMIPMT:{s:`Returns the cumulative interest paid between two periods.`,p:{rate:{d:`is the interest rate.`},nper:{d:`is the total number of payment periods.`},pv:{d:`is the present value of the investment.`},startPeriod:{d:`is the first period in the calculation.`},endPeriod:{d:`is the last period in the calculation.`},type:{d:`is the timing of the payment.`}}},CUMPRINC:{s:`Returns the cumulative principal paid on a loan between two periods.`,p:{rate:{d:`is the interest rate.`},nper:{d:`is the total number of payment periods.`},pv:{d:`is the present value of the investment.`},startPeriod:{d:`is the first period in the calculation.`},endPeriod:{d:`is the last period in the calculation.`},type:{d:`is the timing of the payment.`}}},DB:{s:`Returns the depreciation of an asset for a specified period using the fixed-declining balance method.`,p:{cost:{d:`is the initial cost of the asset.`},salvage:{d:`is the salvage value at the end of the life of the asset.`},life:{d:`is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).`},period:{d:`is the period for which you want to calculate the depreciation. Period must use the same units as Life.`},month:{d:`is the number of months in the first year.`}}},DDB:{s:`Returns the depreciation of an asset for a specified period using the double-declining balance method or some other method you specify.`,p:{cost:{d:`is the initial cost of the asset.`},salvage:{d:`is the salvage value at the end of the life of the asset.`},life:{d:`is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).`},period:{d:`is the period for which you want to calculate the depreciation. Period must use the same units as Life.`},factor:{d:`is the rate at which the balance declines.`}}},DISC:{s:`Returns the discount rate for a security.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},pr:{d:`is the security's price per $100 face value.`},redemption:{d:`is the security's redemption value per $100 face value.`},basis:{d:`is the type of day count basis to use.`}}},DOLLARDE:{s:`Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number.`,p:{fractionalDollar:{d:`is a number expressed as a fraction.`},fraction:{d:`is the integer to use in the denominator of the fraction.`}}},DOLLARFR:{s:`Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction.`,p:{decimalDollar:{d:`is a decimal number.`},fraction:{d:`is the integer to use in the denominator of the fraction.`}}},EFFECT:{s:`Returns the effective annual interest rate.`,p:{nominalRate:{d:`is the nominal interest rate.`},npery:{d:`is the number of compounding periods per year.`}}},FV:{s:`Returns the future value of an investment based on periodic, constant payments and a constant interest rate.`,p:{rate:{d:`is the interest rate.`},nper:{d:`is the total number of payment periods.`},pmt:{d:`is the payment made each period; it cannot change over the life of the investment.`},pv:{d:`is the present value of the investment.`},type:{d:`Indicates when pmts are due.`}}},FVSCHEDULE:{s:`Returns the future value of an initial principal after applying a series of compound interest rates.`,p:{principal:{d:`is the present value.`},schedule:{d:`is an array of interest rates to apply.`}}},IPMT:{s:`Returns the interest payment for a given period for an investment, based on periodic, constant payments and a constant interest rate.`,p:{rate:{d:`is the interest rate.`},per:{d:`is the period for which you want to find the interest and must be in the range 1 to Nper.`},nper:{d:`is the total number of payment periods.`},pv:{d:`is the present value of the investment.`},fv:{d:`is the future value, or a cash balance you want to attain after the last payment is made.`},type:{d:`is a logical value representing the timing of payment: at the end of the period = 0, at the beginning of the period = 1.`}}},IRR:{s:`Returns the internal rate of return for a series of cash flows.`,p:{values:{d:`is an array or a reference to cells that contain numbers for which you want to calculate the internal rate of return.`},guess:{d:`is a number that you guess is close to the result of IRR.`}}},ISPMT:{s:`Returns the interest paid during a specific period of an investment.`,p:{rate:{d:`is the interest rate.`},per:{d:`period for which you want to find the interest.`},nper:{d:`number of payment periods in an investment.`},pv:{d:`lump sum amount that a series of future payments is right now.`}}},MIRR:{s:`Returns the modified internal rate of return for a series of periodic cash flows.`,p:{values:{d:`An array of cash flows; must contain at least one positive and one negative value.`},financeRate:{d:`The interest rate paid on negative cash flows (cost of capital).`},reinvestRate:{d:`The interest rate received on positive cash flows (reinvestment rate).`}}},NOMINAL:{s:`Returns the annual nominal interest rate.`,p:{effectiveRate:{d:`is the effective interest rate.`},npery:{d:`is the number of compounding periods per year.`}}},NPER:{s:`Returns the number of periods for an investment based on periodic, constant payments and a constant interest rate.`,p:{rate:{d:`is the interest rate per period. For example, use 6%/4 for quarterly payments at 6% APR.`},pmt:{d:`is the payment made each period; it cannot change over the life of the investment.`},pv:{d:`is the present value, or the lump-sum amount that a series of future payments is worth now.`},fv:{d:`is the future value, or a cash balance you want to attain after the last payment is made.`},type:{d:`is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0.`}}},NPV:{s:`Returns the net present value of an investment based on a discount rate and a series of future payments (negative values) and income (positive values).`,p:{rate:{d:`is the rate of discount over the length of one period.`},value:{d:`are 1 to 254 payments and income, equally spaced in time and occurring at the end of each period.`}}},PDURATION:{s:`Returns the number of periods required by an investment to reach a specified value.`,p:{rate:{d:`is the interest rate.`},pv:{d:`is the present value of the investment.`},fv:{d:`is the desired future value of the investment.`}}},PMT:{s:`Calculates the payment for a loan based on constant payments and a constant interest rate.`,p:{rate:{d:`is the interest rate.`},nper:{d:`is the total number of payment periods.`},pv:{d:`is the present value of the investment.`},fv:{d:`is the future value, or a cash balance you want to attain after the last payment is made.`},type:{d:`is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0.`}}},PPMT:{s:`Returns the payment on the principal for a given investment based on periodic, constant payments and a constant payments and a constant interest rate.`,p:{rate:{d:`is the interest rate per period.`},per:{d:`is the period for which you want to find the principal payment and must be in the range 1 to Nper.`},nper:{d:`is the total number of payment periods in the investment.`},pv:{d:`is the present value of the investment.`},fv:{d:`is the future value, or a cash balance you want to attain after the last payment is made.`},type:{d:`is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0.`}}},PRICEDISC:{s:`Returns the price per $100 face value of a discounted security.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},discount:{d:`is the security's discount rate.`},redemption:{d:`is the amount to be received at maturity.`},basis:{d:`is the type of day count basis to use.`}}},PV:{s:`Returns the present value of an investment: the total amount that a series of future payments is worth now.`,p:{rate:{d:`is the interest rate.`},nper:{d:`is the total number of payment periods in an investment.`},pmt:{d:`is the payment made each period and cannot change over the life of the investment.`},fv:{d:`is the future value, or a cash balance you want to attain after the last payment is made.`},type:{d:`is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0.`}}},RATE:{s:`Returns the interest rate per period of a loan or an investment. For example, use 6%/4 for quarterly payments at 6% APR.`,p:{nper:{d:`is the total number of payment periods.`},pmt:{d:`is the payment made each period and cannot change over the life of the loan or investment.`},pv:{d:`is the present value: the total amount that a series of future payments is worth now.`},fv:{d:`is the future value, or a cash balance you want to attain after the last payment is made.`},type:{d:`is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0.`},guess:{d:`is your guess for what the rate will be.`}}},RRI:{s:`Returns an equivalent interest rate for the growth of an investment.`,p:{nper:{d:`is the total number of payment periods.`},pv:{d:`is the present value of the investment.`},fv:{d:`is the future value of the investment.`}}},SLN:{s:`Returns the straight-line depreciation of an asset for one period.`,p:{cost:{d:`is the initial cost of the asset.`},salvage:{d:`is the salvage value at the end of the life of the asset.`},life:{d:`is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).`}}},STOCKHISTORY:{s:`Returns an array of historical quote data for a symbol and date range you specify..`,p:{stock:{d:`Symbol of financial instrument to be considered or a Stock data type.`},startDate:{d:`First date to return data from.`},endDate:{d:`Last date to return data from.`},interval:{d:`A number indicating the granularity of the data; 0 - Daily, 1 - Weekly, 2 - Monthly.`},headers:{d:`A logical value to add column header data; 0 - No column header, 1 - Show column header, 2 - Show instrument identifier and column header.`},properties:{d:`A number indicating which column of data to return; 0 through 5.`}},h:`Unimplemented RichData`},SYD:{s:`Returns the sum-of-years' digits depreciation of an asset for a specified period.`,p:{cost:{d:`is the initial cost of the asset.`},salvage:{d:`is the salvage value at the end of the life of the asset.`},life:{d:`is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).`},per:{d:`is the period and must use the same units as Life.`}}},TBILLEQ:{s:`Returns the bond-equivalent yield for a treasury bill.`,p:{settlement:{d:`is the Treasury bill's settlement date, expressed as a serial date number.`},maturity:{d:`is the Treasury bill's maturity date, expressed as a serial date number.`},discount:{d:`is the Treasury bill's discount rate.`}}},TBILLPRICE:{s:`Returns the price per $100 face value for a treasury bill.`,p:{settlement:{d:`is the Treasury bill's settlement date, expressed as a serial date number.`},maturity:{d:`is the Treasury bill's maturity date, expressed as a serial date number.`},discount:{d:`is the Treasury bill's discount rate.`}}},TBILLYIELD:{s:`Returns the yield for a treasury bill.`,p:{settlement:{d:`is the Treasury bill's settlement date, expressed as a serial date number.`},maturity:{d:`is the Treasury bill's maturity date, expressed as a serial date number.`},pr:{d:`is the Treasury Bill's price per $100 face value.`}}},XIRR:{s:`Returns the internal rate of return for a schedule of cash flows.`,p:{values:{d:`is a series of cash flows that correspond to a schedule of payments in dates.`},dates:{d:`is a schedule of payment dates that corresponds to the cash flow payments.`},guess:{d:`is a number that you guess is close to the result of XIRR.`}}},XNPV:{s:`Returns the net present value for a schedule of cash flows.`,p:{rate:{d:`is the discount rate to apply to the cash flows.`},values:{d:`is a series of cash flows that correspond to a schedule of payments in dates.`},dates:{d:`is a schedule of payment dates that corresponds to the cash flow payments.`}}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports.default={ODDFPRICE:{s:`Returns the price per $100 face value of a security with an odd first period.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},issue:{d:`is the security's issue date, expressed as a serial date number.`},firstCoupon:{d:`is the security's first coupon date, expressed as a serial date number.`},rate:{},yld:{d:`is the security's annual yield.`},redemption:{d:`is the security's redemption value per $100 face value.`},frequency:{d:`is the number of coupon payments per year.`},basis:{d:`is the type of day count basis to use.`}}},ODDFYIELD:{s:`Returns the yield of a security with an odd first period.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},issue:{d:`is the security's issue date, expressed as a serial date number.`},firstCoupon:{d:`is the security's first coupon date, expressed as a serial date number.`},rate:{d:`is the security's interest rate.`},pr:{d:`is the security's price.`},redemption:{d:`is the security's redemption value per $100 face value.`},frequency:{d:`is the number of coupon payments per year.`},basis:{d:`is the type of day count basis to use.`}}},ODDLPRICE:{s:`Returns the price per $100 face value of a security with an odd last period.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},lastInterest:{d:`is the security's last coupon date, expressed as a serial date number.`},rate:{d:`is the interest rate.`},yld:{d:`is the security's annual yield.`},redemption:{d:`is the amount to be received at maturity.`},frequency:{d:`is the number of coupon payments per year.`},basis:{d:`is the type of day count basis to use.`}}},ODDLYIELD:{s:`Returns the yield of a security with an odd last period.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},lastInterest:{d:`is the security's last coupon date, expressed as a serial date number.`},rate:{d:`is the interest rate.`},pr:{d:`is the security's price.`},redemption:{d:`is the amount to be received at maturity.`},frequency:{d:`is the number of coupon payments per year.`},basis:{d:`is the type of day count basis to use.`}}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports.default={REGEXEXTRACT:{s:`Extracts substrings of 'text' based on the provided REGEX 'pattern'.`,p:{text:{d:`is the text string from which you want to extract characters.`},pattern:{d:`The regular expression to be applied.`},returnMode:{d:`Specify which matches to return.`},caseInsensitive:{d:`Whether the match is case insensitive.`}}},REGEXMATCH:{s:`Tests whether a text string matches a regular expression.`,c:`Sheets`,p:{text:{d:`is the text string to be tested against the regular expression.`},regularExpression:{d:`The regular expression to test the text against.`},caseInsensitive:{d:`Whether the match is case insensitive.`}}},REGEXREPLACE:{s:`Returns 'text', with 'replacement' in place of matches with 'pattern'.`,p:{text:{d:`is the text string from which you want to extract characters.`},pattern:{d:`The regular expression to be applied.`},replacement:{d:`The replacement string.`},occurrence:{d:`The occurrence of the match to replace.`},caseInsensitive:{d:`Whether the match is case insensitive.`}}},REGEXTEST:{s:`Checks whether the input matches the pattern, and returns TRUE or FALSE.`,p:{text:{d:`is the text string to be checked.`},pattern:{d:`is the regular expression to be applied.`},caseInsensitive:{d:`Whether the match is case insensitive.`}}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports.default={ACCRINTM:{s:`Returns the accrued interest for a security that pays interest at maturity.`,p:{issue:{d:`is the security's issue date, expressed as a serial date number.`},settlement:{d:`is the security's maturity date, expressed as a serial date number.`},rate:{d:`is the security's annual coupon rate.`},par:{d:`is the security's par value.`},basis:{d:`is the type of day count basis to use.`}}},INTRATE:{s:`Returns the interest rate for a fully invested security.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},investment:{d:`is the amount invested in the security.`},redemption:{d:`is the amount to be received at maturity.`},basis:{d:`is the type of day count basis to use.`}}},RECEIVED:{s:`Returns the amount received at maturity for a fully invested security.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},investment:{d:`is the amount invested in the security.`},discount:{d:`is the security's discount rate.`},basis:{d:`is the type of day count basis to use.`}}},YIELDDISC:{s:`Returns the annual yield for a discounted security. For example, a treasury bill.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},pr:{d:`is the security's price per $100 face value.`},redemption:{d:`is the security's redemption value per $100 face value.`},basis:{d:`is the type of day count basis to use.`}}},PRICEMAT:{s:`Returns the price per $100 face value of a security that pays interest at maturity.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},issue:{d:`is the security's issue date, expressed as a serial date number.`},rate:{d:`is the interest rate.`},yld:{d:`is the security's annual yield.`},basis:{d:`is the type of day count basis to use.`}}},YIELDMAT:{s:`Returns the annual yield of a security that pays interest at maturity.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},issue:{d:`is the security's issue date, expressed as a serial date number.`},rate:{d:`is the interest rate.`},pr:{d:`is the security's price per $100 face value.`},basis:{d:`is the type of day count basis to use.`}}},AMORLINC:{s:`Returns the prorated linear depreciation of an asset for each accounting period.`,p:{cost:{d:`is the cost of the asset.`},datePurchased:{d:`is the date the asset is purchased.`},firstPeriod:{d:`is the date of the end of the first period.`},salvage:{d:`is the salvage value at the end of life of the asset.`},period:{d:`is the period.`},rate:{d:`is the rate of depreciation.`},basis:{d:`year basis : 0 for year of 360 days, 1 for actual, 3 for year of 365 days.`}}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports.default={"FORECAST.ETS":{s:`Returns the forecasted value for a specific future target date using exponential smoothing method.`,p:{targetDate:{d:`is the data point for which you want to predict a value. It should carry on the pattern of values in the timeline.`},values:{d:`is the array or range of numeric data you're predicting.`},timeline:{d:`is the independent array or range of numeric data. The dates in the timeline must have a consistent step between them and can't be zero.`},seasonality:{d:`[1] 0 = no seasonality; 1 = auto-detect; any integer > 1 = explicit seasonal period.`},dataCompletion:{d:`[1] 1 = interpolate missing values; 0 = fill with zeros.`},aggregation:{d:`[1] Aggregation method for duplicate timestamps: 1=Average, 2=Count, 3=Max, 4=Median, 5=Min, 6=Sum, 7=None (#NUM! if duplicates exist).`}}},"FORECAST.ETS.CONFINT":{s:`Returns a confidence interval for the forecasted value at the specified target date.`,p:{targetDate:{d:`is the data point for which you want to predict a value. It should carry on the pattern of values in the timeline.`},values:{d:`is the array or range of numeric data you're predicting.`},timeline:{d:`is the independent array or range of numeric data. The dates in the timeline must have a consistent step between them and can't be zero.`},confidenceLevel:{d:`[0.95] Confidence probability, must be strictly between 0 and 1.`},seasonality:{d:`[1] 0 = no seasonality; 1 = auto-detect; any integer > 1 = explicit seasonal period.`},dataCompletion:{d:`[1] 1 = interpolate missing values; 0 = fill with zeros.`},aggregation:{d:`[1] Aggregation method for duplicate timestamps: 1=Average, 2=Count, 3=Max, 4=Median, 5=Min, 6=Sum, 7=None.`}}},"FORECAST.ETS.SEASONALITY":{s:`Returns the length of the repetitive pattern in the data for the specific time series.`,p:{values:{d:`is the array or range of numeric data you're predicting.`},timeline:{d:`is the independent array or range of numeric data. The dates in the timeline must have a consistent step between them and can't be zero.`},dataCompletion:{d:`[1] 1 = interpolate missing values; 0 = fill with zeros.`},aggregation:{d:`[1] Aggregation method for duplicate timestamps: 1=Average, 2=Count, 3=Max, 4=Median, 5=Min, 6=Sum, 7=None.`}}},"FORECAST.ETS.STAT":{s:`Returns a requested statistic for the ETS forecast model.`,p:{values:{d:`is the array or range of numeric data you're predicting.`},timeline:{d:`is the independent array or range of numeric data.`},statisticType:{d:`1=Alpha, 2=Beta (trend smoothing), 3=Gamma (seasonal smoothing), 4=MASE, 5=SMAPE, 6=MAE, 7=RMSE, 8=Step size.`},seasonality:{d:`[1] 0 = no seasonality; 1 = auto-detect; any integer > 1 = explicit seasonal period.`},dataCompletion:{d:`[1] 1 = interpolate missing values; 0 = fill with zeros.`},aggregation:{d:`[1] Aggregation method for duplicate timestamps: 1=Average, 2=Count, 3=Max, 4=Median, 5=Min, 6=Sum, 7=None.`}}}};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/formulas-extended - Formulas Enterprise - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.1
|
|
3
|
-
*
|
|
4
|
-
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/
|
|
7
|
-
var e = { ACCRINT: {
|
|
8
|
-
s: "Returns the accrued interest for a security that pays periodic interest.",
|
|
9
|
-
p: {
|
|
10
|
-
issue: { d: "is the security's issue date, expressed as a serial date number." },
|
|
11
|
-
firstInterest: { d: "is the security's first interest date, expressed as a serial date number." },
|
|
12
|
-
settlement: { d: "is the security's settlement date, expressed as a serial date number." },
|
|
13
|
-
rate: { d: "is the security's annual coupon rate." },
|
|
14
|
-
par: { d: "is the security's par value." },
|
|
15
|
-
frequency: { d: "is the number of coupon payments per year." },
|
|
16
|
-
basis: { d: "is the type of day count basis to use." },
|
|
17
|
-
calcMethod: { d: "is a logical value: to accrued interest from issue date = TRUE; to calculate from last coupon payment date = FALSE." }
|
|
18
|
-
}
|
|
19
|
-
} };
|
|
20
|
-
export { e as default };
|