@sheetxl/formulas-extended 0.8.0-beta.1 → 0.8.0-beta.2
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/{B1VmvhXuEn7zaTB9.mjs → B819DNjPdbTwz9F1.mjs} +1 -1
- package/{node/esm/COqdI1LYTHd9oLA6.mjs → browser/esm/BPDTXAH_YiFBVS9b.mjs} +1 -1
- package/{node/esm/DodhOXkSzelSxHmB.mjs → browser/esm/Bil0YAk5yZiRX2y1.mjs} +27 -29
- package/browser/esm/{DpoZ7h1ScIJvbOY9.mjs → Bsu4BOOlbAHpAp8R.mjs} +5 -5
- package/browser/esm/BtB39tHAccv8ITPI.mjs +119 -0
- package/{node/esm/srpVt74r2zbvm1N0.mjs → browser/esm/BxTcfN8h_FE-sbSK.mjs} +5 -5
- package/browser/esm/{BFnDPCjxJcoIItFa.mjs → C6Qt3r7mhw1LR02X.mjs} +3 -3
- package/browser/esm/C7p2YYAK6S2mN92V.mjs +19 -0
- package/browser/esm/CBsy5mA5btmVkbzR.mjs +32 -0
- package/{node/esm/BuGemmv84T8m0wqw.mjs → browser/esm/CIHlNxbWDUWI5fd8.mjs} +1 -1
- package/{node/esm/vu0NRDeeTbEHPMYS.mjs → browser/esm/CntAjIR6qmdYZXg0.mjs} +2 -2
- package/browser/esm/CpVnCV52v4qSBk79.mjs +33 -0
- package/browser/esm/D62u7Lj1Nd9ZM4Rp.mjs +58 -0
- package/{node/esm/CnVJ8GAsshRjRGA-.mjs → browser/esm/Dov9_ZXeOSh41yWn.mjs} +2 -2
- package/browser/esm/{DY3kG36QGyDbrANO.mjs → RHxlSf1j-K7Bdtwt.mjs} +1 -1
- package/browser/esm/YWvMccjlBVoxmNN_.mjs +47 -0
- package/browser/esm/_cE9OKmzmk6MyRKQ.mjs +37 -0
- package/browser/esm/index.mjs +3283 -1677
- package/browser/esm/r21pRf-kqnnAD611.mjs +32 -0
- package/{node/esm/BRwwvGaJ6HvkxjFC.mjs → browser/esm/v2vXc6oQz1MG0L1T.mjs} +1 -1
- package/{node/esm/Bma3CN4_Nec6_4n7.mjs → browser/esm/vMGzN0Xt0WnzZiH5.mjs} +6 -6
- package/node/esm/{B1VmvhXuEn7zaTB9.mjs → B819DNjPdbTwz9F1.mjs} +1 -1
- package/{browser/esm/COqdI1LYTHd9oLA6.mjs → node/esm/BPDTXAH_YiFBVS9b.mjs} +1 -1
- package/{browser/esm/DodhOXkSzelSxHmB.mjs → node/esm/Bil0YAk5yZiRX2y1.mjs} +27 -29
- package/node/esm/{DpoZ7h1ScIJvbOY9.mjs → Bsu4BOOlbAHpAp8R.mjs} +5 -5
- package/node/esm/BtB39tHAccv8ITPI.mjs +119 -0
- package/{browser/esm/srpVt74r2zbvm1N0.mjs → node/esm/BxTcfN8h_FE-sbSK.mjs} +5 -5
- package/node/esm/CBsy5mA5btmVkbzR.mjs +32 -0
- package/{browser/esm/BuGemmv84T8m0wqw.mjs → node/esm/CIHlNxbWDUWI5fd8.mjs} +1 -1
- package/{browser/esm/vu0NRDeeTbEHPMYS.mjs → node/esm/CntAjIR6qmdYZXg0.mjs} +2 -2
- package/node/esm/CpVnCV52v4qSBk79.mjs +33 -0
- package/node/esm/D62u7Lj1Nd9ZM4Rp.mjs +58 -0
- package/{browser/esm/CnVJ8GAsshRjRGA-.mjs → node/esm/Dov9_ZXeOSh41yWn.mjs} +2 -2
- package/node/esm/{BQyZVLTMNFLbjVap.mjs → LF8AasftSZOpXqHe.mjs} +3 -3
- package/node/esm/YWvMccjlBVoxmNN_.mjs +47 -0
- package/node/esm/YzY_Aik1Q_7Ay4JY.mjs +19 -0
- package/node/esm/_cE9OKmzmk6MyRKQ.mjs +37 -0
- package/node/esm/index.mjs +3607 -1998
- package/node/esm/r21pRf-kqnnAD611.mjs +32 -0
- package/node/esm/{LAkTk93odAfpvx50.mjs → sXWR_bAqmw8b4bT6.mjs} +1 -1
- package/{browser/esm/BRwwvGaJ6HvkxjFC.mjs → node/esm/v2vXc6oQz1MG0L1T.mjs} +1 -1
- package/{browser/esm/Bma3CN4_Nec6_4n7.mjs → node/esm/vMGzN0Xt0WnzZiH5.mjs} +6 -6
- 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
|
@@ -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 };
|
|
@@ -1,304 +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 = {
|
|
8
|
-
COUPDAYS: {
|
|
9
|
-
s: "Returns the number of days from the beginning of the coupon period to the settlement date.",
|
|
10
|
-
p: {
|
|
11
|
-
settlement: { d: "is the security's settlement date, expressed as a serial date number." },
|
|
12
|
-
maturity: { d: "is the security's maturity date, expressed as a serial date number." },
|
|
13
|
-
frequency: { d: "is the number of coupon payments per year." },
|
|
14
|
-
basis: { d: "is the type of day count basis to use." }
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
CUMIPMT: {
|
|
18
|
-
s: "Returns the cumulative interest paid between two periods.",
|
|
19
|
-
p: {
|
|
20
|
-
rate: { d: "is the interest rate." },
|
|
21
|
-
nper: { d: "is the total number of payment periods." },
|
|
22
|
-
pv: { d: "is the present value of the investment." },
|
|
23
|
-
startPeriod: { d: "is the first period in the calculation." },
|
|
24
|
-
endPeriod: { d: "is the last period in the calculation." },
|
|
25
|
-
type: { d: "is the timing of the payment." }
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
CUMPRINC: {
|
|
29
|
-
s: "Returns the cumulative principal paid on a loan between two periods.",
|
|
30
|
-
p: {
|
|
31
|
-
rate: { d: "is the interest rate." },
|
|
32
|
-
nper: { d: "is the total number of payment periods." },
|
|
33
|
-
pv: { d: "is the present value of the investment." },
|
|
34
|
-
startPeriod: { d: "is the first period in the calculation." },
|
|
35
|
-
endPeriod: { d: "is the last period in the calculation." },
|
|
36
|
-
type: { d: "is the timing of the payment." }
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
DB: {
|
|
40
|
-
s: "Returns the depreciation of an asset for a specified period using the fixed-declining balance method.",
|
|
41
|
-
p: {
|
|
42
|
-
cost: { d: "is the initial cost of the asset." },
|
|
43
|
-
salvage: { d: "is the salvage value at the end of the life of the asset." },
|
|
44
|
-
life: { d: "is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset)." },
|
|
45
|
-
period: { d: "is the period for which you want to calculate the depreciation. Period must use the same units as Life." },
|
|
46
|
-
month: { d: "is the number of months in the first year." }
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
DDB: {
|
|
50
|
-
s: "Returns the depreciation of an asset for a specified period using the double-declining balance method or some other method you specify.",
|
|
51
|
-
p: {
|
|
52
|
-
cost: { d: "is the initial cost of the asset." },
|
|
53
|
-
salvage: { d: "is the salvage value at the end of the life of the asset." },
|
|
54
|
-
life: { d: "is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset)." },
|
|
55
|
-
period: { d: "is the period for which you want to calculate the depreciation. Period must use the same units as Life." },
|
|
56
|
-
factor: { d: "is the rate at which the balance declines." }
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
DISC: {
|
|
60
|
-
s: "Returns the discount rate for a security.",
|
|
61
|
-
p: {
|
|
62
|
-
settlement: { d: "is the security's settlement date, expressed as a serial date number." },
|
|
63
|
-
maturity: { d: "is the security's maturity date, expressed as a serial date number." },
|
|
64
|
-
pr: { d: "is the security's price per $100 face value." },
|
|
65
|
-
redemption: { d: "is the security's redemption value per $100 face value." },
|
|
66
|
-
basis: { d: "is the type of day count basis to use." }
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
DOLLARDE: {
|
|
70
|
-
s: "Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number.",
|
|
71
|
-
p: {
|
|
72
|
-
fractionalDollar: { d: "is a number expressed as a fraction." },
|
|
73
|
-
fraction: { d: "is the integer to use in the denominator of the fraction." }
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
DOLLARFR: {
|
|
77
|
-
s: "Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction.",
|
|
78
|
-
p: {
|
|
79
|
-
decimalDollar: { d: "is a decimal number." },
|
|
80
|
-
fraction: { d: "is the integer to use in the denominator of the fraction." }
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
EFFECT: {
|
|
84
|
-
s: "Returns the effective annual interest rate.",
|
|
85
|
-
p: {
|
|
86
|
-
nominalRate: { d: "is the nominal interest rate." },
|
|
87
|
-
npery: { d: "is the number of compounding periods per year." }
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
FV: {
|
|
91
|
-
s: "Returns the future value of an investment based on periodic, constant payments and a constant interest rate.",
|
|
92
|
-
p: {
|
|
93
|
-
rate: { d: "is the interest rate." },
|
|
94
|
-
nper: { d: "is the total number of payment periods." },
|
|
95
|
-
pmt: { d: "is the payment made each period; it cannot change over the life of the investment." },
|
|
96
|
-
pv: { d: "is the present value of the investment." },
|
|
97
|
-
type: { d: "Indicates when pmts are due." }
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
FVSCHEDULE: {
|
|
101
|
-
s: "Returns the future value of an initial principal after applying a series of compound interest rates.",
|
|
102
|
-
p: {
|
|
103
|
-
principal: { d: "is the present value." },
|
|
104
|
-
schedule: { d: "is an array of interest rates to apply." }
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
IPMT: {
|
|
108
|
-
s: "Returns the interest payment for a given period for an investment, based on periodic, constant payments and a constant interest rate.",
|
|
109
|
-
p: {
|
|
110
|
-
rate: { d: "is the interest rate." },
|
|
111
|
-
per: { d: "is the period for which you want to find the interest and must be in the range 1 to Nper." },
|
|
112
|
-
nper: { d: "is the total number of payment periods." },
|
|
113
|
-
pv: { d: "is the present value of the investment." },
|
|
114
|
-
fv: { d: "is the future value, or a cash balance you want to attain after the last payment is made." },
|
|
115
|
-
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." }
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
IRR: {
|
|
119
|
-
s: "Returns the internal rate of return for a series of cash flows.",
|
|
120
|
-
p: {
|
|
121
|
-
values: { d: "is an array or a reference to cells that contain numbers for which you want to calculate the internal rate of return." },
|
|
122
|
-
guess: { d: "is a number that you guess is close to the result of IRR." }
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
ISPMT: {
|
|
126
|
-
s: "Returns the interest paid during a specific period of an investment.",
|
|
127
|
-
p: {
|
|
128
|
-
rate: { d: "is the interest rate." },
|
|
129
|
-
per: { d: "period for which you want to find the interest." },
|
|
130
|
-
nper: { d: "number of payment periods in an investment." },
|
|
131
|
-
pv: { d: "lump sum amount that a series of future payments is right now." }
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
MIRR: {
|
|
135
|
-
s: "Returns the modified internal rate of return for a series of periodic cash flows.",
|
|
136
|
-
p: {
|
|
137
|
-
values: { d: "An array of cash flows; must contain at least one positive and one negative value." },
|
|
138
|
-
financeRate: { d: "The interest rate paid on negative cash flows (cost of capital)." },
|
|
139
|
-
reinvestRate: { d: "The interest rate received on positive cash flows (reinvestment rate)." }
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
NOMINAL: {
|
|
143
|
-
s: "Returns the annual nominal interest rate.",
|
|
144
|
-
p: {
|
|
145
|
-
effectiveRate: { d: "is the effective interest rate." },
|
|
146
|
-
npery: { d: "is the number of compounding periods per year." }
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
NPER: {
|
|
150
|
-
s: "Returns the number of periods for an investment based on periodic, constant payments and a constant interest rate.",
|
|
151
|
-
p: {
|
|
152
|
-
rate: { d: "is the interest rate per period. For example, use 6%/4 for quarterly payments at 6% APR." },
|
|
153
|
-
pmt: { d: "is the payment made each period; it cannot change over the life of the investment." },
|
|
154
|
-
pv: { d: "is the present value, or the lump-sum amount that a series of future payments is worth now." },
|
|
155
|
-
fv: { d: "is the future value, or a cash balance you want to attain after the last payment is made." },
|
|
156
|
-
type: { d: "is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0." }
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
NPV: {
|
|
160
|
-
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).",
|
|
161
|
-
p: {
|
|
162
|
-
rate: { d: "is the rate of discount over the length of one period." },
|
|
163
|
-
value: { d: "are 1 to 254 payments and income, equally spaced in time and occurring at the end of each period." }
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
PDURATION: {
|
|
167
|
-
s: "Returns the number of periods required by an investment to reach a specified value.",
|
|
168
|
-
p: {
|
|
169
|
-
rate: { d: "is the interest rate." },
|
|
170
|
-
pv: { d: "is the present value of the investment." },
|
|
171
|
-
fv: { d: "is the desired future value of the investment." }
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
PMT: {
|
|
175
|
-
s: "Calculates the payment for a loan based on constant payments and a constant interest rate.",
|
|
176
|
-
p: {
|
|
177
|
-
rate: { d: "is the interest rate." },
|
|
178
|
-
nper: { d: "is the total number of payment periods." },
|
|
179
|
-
pv: { d: "is the present value of the investment." },
|
|
180
|
-
fv: { d: "is the future value, or a cash balance you want to attain after the last payment is made." },
|
|
181
|
-
type: { d: "is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0." }
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
PPMT: {
|
|
185
|
-
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.",
|
|
186
|
-
p: {
|
|
187
|
-
rate: { d: "is the interest rate per period." },
|
|
188
|
-
per: { d: "is the period for which you want to find the principal payment and must be in the range 1 to Nper." },
|
|
189
|
-
nper: { d: "is the total number of payment periods in the investment." },
|
|
190
|
-
pv: { d: "is the present value of the investment." },
|
|
191
|
-
fv: { d: "is the future value, or a cash balance you want to attain after the last payment is made." },
|
|
192
|
-
type: { d: "is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0." }
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
PRICEDISC: {
|
|
196
|
-
s: "Returns the price per $100 face value of a discounted security.",
|
|
197
|
-
p: {
|
|
198
|
-
settlement: { d: "is the security's settlement date, expressed as a serial date number." },
|
|
199
|
-
maturity: { d: "is the security's maturity date, expressed as a serial date number." },
|
|
200
|
-
discount: { d: "is the security's discount rate." },
|
|
201
|
-
redemption: { d: "is the amount to be received at maturity." },
|
|
202
|
-
basis: { d: "is the type of day count basis to use." }
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
PV: {
|
|
206
|
-
s: "Returns the present value of an investment: the total amount that a series of future payments is worth now.",
|
|
207
|
-
p: {
|
|
208
|
-
rate: { d: "is the interest rate." },
|
|
209
|
-
nper: { d: "is the total number of payment periods in an investment." },
|
|
210
|
-
pmt: { d: "is the payment made each period and cannot change over the life of the investment." },
|
|
211
|
-
fv: { d: "is the future value, or a cash balance you want to attain after the last payment is made." },
|
|
212
|
-
type: { d: "is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0." }
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
RATE: {
|
|
216
|
-
s: "Returns the interest rate per period of a loan or an investment. For example, use 6%/4 for quarterly payments at 6% APR.",
|
|
217
|
-
p: {
|
|
218
|
-
nper: { d: "is the total number of payment periods." },
|
|
219
|
-
pmt: { d: "is the payment made each period and cannot change over the life of the loan or investment." },
|
|
220
|
-
pv: { d: "is the present value: the total amount that a series of future payments is worth now." },
|
|
221
|
-
fv: { d: "is the future value, or a cash balance you want to attain after the last payment is made." },
|
|
222
|
-
type: { d: "is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0." },
|
|
223
|
-
guess: { d: "is your guess for what the rate will be." }
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
RRI: {
|
|
227
|
-
s: "Returns an equivalent interest rate for the growth of an investment.",
|
|
228
|
-
p: {
|
|
229
|
-
nper: { d: "is the total number of payment periods." },
|
|
230
|
-
pv: { d: "is the present value of the investment." },
|
|
231
|
-
fv: { d: "is the future value of the investment." }
|
|
232
|
-
}
|
|
233
|
-
},
|
|
234
|
-
SLN: {
|
|
235
|
-
s: "Returns the straight-line depreciation of an asset for one period.",
|
|
236
|
-
p: {
|
|
237
|
-
cost: { d: "is the initial cost of the asset." },
|
|
238
|
-
salvage: { d: "is the salvage value at the end of the life of the asset." },
|
|
239
|
-
life: { d: "is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset)." }
|
|
240
|
-
}
|
|
241
|
-
},
|
|
242
|
-
STOCKHISTORY: {
|
|
243
|
-
s: "Returns an array of historical quote data for a symbol and date range you specify..",
|
|
244
|
-
p: {
|
|
245
|
-
stock: { d: "Symbol of financial instrument to be considered or a Stock data type." },
|
|
246
|
-
startDate: { d: "First date to return data from." },
|
|
247
|
-
endDate: { d: "Last date to return data from." },
|
|
248
|
-
interval: { d: "A number indicating the granularity of the data; 0 - Daily, 1 - Weekly, 2 - Monthly." },
|
|
249
|
-
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." },
|
|
250
|
-
properties: { d: "A number indicating which column of data to return; 0 through 5." }
|
|
251
|
-
},
|
|
252
|
-
h: "Unimplemented RichData"
|
|
253
|
-
},
|
|
254
|
-
SYD: {
|
|
255
|
-
s: "Returns the sum-of-years' digits depreciation of an asset for a specified period.",
|
|
256
|
-
p: {
|
|
257
|
-
cost: { d: "is the initial cost of the asset." },
|
|
258
|
-
salvage: { d: "is the salvage value at the end of the life of the asset." },
|
|
259
|
-
life: { d: "is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset)." },
|
|
260
|
-
per: { d: "is the period and must use the same units as Life." }
|
|
261
|
-
}
|
|
262
|
-
},
|
|
263
|
-
TBILLEQ: {
|
|
264
|
-
s: "Returns the bond-equivalent yield for a treasury bill.",
|
|
265
|
-
p: {
|
|
266
|
-
settlement: { d: "is the Treasury bill's settlement date, expressed as a serial date number." },
|
|
267
|
-
maturity: { d: "is the Treasury bill's maturity date, expressed as a serial date number." },
|
|
268
|
-
discount: { d: "is the Treasury bill's discount rate." }
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
TBILLPRICE: {
|
|
272
|
-
s: "Returns the price per $100 face value for a treasury bill.",
|
|
273
|
-
p: {
|
|
274
|
-
settlement: { d: "is the Treasury bill's settlement date, expressed as a serial date number." },
|
|
275
|
-
maturity: { d: "is the Treasury bill's maturity date, expressed as a serial date number." },
|
|
276
|
-
discount: { d: "is the Treasury bill's discount rate." }
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
TBILLYIELD: {
|
|
280
|
-
s: "Returns the yield for a treasury bill.",
|
|
281
|
-
p: {
|
|
282
|
-
settlement: { d: "is the Treasury bill's settlement date, expressed as a serial date number." },
|
|
283
|
-
maturity: { d: "is the Treasury bill's maturity date, expressed as a serial date number." },
|
|
284
|
-
pr: { d: "is the Treasury Bill's price per $100 face value." }
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
XIRR: {
|
|
288
|
-
s: "Returns the internal rate of return for a schedule of cash flows.",
|
|
289
|
-
p: {
|
|
290
|
-
values: { d: "is a series of cash flows that correspond to a schedule of payments in dates." },
|
|
291
|
-
dates: { d: "is a schedule of payment dates that corresponds to the cash flow payments." },
|
|
292
|
-
guess: { d: "is a number that you guess is close to the result of XIRR." }
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
XNPV: {
|
|
296
|
-
s: "Returns the net present value for a schedule of cash flows.",
|
|
297
|
-
p: {
|
|
298
|
-
rate: { d: "is the discount rate to apply to the cash flows." },
|
|
299
|
-
values: { d: "is a series of cash flows that correspond to a schedule of payments in dates." },
|
|
300
|
-
dates: { d: "is a schedule of payment dates that corresponds to the cash flow payments." }
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
};
|
|
304
|
-
export { e as default };
|
|
@@ -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 };
|