@univerjs/sheets-formula 0.2.9 → 0.2.11
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/lib/cjs/index.js +3 -3
- package/lib/es/index.js +842 -436
- package/lib/locale/en-US.json +564 -332
- package/lib/locale/ru-RU.json +564 -332
- package/lib/locale/vi-VN.json +608 -316
- package/lib/locale/zh-CN.json +573 -341
- package/lib/locale/zh-TW.json +572 -340
- package/lib/types/locale/en-US.d.ts +396 -164
- package/lib/types/locale/function-list/engineering/en-US.d.ts +32 -112
- package/lib/types/locale/function-list/engineering/ja-JP.d.ts +32 -112
- package/lib/types/locale/function-list/engineering/vi-VN.d.ts +32 -112
- package/lib/types/locale/function-list/engineering/zh-CN.d.ts +32 -112
- package/lib/types/locale/function-list/engineering/zh-TW.d.ts +32 -112
- package/lib/types/locale/function-list/financial/en-US.d.ts +364 -52
- package/lib/types/locale/function-list/financial/ja-JP.d.ts +364 -52
- package/lib/types/locale/function-list/financial/vi-VN.d.ts +412 -46
- package/lib/types/locale/function-list/financial/zh-CN.d.ts +364 -52
- package/lib/types/locale/function-list/financial/zh-TW.d.ts +364 -52
- package/lib/types/locale/ru-RU.d.ts +396 -164
- package/lib/types/locale/vi-VN.d.ts +481 -195
- package/lib/types/locale/zh-CN.d.ts +396 -164
- package/lib/types/locale/zh-TW.d.ts +396 -164
- package/lib/umd/index.js +3 -3
- package/package.json +23 -23
package/lib/es/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { IRPCChannelService, fromModule, toModule } from "@univerjs/rpc";
|
|
|
7
7
|
import { SetDefinedNameMutation, RemoveDefinedNameMutation, FormulaDataModel, IActiveDirtyManagerService, IDefinedNamesService, SetArrayFormulaDataMutation, stripErrorMargin, LexerTreeBuilder, SetFormulaCalculationResultMutation, ErrorType, sequenceNodeType, serializeRange, FUNCTION_NAMES_COMPATIBILITY, FunctionType, FUNCTION_NAMES_CUBE, FUNCTION_NAMES_DATABASE, FUNCTION_NAMES_DATE, FUNCTION_NAMES_ENGINEERING, FUNCTION_NAMES_FINANCIAL, FUNCTION_NAMES_INFORMATION, FUNCTION_NAMES_LOGICAL, FUNCTION_NAMES_LOOKUP, FUNCTION_NAMES_MATH, FUNCTION_NAMES_STATISTICAL, FUNCTION_NAMES_TEXT, FUNCTION_NAMES_WEB, isReferenceStrings, functionArray, functionCompatibility, functionCube, functionDatabase, functionDate, functionEngineering, functionFinancial, functionInformation, functionLogical, functionLookup, functionMath, functionMeta, functionStatistical, functionText, functionUniver, functionWeb, IFunctionService, ERROR_TYPE_SET, SetFormulaCalculationStartMutation, SetFormulaCalculationStopMutation, SetFormulaCalculationNotificationMutation, FormulaExecuteStageType, FormulaExecutedStateType, SetFormulaDataMutation, initSheetFormulaData, deserializeRangeWithSheet, serializeRangeToRefString, generateStringWithSequence, CustomFunction, serializeRangeWithSpreadsheet, serializeRangeWithSheet, SetOtherFormulaMutation, RemoveOtherFormulaMutation, matchRefDrawToken, matchToken, compareToken, normalizeSheetName, getAbsoluteRefTypeWitString, UniverFormulaEnginePlugin } from "@univerjs/engine-formula";
|
|
8
8
|
import { IRenderManagerService, ITextSelectionRenderManager, DeviceInputEventType, ScrollTimerType, SHEET_VIEWPORT_KEY, Vector2 } from "@univerjs/engine-render";
|
|
9
9
|
import { SetRangeValuesMutation, SetStyleCommand, MoveRangeMutation, MoveRowsMutation, MoveColsMutation, ReorderRangeMutation, RemoveRowMutation, RemoveColMutation, RemoveSheetMutation, InsertSheetMutation, SetDefinedNameCommand, INTERCEPTOR_POINT, SheetInterceptorService, SetRangeValuesUndoMutationFactory, SetWorksheetRowHeightMutation, SetWorksheetColWidthMutation, SetColHiddenMutation, SetColVisibleMutation, SetRowHiddenMutation, SetRowVisibleMutation, SetWorksheetRowAutoHeightMutation, SetRangeValuesCommand, SheetsSelectionsService, getSheetCommandTarget, getCellAtRowCol, SetSelectionsOperation, WorkbookEditablePermission, WorksheetEditPermission, WorksheetSetCellValuePermission, RangeProtectionPermissionEditPoint, SetBorderCommand, ClearSelectionFormatCommand, INumfmtService, handleMoveRange, EffectRefRangId, runRefRangeMutations, handleMoveRows, handleMoveCols, handleInsertRow, handleInsertCol, handleIRemoveRow, handleIRemoveCol, handleDeleteRangeMoveLeft, handleDeleteRangeMoveUp, handleInsertRangeMoveDown, handleInsertRangeMoveRight, RemoveSheetCommand, SetWorksheetNameCommand, DeleteRangeMoveLeftCommand, DeleteRangeMoveUpCommand, RemoveColCommand, RemoveRowCommand, InsertRangeMoveDownCommand, InsertRangeMoveRightCommand, InsertColCommand, InsertRowCommand, MoveColsCommand, MoveRowsCommand, MoveRangeCommand, SetWorksheetActiveOperation, InsertDefinedNameCommand, RemoveDefinedNameCommand, RefRangeService, handleDefaultRangeChangeWithEffectRefCommands, SelectionMoveType, convertSelectionDataToRange, getNormalSelectionStyle, IRefSelectionsService, DISABLE_NORMAL_SELECTIONS, setEndForRange, getPrimaryForRange, RefSelectionsService } from "@univerjs/sheets";
|
|
10
|
-
import { DATA_TYPE, APPLY_TYPE, IAutoFillService, PREDEFINED_HOOK_NAME, COPY_TYPE, ISheetClipboardService, ISheetSelectionRenderService, SelectionShape, IEditorBridgeService, SheetSkeletonManagerService, SheetPasteCommand, useActiveWorkbook, getCurrentRangeDisable$, PASTE_SPECIAL_MENU_ID, whenFormulaEditorActivated, CellAlertType, HoverManagerService, CellAlertManagerService, BaseSelectionRenderService, getCoordByOffset, checkInHeaderRanges, getAllSelection, attachSelectionWithCoord, getSheetObject, getEditorObject, MoveSelectionCommand, JumpOver, ExpandSelectionCommand } from "@univerjs/sheets-ui";
|
|
10
|
+
import { DATA_TYPE, APPLY_TYPE, IAutoFillService, PREDEFINED_HOOK_NAME, COPY_TYPE, ISheetClipboardService, ISheetSelectionRenderService, SelectionShape, SELECTION_SHAPE_DEPTH, IEditorBridgeService, SheetSkeletonManagerService, SheetPasteCommand, useActiveWorkbook, getCurrentRangeDisable$, PASTE_SPECIAL_MENU_ID, whenFormulaEditorActivated, CellAlertType, HoverManagerService, CellAlertManagerService, BaseSelectionRenderService, getCoordByOffset, checkInHeaderRanges, getAllSelection, attachSelectionWithCoord, getSheetObject, getEditorObject, MoveSelectionCommand, JumpOver, ExpandSelectionCommand } from "@univerjs/sheets-ui";
|
|
11
11
|
import { IEditorService, ISidebarService, MenuGroup, MenuItemType, MenuPosition, getMenuHiddenObservable, IClipboardInterfaceService, KeyCode, MetaKeys, ComponentManager, BuiltInUIPart, IMenuService, IShortcutService, IUIPartsService, IProgressService, UNI_DISABLE_CHANGING_FOCUS_KEY, SetEditorResizeOperation, IContextMenuService } from "@univerjs/ui";
|
|
12
12
|
import { Subject, throttleTime, combineLatestWith, map, switchMap, of, Observable, merge, filter, bufferTime, distinctUntilKeyChanged, distinctUntilChanged } from "rxjs";
|
|
13
13
|
import require$$0, { forwardRef, useRef, createElement, useEffect, useState } from "react";
|
|
@@ -645,7 +645,7 @@ let FormulaEditorShowController = (_a5 = class extends Disposable {
|
|
|
645
645
|
style
|
|
646
646
|
}), skeleton = this._sheetSkeletonManagerService.getCurrentSkeleton();
|
|
647
647
|
if (!scene || !skeleton) return;
|
|
648
|
-
const { rowHeaderWidth, columnHeaderHeight } = skeleton, control = new SelectionShape(scene,
|
|
648
|
+
const { rowHeaderWidth, columnHeaderHeight } = skeleton, control = new SelectionShape(scene, SELECTION_SHAPE_DEPTH.FORMULA_EDITOR_SHOW, this._themeService, !1);
|
|
649
649
|
control.update(rangeWithCoord, rowHeaderWidth, columnHeaderHeight, style, primaryWithCoord), control.setEvent(!1), this._previousShape = control;
|
|
650
650
|
}
|
|
651
651
|
_removeArrayFormulaRangeShape() {
|
|
@@ -3808,17 +3808,17 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
3808
3808
|
abstract: "formula.functionList.GESTEP.abstract",
|
|
3809
3809
|
functionParameter: [
|
|
3810
3810
|
{
|
|
3811
|
-
name: "formula.functionList.GESTEP.functionParameter.
|
|
3812
|
-
detail: "formula.functionList.GESTEP.functionParameter.
|
|
3813
|
-
example: "
|
|
3811
|
+
name: "formula.functionList.GESTEP.functionParameter.number.name",
|
|
3812
|
+
detail: "formula.functionList.GESTEP.functionParameter.number.detail",
|
|
3813
|
+
example: "5",
|
|
3814
3814
|
require: 1,
|
|
3815
3815
|
repeat: 0
|
|
3816
3816
|
},
|
|
3817
3817
|
{
|
|
3818
|
-
name: "formula.functionList.GESTEP.functionParameter.
|
|
3819
|
-
detail: "formula.functionList.GESTEP.functionParameter.
|
|
3820
|
-
example: "
|
|
3821
|
-
require:
|
|
3818
|
+
name: "formula.functionList.GESTEP.functionParameter.step.name",
|
|
3819
|
+
detail: "formula.functionList.GESTEP.functionParameter.step.detail",
|
|
3820
|
+
example: "4",
|
|
3821
|
+
require: 0,
|
|
3822
3822
|
repeat: 0
|
|
3823
3823
|
}
|
|
3824
3824
|
]
|
|
@@ -3889,16 +3889,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
3889
3889
|
abstract: "formula.functionList.IMABS.abstract",
|
|
3890
3890
|
functionParameter: [
|
|
3891
3891
|
{
|
|
3892
|
-
name: "formula.functionList.IMABS.functionParameter.
|
|
3893
|
-
detail: "formula.functionList.IMABS.functionParameter.
|
|
3894
|
-
example: "
|
|
3895
|
-
require: 1,
|
|
3896
|
-
repeat: 0
|
|
3897
|
-
},
|
|
3898
|
-
{
|
|
3899
|
-
name: "formula.functionList.IMABS.functionParameter.number2.name",
|
|
3900
|
-
detail: "formula.functionList.IMABS.functionParameter.number2.detail",
|
|
3901
|
-
example: "A1:A20",
|
|
3892
|
+
name: "formula.functionList.IMABS.functionParameter.inumber.name",
|
|
3893
|
+
detail: "formula.functionList.IMABS.functionParameter.inumber.detail",
|
|
3894
|
+
example: '"5+12i"',
|
|
3902
3895
|
require: 1,
|
|
3903
3896
|
repeat: 0
|
|
3904
3897
|
}
|
|
@@ -3911,16 +3904,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
3911
3904
|
abstract: "formula.functionList.IMAGINARY.abstract",
|
|
3912
3905
|
functionParameter: [
|
|
3913
3906
|
{
|
|
3914
|
-
name: "formula.functionList.IMAGINARY.functionParameter.
|
|
3915
|
-
detail: "formula.functionList.IMAGINARY.functionParameter.
|
|
3916
|
-
example: "
|
|
3917
|
-
require: 1,
|
|
3918
|
-
repeat: 0
|
|
3919
|
-
},
|
|
3920
|
-
{
|
|
3921
|
-
name: "formula.functionList.IMAGINARY.functionParameter.number2.name",
|
|
3922
|
-
detail: "formula.functionList.IMAGINARY.functionParameter.number2.detail",
|
|
3923
|
-
example: "A1:A20",
|
|
3907
|
+
name: "formula.functionList.IMAGINARY.functionParameter.inumber.name",
|
|
3908
|
+
detail: "formula.functionList.IMAGINARY.functionParameter.inumber.detail",
|
|
3909
|
+
example: '"3+4i"',
|
|
3924
3910
|
require: 1,
|
|
3925
3911
|
repeat: 0
|
|
3926
3912
|
}
|
|
@@ -3933,16 +3919,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
3933
3919
|
abstract: "formula.functionList.IMARGUMENT.abstract",
|
|
3934
3920
|
functionParameter: [
|
|
3935
3921
|
{
|
|
3936
|
-
name: "formula.functionList.IMARGUMENT.functionParameter.
|
|
3937
|
-
detail: "formula.functionList.IMARGUMENT.functionParameter.
|
|
3938
|
-
example: "
|
|
3939
|
-
require: 1,
|
|
3940
|
-
repeat: 0
|
|
3941
|
-
},
|
|
3942
|
-
{
|
|
3943
|
-
name: "formula.functionList.IMARGUMENT.functionParameter.number2.name",
|
|
3944
|
-
detail: "formula.functionList.IMARGUMENT.functionParameter.number2.detail",
|
|
3945
|
-
example: "A1:A20",
|
|
3922
|
+
name: "formula.functionList.IMARGUMENT.functionParameter.inumber.name",
|
|
3923
|
+
detail: "formula.functionList.IMARGUMENT.functionParameter.inumber.detail",
|
|
3924
|
+
example: '"3+4i"',
|
|
3946
3925
|
require: 1,
|
|
3947
3926
|
repeat: 0
|
|
3948
3927
|
}
|
|
@@ -3955,16 +3934,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
3955
3934
|
abstract: "formula.functionList.IMCONJUGATE.abstract",
|
|
3956
3935
|
functionParameter: [
|
|
3957
3936
|
{
|
|
3958
|
-
name: "formula.functionList.IMCONJUGATE.functionParameter.
|
|
3959
|
-
detail: "formula.functionList.IMCONJUGATE.functionParameter.
|
|
3960
|
-
example: "
|
|
3961
|
-
require: 1,
|
|
3962
|
-
repeat: 0
|
|
3963
|
-
},
|
|
3964
|
-
{
|
|
3965
|
-
name: "formula.functionList.IMCONJUGATE.functionParameter.number2.name",
|
|
3966
|
-
detail: "formula.functionList.IMCONJUGATE.functionParameter.number2.detail",
|
|
3967
|
-
example: "A1:A20",
|
|
3937
|
+
name: "formula.functionList.IMCONJUGATE.functionParameter.inumber.name",
|
|
3938
|
+
detail: "formula.functionList.IMCONJUGATE.functionParameter.inumber.detail",
|
|
3939
|
+
example: '"3+4i"',
|
|
3968
3940
|
require: 1,
|
|
3969
3941
|
repeat: 0
|
|
3970
3942
|
}
|
|
@@ -3977,16 +3949,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
3977
3949
|
abstract: "formula.functionList.IMCOS.abstract",
|
|
3978
3950
|
functionParameter: [
|
|
3979
3951
|
{
|
|
3980
|
-
name: "formula.functionList.IMCOS.functionParameter.
|
|
3981
|
-
detail: "formula.functionList.IMCOS.functionParameter.
|
|
3982
|
-
example: "
|
|
3983
|
-
require: 1,
|
|
3984
|
-
repeat: 0
|
|
3985
|
-
},
|
|
3986
|
-
{
|
|
3987
|
-
name: "formula.functionList.IMCOS.functionParameter.number2.name",
|
|
3988
|
-
detail: "formula.functionList.IMCOS.functionParameter.number2.detail",
|
|
3989
|
-
example: "A1:A20",
|
|
3952
|
+
name: "formula.functionList.IMCOS.functionParameter.inumber.name",
|
|
3953
|
+
detail: "formula.functionList.IMCOS.functionParameter.inumber.detail",
|
|
3954
|
+
example: '"1+i"',
|
|
3990
3955
|
require: 1,
|
|
3991
3956
|
repeat: 0
|
|
3992
3957
|
}
|
|
@@ -3999,16 +3964,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
3999
3964
|
abstract: "formula.functionList.IMCOSH.abstract",
|
|
4000
3965
|
functionParameter: [
|
|
4001
3966
|
{
|
|
4002
|
-
name: "formula.functionList.IMCOSH.functionParameter.
|
|
4003
|
-
detail: "formula.functionList.IMCOSH.functionParameter.
|
|
4004
|
-
example: "
|
|
4005
|
-
require: 1,
|
|
4006
|
-
repeat: 0
|
|
4007
|
-
},
|
|
4008
|
-
{
|
|
4009
|
-
name: "formula.functionList.IMCOSH.functionParameter.number2.name",
|
|
4010
|
-
detail: "formula.functionList.IMCOSH.functionParameter.number2.detail",
|
|
4011
|
-
example: "A1:A20",
|
|
3967
|
+
name: "formula.functionList.IMCOSH.functionParameter.inumber.name",
|
|
3968
|
+
detail: "formula.functionList.IMCOSH.functionParameter.inumber.detail",
|
|
3969
|
+
example: '"4+3i"',
|
|
4012
3970
|
require: 1,
|
|
4013
3971
|
repeat: 0
|
|
4014
3972
|
}
|
|
@@ -4021,16 +3979,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4021
3979
|
abstract: "formula.functionList.IMCOT.abstract",
|
|
4022
3980
|
functionParameter: [
|
|
4023
3981
|
{
|
|
4024
|
-
name: "formula.functionList.IMCOT.functionParameter.
|
|
4025
|
-
detail: "formula.functionList.IMCOT.functionParameter.
|
|
4026
|
-
example: "
|
|
4027
|
-
require: 1,
|
|
4028
|
-
repeat: 0
|
|
4029
|
-
},
|
|
4030
|
-
{
|
|
4031
|
-
name: "formula.functionList.IMCOT.functionParameter.number2.name",
|
|
4032
|
-
detail: "formula.functionList.IMCOT.functionParameter.number2.detail",
|
|
4033
|
-
example: "A1:A20",
|
|
3982
|
+
name: "formula.functionList.IMCOT.functionParameter.inumber.name",
|
|
3983
|
+
detail: "formula.functionList.IMCOT.functionParameter.inumber.detail",
|
|
3984
|
+
example: '"4+3i"',
|
|
4034
3985
|
require: 1,
|
|
4035
3986
|
repeat: 0
|
|
4036
3987
|
}
|
|
@@ -4043,16 +3994,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4043
3994
|
abstract: "formula.functionList.IMCSC.abstract",
|
|
4044
3995
|
functionParameter: [
|
|
4045
3996
|
{
|
|
4046
|
-
name: "formula.functionList.IMCSC.functionParameter.
|
|
4047
|
-
detail: "formula.functionList.IMCSC.functionParameter.
|
|
4048
|
-
example: "
|
|
4049
|
-
require: 1,
|
|
4050
|
-
repeat: 0
|
|
4051
|
-
},
|
|
4052
|
-
{
|
|
4053
|
-
name: "formula.functionList.IMCSC.functionParameter.number2.name",
|
|
4054
|
-
detail: "formula.functionList.IMCSC.functionParameter.number2.detail",
|
|
4055
|
-
example: "A1:A20",
|
|
3997
|
+
name: "formula.functionList.IMCSC.functionParameter.inumber.name",
|
|
3998
|
+
detail: "formula.functionList.IMCSC.functionParameter.inumber.detail",
|
|
3999
|
+
example: '"4+3i"',
|
|
4056
4000
|
require: 1,
|
|
4057
4001
|
repeat: 0
|
|
4058
4002
|
}
|
|
@@ -4065,16 +4009,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4065
4009
|
abstract: "formula.functionList.IMCSCH.abstract",
|
|
4066
4010
|
functionParameter: [
|
|
4067
4011
|
{
|
|
4068
|
-
name: "formula.functionList.IMCSCH.functionParameter.
|
|
4069
|
-
detail: "formula.functionList.IMCSCH.functionParameter.
|
|
4070
|
-
example: "
|
|
4071
|
-
require: 1,
|
|
4072
|
-
repeat: 0
|
|
4073
|
-
},
|
|
4074
|
-
{
|
|
4075
|
-
name: "formula.functionList.IMCSCH.functionParameter.number2.name",
|
|
4076
|
-
detail: "formula.functionList.IMCSCH.functionParameter.number2.detail",
|
|
4077
|
-
example: "A1:A20",
|
|
4012
|
+
name: "formula.functionList.IMCSCH.functionParameter.inumber.name",
|
|
4013
|
+
detail: "formula.functionList.IMCSCH.functionParameter.inumber.detail",
|
|
4014
|
+
example: '"4+3i"',
|
|
4078
4015
|
require: 1,
|
|
4079
4016
|
repeat: 0
|
|
4080
4017
|
}
|
|
@@ -4087,16 +4024,16 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4087
4024
|
abstract: "formula.functionList.IMDIV.abstract",
|
|
4088
4025
|
functionParameter: [
|
|
4089
4026
|
{
|
|
4090
|
-
name: "formula.functionList.IMDIV.functionParameter.
|
|
4091
|
-
detail: "formula.functionList.IMDIV.functionParameter.
|
|
4092
|
-
example: "
|
|
4027
|
+
name: "formula.functionList.IMDIV.functionParameter.inumber1.name",
|
|
4028
|
+
detail: "formula.functionList.IMDIV.functionParameter.inumber1.detail",
|
|
4029
|
+
example: '"-238+240i"',
|
|
4093
4030
|
require: 1,
|
|
4094
4031
|
repeat: 0
|
|
4095
4032
|
},
|
|
4096
4033
|
{
|
|
4097
|
-
name: "formula.functionList.IMDIV.functionParameter.
|
|
4098
|
-
detail: "formula.functionList.IMDIV.functionParameter.
|
|
4099
|
-
example: "
|
|
4034
|
+
name: "formula.functionList.IMDIV.functionParameter.inumber2.name",
|
|
4035
|
+
detail: "formula.functionList.IMDIV.functionParameter.inumber2.detail",
|
|
4036
|
+
example: '"10+24i"',
|
|
4100
4037
|
require: 1,
|
|
4101
4038
|
repeat: 0
|
|
4102
4039
|
}
|
|
@@ -4109,16 +4046,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4109
4046
|
abstract: "formula.functionList.IMEXP.abstract",
|
|
4110
4047
|
functionParameter: [
|
|
4111
4048
|
{
|
|
4112
|
-
name: "formula.functionList.IMEXP.functionParameter.
|
|
4113
|
-
detail: "formula.functionList.IMEXP.functionParameter.
|
|
4114
|
-
example: "
|
|
4115
|
-
require: 1,
|
|
4116
|
-
repeat: 0
|
|
4117
|
-
},
|
|
4118
|
-
{
|
|
4119
|
-
name: "formula.functionList.IMEXP.functionParameter.number2.name",
|
|
4120
|
-
detail: "formula.functionList.IMEXP.functionParameter.number2.detail",
|
|
4121
|
-
example: "A1:A20",
|
|
4049
|
+
name: "formula.functionList.IMEXP.functionParameter.inumber.name",
|
|
4050
|
+
detail: "formula.functionList.IMEXP.functionParameter.inumber.detail",
|
|
4051
|
+
example: '"1+i"',
|
|
4122
4052
|
require: 1,
|
|
4123
4053
|
repeat: 0
|
|
4124
4054
|
}
|
|
@@ -4131,16 +4061,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4131
4061
|
abstract: "formula.functionList.IMLN.abstract",
|
|
4132
4062
|
functionParameter: [
|
|
4133
4063
|
{
|
|
4134
|
-
name: "formula.functionList.IMLN.functionParameter.
|
|
4135
|
-
detail: "formula.functionList.IMLN.functionParameter.
|
|
4136
|
-
example: "
|
|
4137
|
-
require: 1,
|
|
4138
|
-
repeat: 0
|
|
4139
|
-
},
|
|
4140
|
-
{
|
|
4141
|
-
name: "formula.functionList.IMLN.functionParameter.number2.name",
|
|
4142
|
-
detail: "formula.functionList.IMLN.functionParameter.number2.detail",
|
|
4143
|
-
example: "A1:A20",
|
|
4064
|
+
name: "formula.functionList.IMLN.functionParameter.inumber.name",
|
|
4065
|
+
detail: "formula.functionList.IMLN.functionParameter.inumber.detail",
|
|
4066
|
+
example: '"3+4i"',
|
|
4144
4067
|
require: 1,
|
|
4145
4068
|
repeat: 0
|
|
4146
4069
|
}
|
|
@@ -4153,16 +4076,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4153
4076
|
abstract: "formula.functionList.IMLOG10.abstract",
|
|
4154
4077
|
functionParameter: [
|
|
4155
4078
|
{
|
|
4156
|
-
name: "formula.functionList.IMLOG10.functionParameter.
|
|
4157
|
-
detail: "formula.functionList.IMLOG10.functionParameter.
|
|
4158
|
-
example: "
|
|
4159
|
-
require: 1,
|
|
4160
|
-
repeat: 0
|
|
4161
|
-
},
|
|
4162
|
-
{
|
|
4163
|
-
name: "formula.functionList.IMLOG10.functionParameter.number2.name",
|
|
4164
|
-
detail: "formula.functionList.IMLOG10.functionParameter.number2.detail",
|
|
4165
|
-
example: "A1:A20",
|
|
4079
|
+
name: "formula.functionList.IMLOG10.functionParameter.inumber.name",
|
|
4080
|
+
detail: "formula.functionList.IMLOG10.functionParameter.inumber.detail",
|
|
4081
|
+
example: '"3+4i"',
|
|
4166
4082
|
require: 1,
|
|
4167
4083
|
repeat: 0
|
|
4168
4084
|
}
|
|
@@ -4175,16 +4091,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4175
4091
|
abstract: "formula.functionList.IMLOG2.abstract",
|
|
4176
4092
|
functionParameter: [
|
|
4177
4093
|
{
|
|
4178
|
-
name: "formula.functionList.IMLOG2.functionParameter.
|
|
4179
|
-
detail: "formula.functionList.IMLOG2.functionParameter.
|
|
4180
|
-
example: "
|
|
4181
|
-
require: 1,
|
|
4182
|
-
repeat: 0
|
|
4183
|
-
},
|
|
4184
|
-
{
|
|
4185
|
-
name: "formula.functionList.IMLOG2.functionParameter.number2.name",
|
|
4186
|
-
detail: "formula.functionList.IMLOG2.functionParameter.number2.detail",
|
|
4187
|
-
example: "A1:A20",
|
|
4094
|
+
name: "formula.functionList.IMLOG2.functionParameter.inumber.name",
|
|
4095
|
+
detail: "formula.functionList.IMLOG2.functionParameter.inumber.detail",
|
|
4096
|
+
example: '"3+4i"',
|
|
4188
4097
|
require: 1,
|
|
4189
4098
|
repeat: 0
|
|
4190
4099
|
}
|
|
@@ -4197,16 +4106,16 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4197
4106
|
abstract: "formula.functionList.IMPOWER.abstract",
|
|
4198
4107
|
functionParameter: [
|
|
4199
4108
|
{
|
|
4200
|
-
name: "formula.functionList.IMPOWER.functionParameter.
|
|
4201
|
-
detail: "formula.functionList.IMPOWER.functionParameter.
|
|
4202
|
-
example: "
|
|
4109
|
+
name: "formula.functionList.IMPOWER.functionParameter.inumber.name",
|
|
4110
|
+
detail: "formula.functionList.IMPOWER.functionParameter.inumber.detail",
|
|
4111
|
+
example: '"2+3i"',
|
|
4203
4112
|
require: 1,
|
|
4204
4113
|
repeat: 0
|
|
4205
4114
|
},
|
|
4206
4115
|
{
|
|
4207
|
-
name: "formula.functionList.IMPOWER.functionParameter.
|
|
4208
|
-
detail: "formula.functionList.IMPOWER.functionParameter.
|
|
4209
|
-
example: "
|
|
4116
|
+
name: "formula.functionList.IMPOWER.functionParameter.number.name",
|
|
4117
|
+
detail: "formula.functionList.IMPOWER.functionParameter.number.detail",
|
|
4118
|
+
example: "3",
|
|
4210
4119
|
require: 1,
|
|
4211
4120
|
repeat: 0
|
|
4212
4121
|
}
|
|
@@ -4219,18 +4128,18 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4219
4128
|
abstract: "formula.functionList.IMPRODUCT.abstract",
|
|
4220
4129
|
functionParameter: [
|
|
4221
4130
|
{
|
|
4222
|
-
name: "formula.functionList.IMPRODUCT.functionParameter.
|
|
4223
|
-
detail: "formula.functionList.IMPRODUCT.functionParameter.
|
|
4224
|
-
example: "
|
|
4131
|
+
name: "formula.functionList.IMPRODUCT.functionParameter.inumber1.name",
|
|
4132
|
+
detail: "formula.functionList.IMPRODUCT.functionParameter.inumber1.detail",
|
|
4133
|
+
example: '"3+4i"',
|
|
4225
4134
|
require: 1,
|
|
4226
4135
|
repeat: 0
|
|
4227
4136
|
},
|
|
4228
4137
|
{
|
|
4229
|
-
name: "formula.functionList.IMPRODUCT.functionParameter.
|
|
4230
|
-
detail: "formula.functionList.IMPRODUCT.functionParameter.
|
|
4231
|
-
example: "
|
|
4232
|
-
require:
|
|
4233
|
-
repeat:
|
|
4138
|
+
name: "formula.functionList.IMPRODUCT.functionParameter.inumber2.name",
|
|
4139
|
+
detail: "formula.functionList.IMPRODUCT.functionParameter.inumber2.detail",
|
|
4140
|
+
example: '"5-3i"',
|
|
4141
|
+
require: 0,
|
|
4142
|
+
repeat: 1
|
|
4234
4143
|
}
|
|
4235
4144
|
]
|
|
4236
4145
|
},
|
|
@@ -4241,16 +4150,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4241
4150
|
abstract: "formula.functionList.IMREAL.abstract",
|
|
4242
4151
|
functionParameter: [
|
|
4243
4152
|
{
|
|
4244
|
-
name: "formula.functionList.IMREAL.functionParameter.
|
|
4245
|
-
detail: "formula.functionList.IMREAL.functionParameter.
|
|
4246
|
-
example: "
|
|
4247
|
-
require: 1,
|
|
4248
|
-
repeat: 0
|
|
4249
|
-
},
|
|
4250
|
-
{
|
|
4251
|
-
name: "formula.functionList.IMREAL.functionParameter.number2.name",
|
|
4252
|
-
detail: "formula.functionList.IMREAL.functionParameter.number2.detail",
|
|
4253
|
-
example: "A1:A20",
|
|
4153
|
+
name: "formula.functionList.IMREAL.functionParameter.inumber.name",
|
|
4154
|
+
detail: "formula.functionList.IMREAL.functionParameter.inumber.detail",
|
|
4155
|
+
example: '"6-9i"',
|
|
4254
4156
|
require: 1,
|
|
4255
4157
|
repeat: 0
|
|
4256
4158
|
}
|
|
@@ -4263,16 +4165,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4263
4165
|
abstract: "formula.functionList.IMSEC.abstract",
|
|
4264
4166
|
functionParameter: [
|
|
4265
4167
|
{
|
|
4266
|
-
name: "formula.functionList.IMSEC.functionParameter.
|
|
4267
|
-
detail: "formula.functionList.IMSEC.functionParameter.
|
|
4268
|
-
example: "
|
|
4269
|
-
require: 1,
|
|
4270
|
-
repeat: 0
|
|
4271
|
-
},
|
|
4272
|
-
{
|
|
4273
|
-
name: "formula.functionList.IMSEC.functionParameter.number2.name",
|
|
4274
|
-
detail: "formula.functionList.IMSEC.functionParameter.number2.detail",
|
|
4275
|
-
example: "A1:A20",
|
|
4168
|
+
name: "formula.functionList.IMSEC.functionParameter.inumber.name",
|
|
4169
|
+
detail: "formula.functionList.IMSEC.functionParameter.inumber.detail",
|
|
4170
|
+
example: '"4+3i"',
|
|
4276
4171
|
require: 1,
|
|
4277
4172
|
repeat: 0
|
|
4278
4173
|
}
|
|
@@ -4285,16 +4180,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4285
4180
|
abstract: "formula.functionList.IMSECH.abstract",
|
|
4286
4181
|
functionParameter: [
|
|
4287
4182
|
{
|
|
4288
|
-
name: "formula.functionList.IMSECH.functionParameter.
|
|
4289
|
-
detail: "formula.functionList.IMSECH.functionParameter.
|
|
4290
|
-
example: "
|
|
4291
|
-
require: 1,
|
|
4292
|
-
repeat: 0
|
|
4293
|
-
},
|
|
4294
|
-
{
|
|
4295
|
-
name: "formula.functionList.IMSECH.functionParameter.number2.name",
|
|
4296
|
-
detail: "formula.functionList.IMSECH.functionParameter.number2.detail",
|
|
4297
|
-
example: "A1:A20",
|
|
4183
|
+
name: "formula.functionList.IMSECH.functionParameter.inumber.name",
|
|
4184
|
+
detail: "formula.functionList.IMSECH.functionParameter.inumber.detail",
|
|
4185
|
+
example: '"4+3i"',
|
|
4298
4186
|
require: 1,
|
|
4299
4187
|
repeat: 0
|
|
4300
4188
|
}
|
|
@@ -4307,16 +4195,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4307
4195
|
abstract: "formula.functionList.IMSIN.abstract",
|
|
4308
4196
|
functionParameter: [
|
|
4309
4197
|
{
|
|
4310
|
-
name: "formula.functionList.IMSIN.functionParameter.
|
|
4311
|
-
detail: "formula.functionList.IMSIN.functionParameter.
|
|
4312
|
-
example: "
|
|
4313
|
-
require: 1,
|
|
4314
|
-
repeat: 0
|
|
4315
|
-
},
|
|
4316
|
-
{
|
|
4317
|
-
name: "formula.functionList.IMSIN.functionParameter.number2.name",
|
|
4318
|
-
detail: "formula.functionList.IMSIN.functionParameter.number2.detail",
|
|
4319
|
-
example: "A1:A20",
|
|
4198
|
+
name: "formula.functionList.IMSIN.functionParameter.inumber.name",
|
|
4199
|
+
detail: "formula.functionList.IMSIN.functionParameter.inumber.detail",
|
|
4200
|
+
example: '"4+3i"',
|
|
4320
4201
|
require: 1,
|
|
4321
4202
|
repeat: 0
|
|
4322
4203
|
}
|
|
@@ -4329,16 +4210,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4329
4210
|
abstract: "formula.functionList.IMSINH.abstract",
|
|
4330
4211
|
functionParameter: [
|
|
4331
4212
|
{
|
|
4332
|
-
name: "formula.functionList.IMSINH.functionParameter.
|
|
4333
|
-
detail: "formula.functionList.IMSINH.functionParameter.
|
|
4334
|
-
example: "
|
|
4335
|
-
require: 1,
|
|
4336
|
-
repeat: 0
|
|
4337
|
-
},
|
|
4338
|
-
{
|
|
4339
|
-
name: "formula.functionList.IMSINH.functionParameter.number2.name",
|
|
4340
|
-
detail: "formula.functionList.IMSINH.functionParameter.number2.detail",
|
|
4341
|
-
example: "A1:A20",
|
|
4213
|
+
name: "formula.functionList.IMSINH.functionParameter.inumber.name",
|
|
4214
|
+
detail: "formula.functionList.IMSINH.functionParameter.inumber.detail",
|
|
4215
|
+
example: '"4+3i"',
|
|
4342
4216
|
require: 1,
|
|
4343
4217
|
repeat: 0
|
|
4344
4218
|
}
|
|
@@ -4351,16 +4225,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4351
4225
|
abstract: "formula.functionList.IMSQRT.abstract",
|
|
4352
4226
|
functionParameter: [
|
|
4353
4227
|
{
|
|
4354
|
-
name: "formula.functionList.IMSQRT.functionParameter.
|
|
4355
|
-
detail: "formula.functionList.IMSQRT.functionParameter.
|
|
4356
|
-
example: "
|
|
4357
|
-
require: 1,
|
|
4358
|
-
repeat: 0
|
|
4359
|
-
},
|
|
4360
|
-
{
|
|
4361
|
-
name: "formula.functionList.IMSQRT.functionParameter.number2.name",
|
|
4362
|
-
detail: "formula.functionList.IMSQRT.functionParameter.number2.detail",
|
|
4363
|
-
example: "A1:A20",
|
|
4228
|
+
name: "formula.functionList.IMSQRT.functionParameter.inumber.name",
|
|
4229
|
+
detail: "formula.functionList.IMSQRT.functionParameter.inumber.detail",
|
|
4230
|
+
example: '"1+i"',
|
|
4364
4231
|
require: 1,
|
|
4365
4232
|
repeat: 0
|
|
4366
4233
|
}
|
|
@@ -4373,16 +4240,16 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4373
4240
|
abstract: "formula.functionList.IMSUB.abstract",
|
|
4374
4241
|
functionParameter: [
|
|
4375
4242
|
{
|
|
4376
|
-
name: "formula.functionList.IMSUB.functionParameter.
|
|
4377
|
-
detail: "formula.functionList.IMSUB.functionParameter.
|
|
4378
|
-
example: "
|
|
4243
|
+
name: "formula.functionList.IMSUB.functionParameter.inumber1.name",
|
|
4244
|
+
detail: "formula.functionList.IMSUB.functionParameter.inumber1.detail",
|
|
4245
|
+
example: '"13+4i"',
|
|
4379
4246
|
require: 1,
|
|
4380
4247
|
repeat: 0
|
|
4381
4248
|
},
|
|
4382
4249
|
{
|
|
4383
|
-
name: "formula.functionList.IMSUB.functionParameter.
|
|
4384
|
-
detail: "formula.functionList.IMSUB.functionParameter.
|
|
4385
|
-
example: "
|
|
4250
|
+
name: "formula.functionList.IMSUB.functionParameter.inumber2.name",
|
|
4251
|
+
detail: "formula.functionList.IMSUB.functionParameter.inumber2.detail",
|
|
4252
|
+
example: '"5+3i"',
|
|
4386
4253
|
require: 1,
|
|
4387
4254
|
repeat: 0
|
|
4388
4255
|
}
|
|
@@ -4395,18 +4262,18 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4395
4262
|
abstract: "formula.functionList.IMSUM.abstract",
|
|
4396
4263
|
functionParameter: [
|
|
4397
4264
|
{
|
|
4398
|
-
name: "formula.functionList.IMSUM.functionParameter.
|
|
4399
|
-
detail: "formula.functionList.IMSUM.functionParameter.
|
|
4400
|
-
example: "
|
|
4265
|
+
name: "formula.functionList.IMSUM.functionParameter.inumber1.name",
|
|
4266
|
+
detail: "formula.functionList.IMSUM.functionParameter.inumber1.detail",
|
|
4267
|
+
example: '"3+4i"',
|
|
4401
4268
|
require: 1,
|
|
4402
4269
|
repeat: 0
|
|
4403
4270
|
},
|
|
4404
4271
|
{
|
|
4405
|
-
name: "formula.functionList.IMSUM.functionParameter.
|
|
4406
|
-
detail: "formula.functionList.IMSUM.functionParameter.
|
|
4407
|
-
example: "
|
|
4408
|
-
require:
|
|
4409
|
-
repeat:
|
|
4272
|
+
name: "formula.functionList.IMSUM.functionParameter.inumber2.name",
|
|
4273
|
+
detail: "formula.functionList.IMSUM.functionParameter.inumber2.detail",
|
|
4274
|
+
example: '"5-3i"',
|
|
4275
|
+
require: 0,
|
|
4276
|
+
repeat: 1
|
|
4410
4277
|
}
|
|
4411
4278
|
]
|
|
4412
4279
|
},
|
|
@@ -4417,16 +4284,9 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
4417
4284
|
abstract: "formula.functionList.IMTAN.abstract",
|
|
4418
4285
|
functionParameter: [
|
|
4419
4286
|
{
|
|
4420
|
-
name: "formula.functionList.IMTAN.functionParameter.
|
|
4421
|
-
detail: "formula.functionList.IMTAN.functionParameter.
|
|
4422
|
-
example: "
|
|
4423
|
-
require: 1,
|
|
4424
|
-
repeat: 0
|
|
4425
|
-
},
|
|
4426
|
-
{
|
|
4427
|
-
name: "formula.functionList.IMTAN.functionParameter.number2.name",
|
|
4428
|
-
detail: "formula.functionList.IMTAN.functionParameter.number2.detail",
|
|
4429
|
-
example: "A1:A20",
|
|
4287
|
+
name: "formula.functionList.IMTAN.functionParameter.inumber.name",
|
|
4288
|
+
detail: "formula.functionList.IMTAN.functionParameter.inumber.detail",
|
|
4289
|
+
example: '"4+3i"',
|
|
4430
4290
|
require: 1,
|
|
4431
4291
|
repeat: 0
|
|
4432
4292
|
}
|
|
@@ -5174,18 +5034,46 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
5174
5034
|
abstract: "formula.functionList.DURATION.abstract",
|
|
5175
5035
|
functionParameter: [
|
|
5176
5036
|
{
|
|
5177
|
-
name: "formula.functionList.DURATION.functionParameter.
|
|
5178
|
-
detail: "formula.functionList.DURATION.functionParameter.
|
|
5179
|
-
example: "
|
|
5037
|
+
name: "formula.functionList.DURATION.functionParameter.settlement.name",
|
|
5038
|
+
detail: "formula.functionList.DURATION.functionParameter.settlement.detail",
|
|
5039
|
+
example: '"2018-7-1"',
|
|
5180
5040
|
require: 1,
|
|
5181
5041
|
repeat: 0
|
|
5182
5042
|
},
|
|
5183
5043
|
{
|
|
5184
|
-
name: "formula.functionList.DURATION.functionParameter.
|
|
5185
|
-
detail: "formula.functionList.DURATION.functionParameter.
|
|
5186
|
-
example: "
|
|
5044
|
+
name: "formula.functionList.DURATION.functionParameter.maturity.name",
|
|
5045
|
+
detail: "formula.functionList.DURATION.functionParameter.maturity.detail",
|
|
5046
|
+
example: '"2048-1-1"',
|
|
5047
|
+
require: 1,
|
|
5048
|
+
repeat: 0
|
|
5049
|
+
},
|
|
5050
|
+
{
|
|
5051
|
+
name: "formula.functionList.DURATION.functionParameter.coupon.name",
|
|
5052
|
+
detail: "formula.functionList.DURATION.functionParameter.coupon.detail",
|
|
5053
|
+
example: "0.08",
|
|
5054
|
+
require: 1,
|
|
5055
|
+
repeat: 0
|
|
5056
|
+
},
|
|
5057
|
+
{
|
|
5058
|
+
name: "formula.functionList.DURATION.functionParameter.yld.name",
|
|
5059
|
+
detail: "formula.functionList.DURATION.functionParameter.yld.detail",
|
|
5060
|
+
example: "0.09",
|
|
5061
|
+
require: 1,
|
|
5062
|
+
repeat: 0
|
|
5063
|
+
},
|
|
5064
|
+
{
|
|
5065
|
+
name: "formula.functionList.DURATION.functionParameter.frequency.name",
|
|
5066
|
+
detail: "formula.functionList.DURATION.functionParameter.frequency.detail",
|
|
5067
|
+
example: "2",
|
|
5187
5068
|
require: 1,
|
|
5188
5069
|
repeat: 0
|
|
5070
|
+
},
|
|
5071
|
+
{
|
|
5072
|
+
name: "formula.functionList.DURATION.functionParameter.basis.name",
|
|
5073
|
+
detail: "formula.functionList.DURATION.functionParameter.basis.detail",
|
|
5074
|
+
example: "1",
|
|
5075
|
+
require: 0,
|
|
5076
|
+
repeat: 0
|
|
5189
5077
|
}
|
|
5190
5078
|
]
|
|
5191
5079
|
},
|
|
@@ -5376,17 +5264,17 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
5376
5264
|
abstract: "formula.functionList.IRR.abstract",
|
|
5377
5265
|
functionParameter: [
|
|
5378
5266
|
{
|
|
5379
|
-
name: "formula.functionList.IRR.functionParameter.
|
|
5380
|
-
detail: "formula.functionList.IRR.functionParameter.
|
|
5381
|
-
example: "
|
|
5267
|
+
name: "formula.functionList.IRR.functionParameter.values.name",
|
|
5268
|
+
detail: "formula.functionList.IRR.functionParameter.values.detail",
|
|
5269
|
+
example: "{-700000,120000,150000,180000,210000,260000}",
|
|
5382
5270
|
require: 1,
|
|
5383
5271
|
repeat: 0
|
|
5384
5272
|
},
|
|
5385
5273
|
{
|
|
5386
|
-
name: "formula.functionList.IRR.functionParameter.
|
|
5387
|
-
detail: "formula.functionList.IRR.functionParameter.
|
|
5388
|
-
example: "
|
|
5389
|
-
require:
|
|
5274
|
+
name: "formula.functionList.IRR.functionParameter.guess.name",
|
|
5275
|
+
detail: "formula.functionList.IRR.functionParameter.guess.detail",
|
|
5276
|
+
example: "0.1",
|
|
5277
|
+
require: 0,
|
|
5390
5278
|
repeat: 0
|
|
5391
5279
|
}
|
|
5392
5280
|
]
|
|
@@ -5434,18 +5322,46 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
5434
5322
|
abstract: "formula.functionList.MDURATION.abstract",
|
|
5435
5323
|
functionParameter: [
|
|
5436
5324
|
{
|
|
5437
|
-
name: "formula.functionList.MDURATION.functionParameter.
|
|
5438
|
-
detail: "formula.functionList.MDURATION.functionParameter.
|
|
5439
|
-
example: "
|
|
5325
|
+
name: "formula.functionList.MDURATION.functionParameter.settlement.name",
|
|
5326
|
+
detail: "formula.functionList.MDURATION.functionParameter.settlement.detail",
|
|
5327
|
+
example: '"2018-7-1"',
|
|
5440
5328
|
require: 1,
|
|
5441
5329
|
repeat: 0
|
|
5442
5330
|
},
|
|
5443
5331
|
{
|
|
5444
|
-
name: "formula.functionList.MDURATION.functionParameter.
|
|
5445
|
-
detail: "formula.functionList.MDURATION.functionParameter.
|
|
5446
|
-
example: "
|
|
5332
|
+
name: "formula.functionList.MDURATION.functionParameter.maturity.name",
|
|
5333
|
+
detail: "formula.functionList.MDURATION.functionParameter.maturity.detail",
|
|
5334
|
+
example: '"2048-1-1"',
|
|
5447
5335
|
require: 1,
|
|
5448
5336
|
repeat: 0
|
|
5337
|
+
},
|
|
5338
|
+
{
|
|
5339
|
+
name: "formula.functionList.MDURATION.functionParameter.coupon.name",
|
|
5340
|
+
detail: "formula.functionList.MDURATION.functionParameter.coupon.detail",
|
|
5341
|
+
example: "0.08",
|
|
5342
|
+
require: 1,
|
|
5343
|
+
repeat: 0
|
|
5344
|
+
},
|
|
5345
|
+
{
|
|
5346
|
+
name: "formula.functionList.MDURATION.functionParameter.yld.name",
|
|
5347
|
+
detail: "formula.functionList.MDURATION.functionParameter.yld.detail",
|
|
5348
|
+
example: "0.09",
|
|
5349
|
+
require: 1,
|
|
5350
|
+
repeat: 0
|
|
5351
|
+
},
|
|
5352
|
+
{
|
|
5353
|
+
name: "formula.functionList.MDURATION.functionParameter.frequency.name",
|
|
5354
|
+
detail: "formula.functionList.MDURATION.functionParameter.frequency.detail",
|
|
5355
|
+
example: "2",
|
|
5356
|
+
require: 1,
|
|
5357
|
+
repeat: 0
|
|
5358
|
+
},
|
|
5359
|
+
{
|
|
5360
|
+
name: "formula.functionList.MDURATION.functionParameter.basis.name",
|
|
5361
|
+
detail: "formula.functionList.MDURATION.functionParameter.basis.detail",
|
|
5362
|
+
example: "1",
|
|
5363
|
+
require: 0,
|
|
5364
|
+
repeat: 0
|
|
5449
5365
|
}
|
|
5450
5366
|
]
|
|
5451
5367
|
},
|
|
@@ -5456,16 +5372,23 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
5456
5372
|
abstract: "formula.functionList.MIRR.abstract",
|
|
5457
5373
|
functionParameter: [
|
|
5458
5374
|
{
|
|
5459
|
-
name: "formula.functionList.MIRR.functionParameter.
|
|
5460
|
-
detail: "formula.functionList.MIRR.functionParameter.
|
|
5461
|
-
example: "
|
|
5375
|
+
name: "formula.functionList.MIRR.functionParameter.values.name",
|
|
5376
|
+
detail: "formula.functionList.MIRR.functionParameter.values.detail",
|
|
5377
|
+
example: "{-120000,39000,30000,21000,37000,46000}",
|
|
5462
5378
|
require: 1,
|
|
5463
5379
|
repeat: 0
|
|
5464
5380
|
},
|
|
5465
5381
|
{
|
|
5466
|
-
name: "formula.functionList.MIRR.functionParameter.
|
|
5467
|
-
detail: "formula.functionList.MIRR.functionParameter.
|
|
5468
|
-
example: "
|
|
5382
|
+
name: "formula.functionList.MIRR.functionParameter.financeRate.name",
|
|
5383
|
+
detail: "formula.functionList.MIRR.functionParameter.financeRate.detail",
|
|
5384
|
+
example: "0.1",
|
|
5385
|
+
require: 1,
|
|
5386
|
+
repeat: 0
|
|
5387
|
+
},
|
|
5388
|
+
{
|
|
5389
|
+
name: "formula.functionList.MIRR.functionParameter.reinvestRate.name",
|
|
5390
|
+
detail: "formula.functionList.MIRR.functionParameter.reinvestRate.detail",
|
|
5391
|
+
example: "0.12",
|
|
5469
5392
|
require: 1,
|
|
5470
5393
|
repeat: 0
|
|
5471
5394
|
}
|
|
@@ -5543,18 +5466,25 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
5543
5466
|
abstract: "formula.functionList.NPV.abstract",
|
|
5544
5467
|
functionParameter: [
|
|
5545
5468
|
{
|
|
5546
|
-
name: "formula.functionList.NPV.functionParameter.
|
|
5547
|
-
detail: "formula.functionList.NPV.functionParameter.
|
|
5548
|
-
example: "
|
|
5469
|
+
name: "formula.functionList.NPV.functionParameter.rate.name",
|
|
5470
|
+
detail: "formula.functionList.NPV.functionParameter.rate.detail",
|
|
5471
|
+
example: "0.1",
|
|
5549
5472
|
require: 1,
|
|
5550
5473
|
repeat: 0
|
|
5551
5474
|
},
|
|
5552
5475
|
{
|
|
5553
|
-
name: "formula.functionList.NPV.functionParameter.
|
|
5554
|
-
detail: "formula.functionList.NPV.functionParameter.
|
|
5555
|
-
example: "
|
|
5476
|
+
name: "formula.functionList.NPV.functionParameter.value1.name",
|
|
5477
|
+
detail: "formula.functionList.NPV.functionParameter.value1.detail",
|
|
5478
|
+
example: "{-10000,3000,4200,6800}",
|
|
5556
5479
|
require: 1,
|
|
5557
5480
|
repeat: 0
|
|
5481
|
+
},
|
|
5482
|
+
{
|
|
5483
|
+
name: "formula.functionList.NPV.functionParameter.value2.name",
|
|
5484
|
+
detail: "formula.functionList.NPV.functionParameter.value2.detail",
|
|
5485
|
+
example: "-9000",
|
|
5486
|
+
require: 0,
|
|
5487
|
+
repeat: 1
|
|
5558
5488
|
}
|
|
5559
5489
|
]
|
|
5560
5490
|
},
|
|
@@ -5565,104 +5495,293 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
5565
5495
|
abstract: "formula.functionList.ODDFPRICE.abstract",
|
|
5566
5496
|
functionParameter: [
|
|
5567
5497
|
{
|
|
5568
|
-
name: "formula.functionList.ODDFPRICE.functionParameter.
|
|
5569
|
-
detail: "formula.functionList.ODDFPRICE.functionParameter.
|
|
5570
|
-
example: "
|
|
5498
|
+
name: "formula.functionList.ODDFPRICE.functionParameter.settlement.name",
|
|
5499
|
+
detail: "formula.functionList.ODDFPRICE.functionParameter.settlement.detail",
|
|
5500
|
+
example: '"2008-11-11"',
|
|
5571
5501
|
require: 1,
|
|
5572
5502
|
repeat: 0
|
|
5573
5503
|
},
|
|
5574
5504
|
{
|
|
5575
|
-
name: "formula.functionList.ODDFPRICE.functionParameter.
|
|
5576
|
-
detail: "formula.functionList.ODDFPRICE.functionParameter.
|
|
5577
|
-
example: "
|
|
5505
|
+
name: "formula.functionList.ODDFPRICE.functionParameter.maturity.name",
|
|
5506
|
+
detail: "formula.functionList.ODDFPRICE.functionParameter.maturity.detail",
|
|
5507
|
+
example: '"2021-3-1"',
|
|
5578
5508
|
require: 1,
|
|
5579
5509
|
repeat: 0
|
|
5580
|
-
}
|
|
5581
|
-
]
|
|
5582
|
-
},
|
|
5583
|
-
{
|
|
5584
|
-
functionName: FUNCTION_NAMES_FINANCIAL.ODDFYIELD,
|
|
5585
|
-
functionType: FunctionType.Financial,
|
|
5586
|
-
description: "formula.functionList.ODDFYIELD.description",
|
|
5587
|
-
abstract: "formula.functionList.ODDFYIELD.abstract",
|
|
5588
|
-
functionParameter: [
|
|
5510
|
+
},
|
|
5589
5511
|
{
|
|
5590
|
-
name: "formula.functionList.
|
|
5591
|
-
detail: "formula.functionList.
|
|
5592
|
-
example: "
|
|
5512
|
+
name: "formula.functionList.ODDFPRICE.functionParameter.issue.name",
|
|
5513
|
+
detail: "formula.functionList.ODDFPRICE.functionParameter.issue.detail",
|
|
5514
|
+
example: '"2008-10-15"',
|
|
5593
5515
|
require: 1,
|
|
5594
5516
|
repeat: 0
|
|
5595
5517
|
},
|
|
5596
5518
|
{
|
|
5597
|
-
name: "formula.functionList.
|
|
5598
|
-
detail: "formula.functionList.
|
|
5599
|
-
example: "
|
|
5519
|
+
name: "formula.functionList.ODDFPRICE.functionParameter.firstCoupon.name",
|
|
5520
|
+
detail: "formula.functionList.ODDFPRICE.functionParameter.firstCoupon.detail",
|
|
5521
|
+
example: '"2009-3-1"',
|
|
5600
5522
|
require: 1,
|
|
5601
5523
|
repeat: 0
|
|
5602
|
-
}
|
|
5603
|
-
]
|
|
5604
|
-
},
|
|
5605
|
-
{
|
|
5606
|
-
functionName: FUNCTION_NAMES_FINANCIAL.ODDLPRICE,
|
|
5607
|
-
functionType: FunctionType.Financial,
|
|
5608
|
-
description: "formula.functionList.ODDLPRICE.description",
|
|
5609
|
-
abstract: "formula.functionList.ODDLPRICE.abstract",
|
|
5610
|
-
functionParameter: [
|
|
5524
|
+
},
|
|
5611
5525
|
{
|
|
5612
|
-
name: "formula.functionList.
|
|
5613
|
-
detail: "formula.functionList.
|
|
5614
|
-
example: "
|
|
5526
|
+
name: "formula.functionList.ODDFPRICE.functionParameter.rate.name",
|
|
5527
|
+
detail: "formula.functionList.ODDFPRICE.functionParameter.rate.detail",
|
|
5528
|
+
example: "0.0785",
|
|
5615
5529
|
require: 1,
|
|
5616
5530
|
repeat: 0
|
|
5617
5531
|
},
|
|
5618
5532
|
{
|
|
5619
|
-
name: "formula.functionList.
|
|
5620
|
-
detail: "formula.functionList.
|
|
5621
|
-
example: "
|
|
5533
|
+
name: "formula.functionList.ODDFPRICE.functionParameter.yld.name",
|
|
5534
|
+
detail: "formula.functionList.ODDFPRICE.functionParameter.yld.detail",
|
|
5535
|
+
example: "0.0625",
|
|
5622
5536
|
require: 1,
|
|
5623
5537
|
repeat: 0
|
|
5624
|
-
}
|
|
5625
|
-
]
|
|
5626
|
-
},
|
|
5627
|
-
{
|
|
5628
|
-
functionName: FUNCTION_NAMES_FINANCIAL.ODDLYIELD,
|
|
5629
|
-
functionType: FunctionType.Financial,
|
|
5630
|
-
description: "formula.functionList.ODDLYIELD.description",
|
|
5631
|
-
abstract: "formula.functionList.ODDLYIELD.abstract",
|
|
5632
|
-
functionParameter: [
|
|
5538
|
+
},
|
|
5633
5539
|
{
|
|
5634
|
-
name: "formula.functionList.
|
|
5635
|
-
detail: "formula.functionList.
|
|
5636
|
-
example: "
|
|
5540
|
+
name: "formula.functionList.ODDFPRICE.functionParameter.redemption.name",
|
|
5541
|
+
detail: "formula.functionList.ODDFPRICE.functionParameter.redemption.detail",
|
|
5542
|
+
example: "100",
|
|
5637
5543
|
require: 1,
|
|
5638
5544
|
repeat: 0
|
|
5639
5545
|
},
|
|
5640
5546
|
{
|
|
5641
|
-
name: "formula.functionList.
|
|
5642
|
-
detail: "formula.functionList.
|
|
5643
|
-
example: "
|
|
5547
|
+
name: "formula.functionList.ODDFPRICE.functionParameter.frequency.name",
|
|
5548
|
+
detail: "formula.functionList.ODDFPRICE.functionParameter.frequency.detail",
|
|
5549
|
+
example: "2",
|
|
5644
5550
|
require: 1,
|
|
5645
5551
|
repeat: 0
|
|
5552
|
+
},
|
|
5553
|
+
{
|
|
5554
|
+
name: "formula.functionList.ODDFPRICE.functionParameter.basis.name",
|
|
5555
|
+
detail: "formula.functionList.ODDFPRICE.functionParameter.basis.detail",
|
|
5556
|
+
example: "1",
|
|
5557
|
+
require: 0,
|
|
5558
|
+
repeat: 0
|
|
5646
5559
|
}
|
|
5647
5560
|
]
|
|
5648
5561
|
},
|
|
5649
5562
|
{
|
|
5650
|
-
functionName: FUNCTION_NAMES_FINANCIAL.
|
|
5563
|
+
functionName: FUNCTION_NAMES_FINANCIAL.ODDFYIELD,
|
|
5651
5564
|
functionType: FunctionType.Financial,
|
|
5652
|
-
description: "formula.functionList.
|
|
5565
|
+
description: "formula.functionList.ODDFYIELD.description",
|
|
5566
|
+
abstract: "formula.functionList.ODDFYIELD.abstract",
|
|
5567
|
+
functionParameter: [
|
|
5568
|
+
{
|
|
5569
|
+
name: "formula.functionList.ODDFYIELD.functionParameter.settlement.name",
|
|
5570
|
+
detail: "formula.functionList.ODDFYIELD.functionParameter.settlement.detail",
|
|
5571
|
+
example: '"2008-11-11"',
|
|
5572
|
+
require: 1,
|
|
5573
|
+
repeat: 0
|
|
5574
|
+
},
|
|
5575
|
+
{
|
|
5576
|
+
name: "formula.functionList.ODDFYIELD.functionParameter.maturity.name",
|
|
5577
|
+
detail: "formula.functionList.ODDFYIELD.functionParameter.maturity.detail",
|
|
5578
|
+
example: '"2021-3-1"',
|
|
5579
|
+
require: 1,
|
|
5580
|
+
repeat: 0
|
|
5581
|
+
},
|
|
5582
|
+
{
|
|
5583
|
+
name: "formula.functionList.ODDFYIELD.functionParameter.issue.name",
|
|
5584
|
+
detail: "formula.functionList.ODDFYIELD.functionParameter.issue.detail",
|
|
5585
|
+
example: '"2008-10-15"',
|
|
5586
|
+
require: 1,
|
|
5587
|
+
repeat: 0
|
|
5588
|
+
},
|
|
5589
|
+
{
|
|
5590
|
+
name: "formula.functionList.ODDFYIELD.functionParameter.firstCoupon.name",
|
|
5591
|
+
detail: "formula.functionList.ODDFYIELD.functionParameter.firstCoupon.detail",
|
|
5592
|
+
example: '"2009-3-1"',
|
|
5593
|
+
require: 1,
|
|
5594
|
+
repeat: 0
|
|
5595
|
+
},
|
|
5596
|
+
{
|
|
5597
|
+
name: "formula.functionList.ODDFYIELD.functionParameter.rate.name",
|
|
5598
|
+
detail: "formula.functionList.ODDFYIELD.functionParameter.rate.detail",
|
|
5599
|
+
example: "0.0575",
|
|
5600
|
+
require: 1,
|
|
5601
|
+
repeat: 0
|
|
5602
|
+
},
|
|
5603
|
+
{
|
|
5604
|
+
name: "formula.functionList.ODDFYIELD.functionParameter.pr.name",
|
|
5605
|
+
detail: "formula.functionList.ODDFYIELD.functionParameter.pr.detail",
|
|
5606
|
+
example: "84.5",
|
|
5607
|
+
require: 1,
|
|
5608
|
+
repeat: 0
|
|
5609
|
+
},
|
|
5610
|
+
{
|
|
5611
|
+
name: "formula.functionList.ODDFYIELD.functionParameter.redemption.name",
|
|
5612
|
+
detail: "formula.functionList.ODDFYIELD.functionParameter.redemption.detail",
|
|
5613
|
+
example: "100",
|
|
5614
|
+
require: 1,
|
|
5615
|
+
repeat: 0
|
|
5616
|
+
},
|
|
5617
|
+
{
|
|
5618
|
+
name: "formula.functionList.ODDFYIELD.functionParameter.frequency.name",
|
|
5619
|
+
detail: "formula.functionList.ODDFYIELD.functionParameter.frequency.detail",
|
|
5620
|
+
example: "2",
|
|
5621
|
+
require: 1,
|
|
5622
|
+
repeat: 0
|
|
5623
|
+
},
|
|
5624
|
+
{
|
|
5625
|
+
name: "formula.functionList.ODDFYIELD.functionParameter.basis.name",
|
|
5626
|
+
detail: "formula.functionList.ODDFYIELD.functionParameter.basis.detail",
|
|
5627
|
+
example: "0",
|
|
5628
|
+
require: 0,
|
|
5629
|
+
repeat: 0
|
|
5630
|
+
}
|
|
5631
|
+
]
|
|
5632
|
+
},
|
|
5633
|
+
{
|
|
5634
|
+
functionName: FUNCTION_NAMES_FINANCIAL.ODDLPRICE,
|
|
5635
|
+
functionType: FunctionType.Financial,
|
|
5636
|
+
description: "formula.functionList.ODDLPRICE.description",
|
|
5637
|
+
abstract: "formula.functionList.ODDLPRICE.abstract",
|
|
5638
|
+
functionParameter: [
|
|
5639
|
+
{
|
|
5640
|
+
name: "formula.functionList.ODDLPRICE.functionParameter.settlement.name",
|
|
5641
|
+
detail: "formula.functionList.ODDLPRICE.functionParameter.settlement.detail",
|
|
5642
|
+
example: '"2008-11-11"',
|
|
5643
|
+
require: 1,
|
|
5644
|
+
repeat: 0
|
|
5645
|
+
},
|
|
5646
|
+
{
|
|
5647
|
+
name: "formula.functionList.ODDLPRICE.functionParameter.maturity.name",
|
|
5648
|
+
detail: "formula.functionList.ODDLPRICE.functionParameter.maturity.detail",
|
|
5649
|
+
example: '"2021-3-1"',
|
|
5650
|
+
require: 1,
|
|
5651
|
+
repeat: 0
|
|
5652
|
+
},
|
|
5653
|
+
{
|
|
5654
|
+
name: "formula.functionList.ODDLPRICE.functionParameter.lastInterest.name",
|
|
5655
|
+
detail: "formula.functionList.ODDLPRICE.functionParameter.lastInterest.detail",
|
|
5656
|
+
example: '"2009-3-1"',
|
|
5657
|
+
require: 1,
|
|
5658
|
+
repeat: 0
|
|
5659
|
+
},
|
|
5660
|
+
{
|
|
5661
|
+
name: "formula.functionList.ODDLPRICE.functionParameter.rate.name",
|
|
5662
|
+
detail: "formula.functionList.ODDLPRICE.functionParameter.rate.detail",
|
|
5663
|
+
example: "0.0785",
|
|
5664
|
+
require: 1,
|
|
5665
|
+
repeat: 0
|
|
5666
|
+
},
|
|
5667
|
+
{
|
|
5668
|
+
name: "formula.functionList.ODDLPRICE.functionParameter.yld.name",
|
|
5669
|
+
detail: "formula.functionList.ODDLPRICE.functionParameter.yld.detail",
|
|
5670
|
+
example: "0.0625",
|
|
5671
|
+
require: 1,
|
|
5672
|
+
repeat: 0
|
|
5673
|
+
},
|
|
5674
|
+
{
|
|
5675
|
+
name: "formula.functionList.ODDLPRICE.functionParameter.redemption.name",
|
|
5676
|
+
detail: "formula.functionList.ODDLPRICE.functionParameter.redemption.detail",
|
|
5677
|
+
example: "100",
|
|
5678
|
+
require: 1,
|
|
5679
|
+
repeat: 0
|
|
5680
|
+
},
|
|
5681
|
+
{
|
|
5682
|
+
name: "formula.functionList.ODDLPRICE.functionParameter.frequency.name",
|
|
5683
|
+
detail: "formula.functionList.ODDLPRICE.functionParameter.frequency.detail",
|
|
5684
|
+
example: "2",
|
|
5685
|
+
require: 1,
|
|
5686
|
+
repeat: 0
|
|
5687
|
+
},
|
|
5688
|
+
{
|
|
5689
|
+
name: "formula.functionList.ODDLPRICE.functionParameter.basis.name",
|
|
5690
|
+
detail: "formula.functionList.ODDLPRICE.functionParameter.basis.detail",
|
|
5691
|
+
example: "1",
|
|
5692
|
+
require: 0,
|
|
5693
|
+
repeat: 0
|
|
5694
|
+
}
|
|
5695
|
+
]
|
|
5696
|
+
},
|
|
5697
|
+
{
|
|
5698
|
+
functionName: FUNCTION_NAMES_FINANCIAL.ODDLYIELD,
|
|
5699
|
+
functionType: FunctionType.Financial,
|
|
5700
|
+
description: "formula.functionList.ODDLYIELD.description",
|
|
5701
|
+
abstract: "formula.functionList.ODDLYIELD.abstract",
|
|
5702
|
+
functionParameter: [
|
|
5703
|
+
{
|
|
5704
|
+
name: "formula.functionList.ODDLYIELD.functionParameter.settlement.name",
|
|
5705
|
+
detail: "formula.functionList.ODDLYIELD.functionParameter.settlement.detail",
|
|
5706
|
+
example: '"2008-11-11"',
|
|
5707
|
+
require: 1,
|
|
5708
|
+
repeat: 0
|
|
5709
|
+
},
|
|
5710
|
+
{
|
|
5711
|
+
name: "formula.functionList.ODDLYIELD.functionParameter.maturity.name",
|
|
5712
|
+
detail: "formula.functionList.ODDLYIELD.functionParameter.maturity.detail",
|
|
5713
|
+
example: '"2021-3-1"',
|
|
5714
|
+
require: 1,
|
|
5715
|
+
repeat: 0
|
|
5716
|
+
},
|
|
5717
|
+
{
|
|
5718
|
+
name: "formula.functionList.ODDLYIELD.functionParameter.lastInterest.name",
|
|
5719
|
+
detail: "formula.functionList.ODDLYIELD.functionParameter.lastInterest.detail",
|
|
5720
|
+
example: '"2008-10-15"',
|
|
5721
|
+
require: 1,
|
|
5722
|
+
repeat: 0
|
|
5723
|
+
},
|
|
5724
|
+
{
|
|
5725
|
+
name: "formula.functionList.ODDLYIELD.functionParameter.rate.name",
|
|
5726
|
+
detail: "formula.functionList.ODDLYIELD.functionParameter.rate.detail",
|
|
5727
|
+
example: "0.0575",
|
|
5728
|
+
require: 1,
|
|
5729
|
+
repeat: 0
|
|
5730
|
+
},
|
|
5731
|
+
{
|
|
5732
|
+
name: "formula.functionList.ODDLYIELD.functionParameter.pr.name",
|
|
5733
|
+
detail: "formula.functionList.ODDLYIELD.functionParameter.pr.detail",
|
|
5734
|
+
example: "84.5",
|
|
5735
|
+
require: 1,
|
|
5736
|
+
repeat: 0
|
|
5737
|
+
},
|
|
5738
|
+
{
|
|
5739
|
+
name: "formula.functionList.ODDLYIELD.functionParameter.redemption.name",
|
|
5740
|
+
detail: "formula.functionList.ODDLYIELD.functionParameter.redemption.detail",
|
|
5741
|
+
example: "100",
|
|
5742
|
+
require: 1,
|
|
5743
|
+
repeat: 0
|
|
5744
|
+
},
|
|
5745
|
+
{
|
|
5746
|
+
name: "formula.functionList.ODDLYIELD.functionParameter.frequency.name",
|
|
5747
|
+
detail: "formula.functionList.ODDLYIELD.functionParameter.frequency.detail",
|
|
5748
|
+
example: "2",
|
|
5749
|
+
require: 1,
|
|
5750
|
+
repeat: 0
|
|
5751
|
+
},
|
|
5752
|
+
{
|
|
5753
|
+
name: "formula.functionList.ODDLYIELD.functionParameter.basis.name",
|
|
5754
|
+
detail: "formula.functionList.ODDLYIELD.functionParameter.basis.detail",
|
|
5755
|
+
example: "0",
|
|
5756
|
+
require: 0,
|
|
5757
|
+
repeat: 0
|
|
5758
|
+
}
|
|
5759
|
+
]
|
|
5760
|
+
},
|
|
5761
|
+
{
|
|
5762
|
+
functionName: FUNCTION_NAMES_FINANCIAL.PDURATION,
|
|
5763
|
+
functionType: FunctionType.Financial,
|
|
5764
|
+
description: "formula.functionList.PDURATION.description",
|
|
5653
5765
|
abstract: "formula.functionList.PDURATION.abstract",
|
|
5654
5766
|
functionParameter: [
|
|
5655
5767
|
{
|
|
5656
|
-
name: "formula.functionList.PDURATION.functionParameter.
|
|
5657
|
-
detail: "formula.functionList.PDURATION.functionParameter.
|
|
5658
|
-
example: "
|
|
5768
|
+
name: "formula.functionList.PDURATION.functionParameter.rate.name",
|
|
5769
|
+
detail: "formula.functionList.PDURATION.functionParameter.rate.detail",
|
|
5770
|
+
example: "0.025",
|
|
5659
5771
|
require: 1,
|
|
5660
5772
|
repeat: 0
|
|
5661
5773
|
},
|
|
5662
5774
|
{
|
|
5663
|
-
name: "formula.functionList.PDURATION.functionParameter.
|
|
5664
|
-
detail: "formula.functionList.PDURATION.functionParameter.
|
|
5665
|
-
example: "
|
|
5775
|
+
name: "formula.functionList.PDURATION.functionParameter.pv.name",
|
|
5776
|
+
detail: "formula.functionList.PDURATION.functionParameter.pv.detail",
|
|
5777
|
+
example: "2000",
|
|
5778
|
+
require: 1,
|
|
5779
|
+
repeat: 0
|
|
5780
|
+
},
|
|
5781
|
+
{
|
|
5782
|
+
name: "formula.functionList.PDURATION.functionParameter.fv.name",
|
|
5783
|
+
detail: "formula.functionList.PDURATION.functionParameter.fv.detail",
|
|
5784
|
+
example: "2200",
|
|
5666
5785
|
require: 1,
|
|
5667
5786
|
repeat: 0
|
|
5668
5787
|
}
|
|
@@ -5768,18 +5887,53 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
5768
5887
|
abstract: "formula.functionList.PRICE.abstract",
|
|
5769
5888
|
functionParameter: [
|
|
5770
5889
|
{
|
|
5771
|
-
name: "formula.functionList.PRICE.functionParameter.
|
|
5772
|
-
detail: "formula.functionList.PRICE.functionParameter.
|
|
5773
|
-
example: "
|
|
5890
|
+
name: "formula.functionList.PRICE.functionParameter.settlement.name",
|
|
5891
|
+
detail: "formula.functionList.PRICE.functionParameter.settlement.detail",
|
|
5892
|
+
example: '"2008-11-11"',
|
|
5774
5893
|
require: 1,
|
|
5775
5894
|
repeat: 0
|
|
5776
5895
|
},
|
|
5777
5896
|
{
|
|
5778
|
-
name: "formula.functionList.PRICE.functionParameter.
|
|
5779
|
-
detail: "formula.functionList.PRICE.functionParameter.
|
|
5780
|
-
example: "
|
|
5897
|
+
name: "formula.functionList.PRICE.functionParameter.maturity.name",
|
|
5898
|
+
detail: "formula.functionList.PRICE.functionParameter.maturity.detail",
|
|
5899
|
+
example: '"2021-3-1"',
|
|
5900
|
+
require: 1,
|
|
5901
|
+
repeat: 0
|
|
5902
|
+
},
|
|
5903
|
+
{
|
|
5904
|
+
name: "formula.functionList.PRICE.functionParameter.rate.name",
|
|
5905
|
+
detail: "formula.functionList.PRICE.functionParameter.rate.detail",
|
|
5906
|
+
example: "0.0785",
|
|
5907
|
+
require: 1,
|
|
5908
|
+
repeat: 0
|
|
5909
|
+
},
|
|
5910
|
+
{
|
|
5911
|
+
name: "formula.functionList.PRICE.functionParameter.yld.name",
|
|
5912
|
+
detail: "formula.functionList.PRICE.functionParameter.yld.detail",
|
|
5913
|
+
example: "0.0625",
|
|
5914
|
+
require: 1,
|
|
5915
|
+
repeat: 0
|
|
5916
|
+
},
|
|
5917
|
+
{
|
|
5918
|
+
name: "formula.functionList.PRICE.functionParameter.redemption.name",
|
|
5919
|
+
detail: "formula.functionList.PRICE.functionParameter.redemption.detail",
|
|
5920
|
+
example: "100",
|
|
5921
|
+
require: 1,
|
|
5922
|
+
repeat: 0
|
|
5923
|
+
},
|
|
5924
|
+
{
|
|
5925
|
+
name: "formula.functionList.PRICE.functionParameter.frequency.name",
|
|
5926
|
+
detail: "formula.functionList.PRICE.functionParameter.frequency.detail",
|
|
5927
|
+
example: "2",
|
|
5781
5928
|
require: 1,
|
|
5782
5929
|
repeat: 0
|
|
5930
|
+
},
|
|
5931
|
+
{
|
|
5932
|
+
name: "formula.functionList.PRICE.functionParameter.basis.name",
|
|
5933
|
+
detail: "formula.functionList.PRICE.functionParameter.basis.detail",
|
|
5934
|
+
example: "1",
|
|
5935
|
+
require: 0,
|
|
5936
|
+
repeat: 0
|
|
5783
5937
|
}
|
|
5784
5938
|
]
|
|
5785
5939
|
},
|
|
@@ -5790,18 +5944,39 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
5790
5944
|
abstract: "formula.functionList.PRICEDISC.abstract",
|
|
5791
5945
|
functionParameter: [
|
|
5792
5946
|
{
|
|
5793
|
-
name: "formula.functionList.PRICEDISC.functionParameter.
|
|
5794
|
-
detail: "formula.functionList.PRICEDISC.functionParameter.
|
|
5795
|
-
example: "
|
|
5947
|
+
name: "formula.functionList.PRICEDISC.functionParameter.settlement.name",
|
|
5948
|
+
detail: "formula.functionList.PRICEDISC.functionParameter.settlement.detail",
|
|
5949
|
+
example: '"2008-11-11"',
|
|
5796
5950
|
require: 1,
|
|
5797
5951
|
repeat: 0
|
|
5798
5952
|
},
|
|
5799
5953
|
{
|
|
5800
|
-
name: "formula.functionList.PRICEDISC.functionParameter.
|
|
5801
|
-
detail: "formula.functionList.PRICEDISC.functionParameter.
|
|
5802
|
-
example: "
|
|
5954
|
+
name: "formula.functionList.PRICEDISC.functionParameter.maturity.name",
|
|
5955
|
+
detail: "formula.functionList.PRICEDISC.functionParameter.maturity.detail",
|
|
5956
|
+
example: '"2021-3-1"',
|
|
5957
|
+
require: 1,
|
|
5958
|
+
repeat: 0
|
|
5959
|
+
},
|
|
5960
|
+
{
|
|
5961
|
+
name: "formula.functionList.PRICEDISC.functionParameter.discount.name",
|
|
5962
|
+
detail: "formula.functionList.PRICEDISC.functionParameter.discount.detail",
|
|
5963
|
+
example: "0.0625",
|
|
5803
5964
|
require: 1,
|
|
5804
5965
|
repeat: 0
|
|
5966
|
+
},
|
|
5967
|
+
{
|
|
5968
|
+
name: "formula.functionList.PRICEDISC.functionParameter.redemption.name",
|
|
5969
|
+
detail: "formula.functionList.PRICEDISC.functionParameter.redemption.detail",
|
|
5970
|
+
example: "100",
|
|
5971
|
+
require: 1,
|
|
5972
|
+
repeat: 0
|
|
5973
|
+
},
|
|
5974
|
+
{
|
|
5975
|
+
name: "formula.functionList.PRICEDISC.functionParameter.basis.name",
|
|
5976
|
+
detail: "formula.functionList.PRICEDISC.functionParameter.basis.detail",
|
|
5977
|
+
example: "1",
|
|
5978
|
+
require: 0,
|
|
5979
|
+
repeat: 0
|
|
5805
5980
|
}
|
|
5806
5981
|
]
|
|
5807
5982
|
},
|
|
@@ -5812,18 +5987,46 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
5812
5987
|
abstract: "formula.functionList.PRICEMAT.abstract",
|
|
5813
5988
|
functionParameter: [
|
|
5814
5989
|
{
|
|
5815
|
-
name: "formula.functionList.PRICEMAT.functionParameter.
|
|
5816
|
-
detail: "formula.functionList.PRICEMAT.functionParameter.
|
|
5817
|
-
example: "
|
|
5990
|
+
name: "formula.functionList.PRICEMAT.functionParameter.settlement.name",
|
|
5991
|
+
detail: "formula.functionList.PRICEMAT.functionParameter.settlement.detail",
|
|
5992
|
+
example: '"2008-11-11"',
|
|
5818
5993
|
require: 1,
|
|
5819
5994
|
repeat: 0
|
|
5820
5995
|
},
|
|
5821
5996
|
{
|
|
5822
|
-
name: "formula.functionList.PRICEMAT.functionParameter.
|
|
5823
|
-
detail: "formula.functionList.PRICEMAT.functionParameter.
|
|
5824
|
-
example: "
|
|
5997
|
+
name: "formula.functionList.PRICEMAT.functionParameter.maturity.name",
|
|
5998
|
+
detail: "formula.functionList.PRICEMAT.functionParameter.maturity.detail",
|
|
5999
|
+
example: '"2021-3-1"',
|
|
6000
|
+
require: 1,
|
|
6001
|
+
repeat: 0
|
|
6002
|
+
},
|
|
6003
|
+
{
|
|
6004
|
+
name: "formula.functionList.PRICEMAT.functionParameter.issue.name",
|
|
6005
|
+
detail: "formula.functionList.PRICEMAT.functionParameter.issue.detail",
|
|
6006
|
+
example: '"2008-10-15"',
|
|
6007
|
+
require: 1,
|
|
6008
|
+
repeat: 0
|
|
6009
|
+
},
|
|
6010
|
+
{
|
|
6011
|
+
name: "formula.functionList.PRICEMAT.functionParameter.rate.name",
|
|
6012
|
+
detail: "formula.functionList.PRICEMAT.functionParameter.rate.detail",
|
|
6013
|
+
example: "0.0785",
|
|
5825
6014
|
require: 1,
|
|
5826
6015
|
repeat: 0
|
|
6016
|
+
},
|
|
6017
|
+
{
|
|
6018
|
+
name: "formula.functionList.PRICEMAT.functionParameter.yld.name",
|
|
6019
|
+
detail: "formula.functionList.PRICEMAT.functionParameter.yld.detail",
|
|
6020
|
+
example: "0.0625",
|
|
6021
|
+
require: 1,
|
|
6022
|
+
repeat: 0
|
|
6023
|
+
},
|
|
6024
|
+
{
|
|
6025
|
+
name: "formula.functionList.PRICEMAT.functionParameter.basis.name",
|
|
6026
|
+
detail: "formula.functionList.PRICEMAT.functionParameter.basis.detail",
|
|
6027
|
+
example: "1",
|
|
6028
|
+
require: 0,
|
|
6029
|
+
repeat: 0
|
|
5827
6030
|
}
|
|
5828
6031
|
]
|
|
5829
6032
|
},
|
|
@@ -5927,18 +6130,39 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
5927
6130
|
abstract: "formula.functionList.RECEIVED.abstract",
|
|
5928
6131
|
functionParameter: [
|
|
5929
6132
|
{
|
|
5930
|
-
name: "formula.functionList.RECEIVED.functionParameter.
|
|
5931
|
-
detail: "formula.functionList.RECEIVED.functionParameter.
|
|
5932
|
-
example: "
|
|
6133
|
+
name: "formula.functionList.RECEIVED.functionParameter.settlement.name",
|
|
6134
|
+
detail: "formula.functionList.RECEIVED.functionParameter.settlement.detail",
|
|
6135
|
+
example: '"2008-2-15"',
|
|
5933
6136
|
require: 1,
|
|
5934
6137
|
repeat: 0
|
|
5935
6138
|
},
|
|
5936
6139
|
{
|
|
5937
|
-
name: "formula.functionList.RECEIVED.functionParameter.
|
|
5938
|
-
detail: "formula.functionList.RECEIVED.functionParameter.
|
|
5939
|
-
example: "
|
|
6140
|
+
name: "formula.functionList.RECEIVED.functionParameter.maturity.name",
|
|
6141
|
+
detail: "formula.functionList.RECEIVED.functionParameter.maturity.detail",
|
|
6142
|
+
example: '"2008-3-15"',
|
|
6143
|
+
require: 1,
|
|
6144
|
+
repeat: 0
|
|
6145
|
+
},
|
|
6146
|
+
{
|
|
6147
|
+
name: "formula.functionList.RECEIVED.functionParameter.investment.name",
|
|
6148
|
+
detail: "formula.functionList.RECEIVED.functionParameter.investment.detail",
|
|
6149
|
+
example: "10000000",
|
|
6150
|
+
require: 1,
|
|
6151
|
+
repeat: 0
|
|
6152
|
+
},
|
|
6153
|
+
{
|
|
6154
|
+
name: "formula.functionList.RECEIVED.functionParameter.discount.name",
|
|
6155
|
+
detail: "formula.functionList.RECEIVED.functionParameter.discount.detail",
|
|
6156
|
+
example: "0.0575",
|
|
5940
6157
|
require: 1,
|
|
5941
6158
|
repeat: 0
|
|
6159
|
+
},
|
|
6160
|
+
{
|
|
6161
|
+
name: "formula.functionList.RECEIVED.functionParameter.basis.name",
|
|
6162
|
+
detail: "formula.functionList.RECEIVED.functionParameter.basis.detail",
|
|
6163
|
+
example: "2",
|
|
6164
|
+
require: 0,
|
|
6165
|
+
repeat: 0
|
|
5942
6166
|
}
|
|
5943
6167
|
]
|
|
5944
6168
|
},
|
|
@@ -5949,16 +6173,23 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
5949
6173
|
abstract: "formula.functionList.RRI.abstract",
|
|
5950
6174
|
functionParameter: [
|
|
5951
6175
|
{
|
|
5952
|
-
name: "formula.functionList.RRI.functionParameter.
|
|
5953
|
-
detail: "formula.functionList.RRI.functionParameter.
|
|
5954
|
-
example: "
|
|
6176
|
+
name: "formula.functionList.RRI.functionParameter.nper.name",
|
|
6177
|
+
detail: "formula.functionList.RRI.functionParameter.nper.detail",
|
|
6178
|
+
example: "96",
|
|
5955
6179
|
require: 1,
|
|
5956
6180
|
repeat: 0
|
|
5957
6181
|
},
|
|
5958
6182
|
{
|
|
5959
|
-
name: "formula.functionList.RRI.functionParameter.
|
|
5960
|
-
detail: "formula.functionList.RRI.functionParameter.
|
|
5961
|
-
example: "
|
|
6183
|
+
name: "formula.functionList.RRI.functionParameter.pv.name",
|
|
6184
|
+
detail: "formula.functionList.RRI.functionParameter.pv.detail",
|
|
6185
|
+
example: "10000",
|
|
6186
|
+
require: 1,
|
|
6187
|
+
repeat: 0
|
|
6188
|
+
},
|
|
6189
|
+
{
|
|
6190
|
+
name: "formula.functionList.RRI.functionParameter.fv.name",
|
|
6191
|
+
detail: "formula.functionList.RRI.functionParameter.fv.detail",
|
|
6192
|
+
example: "11000",
|
|
5962
6193
|
require: 1,
|
|
5963
6194
|
repeat: 0
|
|
5964
6195
|
}
|
|
@@ -5971,16 +6202,23 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
5971
6202
|
abstract: "formula.functionList.SLN.abstract",
|
|
5972
6203
|
functionParameter: [
|
|
5973
6204
|
{
|
|
5974
|
-
name: "formula.functionList.SLN.functionParameter.
|
|
5975
|
-
detail: "formula.functionList.SLN.functionParameter.
|
|
5976
|
-
example: "
|
|
6205
|
+
name: "formula.functionList.SLN.functionParameter.cost.name",
|
|
6206
|
+
detail: "formula.functionList.SLN.functionParameter.cost.detail",
|
|
6207
|
+
example: "300000",
|
|
5977
6208
|
require: 1,
|
|
5978
6209
|
repeat: 0
|
|
5979
6210
|
},
|
|
5980
6211
|
{
|
|
5981
|
-
name: "formula.functionList.SLN.functionParameter.
|
|
5982
|
-
detail: "formula.functionList.SLN.functionParameter.
|
|
5983
|
-
example: "
|
|
6212
|
+
name: "formula.functionList.SLN.functionParameter.salvage.name",
|
|
6213
|
+
detail: "formula.functionList.SLN.functionParameter.salvage.detail",
|
|
6214
|
+
example: "75000",
|
|
6215
|
+
require: 1,
|
|
6216
|
+
repeat: 0
|
|
6217
|
+
},
|
|
6218
|
+
{
|
|
6219
|
+
name: "formula.functionList.SLN.functionParameter.life.name",
|
|
6220
|
+
detail: "formula.functionList.SLN.functionParameter.life.detail",
|
|
6221
|
+
example: "10",
|
|
5984
6222
|
require: 1,
|
|
5985
6223
|
repeat: 0
|
|
5986
6224
|
}
|
|
@@ -5993,16 +6231,30 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
5993
6231
|
abstract: "formula.functionList.SYD.abstract",
|
|
5994
6232
|
functionParameter: [
|
|
5995
6233
|
{
|
|
5996
|
-
name: "formula.functionList.SYD.functionParameter.
|
|
5997
|
-
detail: "formula.functionList.SYD.functionParameter.
|
|
5998
|
-
example: "
|
|
6234
|
+
name: "formula.functionList.SYD.functionParameter.cost.name",
|
|
6235
|
+
detail: "formula.functionList.SYD.functionParameter.cost.detail",
|
|
6236
|
+
example: "300000",
|
|
5999
6237
|
require: 1,
|
|
6000
6238
|
repeat: 0
|
|
6001
6239
|
},
|
|
6002
6240
|
{
|
|
6003
|
-
name: "formula.functionList.SYD.functionParameter.
|
|
6004
|
-
detail: "formula.functionList.SYD.functionParameter.
|
|
6005
|
-
example: "
|
|
6241
|
+
name: "formula.functionList.SYD.functionParameter.salvage.name",
|
|
6242
|
+
detail: "formula.functionList.SYD.functionParameter.salvage.detail",
|
|
6243
|
+
example: "75000",
|
|
6244
|
+
require: 1,
|
|
6245
|
+
repeat: 0
|
|
6246
|
+
},
|
|
6247
|
+
{
|
|
6248
|
+
name: "formula.functionList.SYD.functionParameter.life.name",
|
|
6249
|
+
detail: "formula.functionList.SYD.functionParameter.life.detail",
|
|
6250
|
+
example: "10",
|
|
6251
|
+
require: 1,
|
|
6252
|
+
repeat: 0
|
|
6253
|
+
},
|
|
6254
|
+
{
|
|
6255
|
+
name: "formula.functionList.SYD.functionParameter.per.name",
|
|
6256
|
+
detail: "formula.functionList.SYD.functionParameter.per.detail",
|
|
6257
|
+
example: "10",
|
|
6006
6258
|
require: 1,
|
|
6007
6259
|
repeat: 0
|
|
6008
6260
|
}
|
|
@@ -6015,16 +6267,23 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
6015
6267
|
abstract: "formula.functionList.TBILLEQ.abstract",
|
|
6016
6268
|
functionParameter: [
|
|
6017
6269
|
{
|
|
6018
|
-
name: "formula.functionList.TBILLEQ.functionParameter.
|
|
6019
|
-
detail: "formula.functionList.TBILLEQ.functionParameter.
|
|
6020
|
-
example: "
|
|
6270
|
+
name: "formula.functionList.TBILLEQ.functionParameter.settlement.name",
|
|
6271
|
+
detail: "formula.functionList.TBILLEQ.functionParameter.settlement.detail",
|
|
6272
|
+
example: '"2008-3-31"',
|
|
6021
6273
|
require: 1,
|
|
6022
6274
|
repeat: 0
|
|
6023
6275
|
},
|
|
6024
6276
|
{
|
|
6025
|
-
name: "formula.functionList.TBILLEQ.functionParameter.
|
|
6026
|
-
detail: "formula.functionList.TBILLEQ.functionParameter.
|
|
6027
|
-
example: "
|
|
6277
|
+
name: "formula.functionList.TBILLEQ.functionParameter.maturity.name",
|
|
6278
|
+
detail: "formula.functionList.TBILLEQ.functionParameter.maturity.detail",
|
|
6279
|
+
example: '"2008-6-1"',
|
|
6280
|
+
require: 1,
|
|
6281
|
+
repeat: 0
|
|
6282
|
+
},
|
|
6283
|
+
{
|
|
6284
|
+
name: "formula.functionList.TBILLEQ.functionParameter.discount.name",
|
|
6285
|
+
detail: "formula.functionList.TBILLEQ.functionParameter.discount.detail",
|
|
6286
|
+
example: "0.0914",
|
|
6028
6287
|
require: 1,
|
|
6029
6288
|
repeat: 0
|
|
6030
6289
|
}
|
|
@@ -6037,16 +6296,23 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
6037
6296
|
abstract: "formula.functionList.TBILLPRICE.abstract",
|
|
6038
6297
|
functionParameter: [
|
|
6039
6298
|
{
|
|
6040
|
-
name: "formula.functionList.TBILLPRICE.functionParameter.
|
|
6041
|
-
detail: "formula.functionList.TBILLPRICE.functionParameter.
|
|
6042
|
-
example: "
|
|
6299
|
+
name: "formula.functionList.TBILLPRICE.functionParameter.settlement.name",
|
|
6300
|
+
detail: "formula.functionList.TBILLPRICE.functionParameter.settlement.detail",
|
|
6301
|
+
example: '"2008-3-31"',
|
|
6043
6302
|
require: 1,
|
|
6044
6303
|
repeat: 0
|
|
6045
6304
|
},
|
|
6046
6305
|
{
|
|
6047
|
-
name: "formula.functionList.TBILLPRICE.functionParameter.
|
|
6048
|
-
detail: "formula.functionList.TBILLPRICE.functionParameter.
|
|
6049
|
-
example: "
|
|
6306
|
+
name: "formula.functionList.TBILLPRICE.functionParameter.maturity.name",
|
|
6307
|
+
detail: "formula.functionList.TBILLPRICE.functionParameter.maturity.detail",
|
|
6308
|
+
example: '"2008-6-1"',
|
|
6309
|
+
require: 1,
|
|
6310
|
+
repeat: 0
|
|
6311
|
+
},
|
|
6312
|
+
{
|
|
6313
|
+
name: "formula.functionList.TBILLPRICE.functionParameter.discount.name",
|
|
6314
|
+
detail: "formula.functionList.TBILLPRICE.functionParameter.discount.detail",
|
|
6315
|
+
example: "0.0914",
|
|
6050
6316
|
require: 1,
|
|
6051
6317
|
repeat: 0
|
|
6052
6318
|
}
|
|
@@ -6059,16 +6325,23 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
6059
6325
|
abstract: "formula.functionList.TBILLYIELD.abstract",
|
|
6060
6326
|
functionParameter: [
|
|
6061
6327
|
{
|
|
6062
|
-
name: "formula.functionList.TBILLYIELD.functionParameter.
|
|
6063
|
-
detail: "formula.functionList.TBILLYIELD.functionParameter.
|
|
6064
|
-
example: "
|
|
6328
|
+
name: "formula.functionList.TBILLYIELD.functionParameter.settlement.name",
|
|
6329
|
+
detail: "formula.functionList.TBILLYIELD.functionParameter.settlement.detail",
|
|
6330
|
+
example: '"2008-3-31"',
|
|
6065
6331
|
require: 1,
|
|
6066
6332
|
repeat: 0
|
|
6067
6333
|
},
|
|
6068
6334
|
{
|
|
6069
|
-
name: "formula.functionList.TBILLYIELD.functionParameter.
|
|
6070
|
-
detail: "formula.functionList.TBILLYIELD.functionParameter.
|
|
6071
|
-
example: "
|
|
6335
|
+
name: "formula.functionList.TBILLYIELD.functionParameter.maturity.name",
|
|
6336
|
+
detail: "formula.functionList.TBILLYIELD.functionParameter.maturity.detail",
|
|
6337
|
+
example: '"2008-6-1"',
|
|
6338
|
+
require: 1,
|
|
6339
|
+
repeat: 0
|
|
6340
|
+
},
|
|
6341
|
+
{
|
|
6342
|
+
name: "formula.functionList.TBILLYIELD.functionParameter.pr.name",
|
|
6343
|
+
detail: "formula.functionList.TBILLYIELD.functionParameter.pr.detail",
|
|
6344
|
+
example: "98.45",
|
|
6072
6345
|
require: 1,
|
|
6073
6346
|
repeat: 0
|
|
6074
6347
|
}
|
|
@@ -6081,18 +6354,53 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
6081
6354
|
abstract: "formula.functionList.VDB.abstract",
|
|
6082
6355
|
functionParameter: [
|
|
6083
6356
|
{
|
|
6084
|
-
name: "formula.functionList.VDB.functionParameter.
|
|
6085
|
-
detail: "formula.functionList.VDB.functionParameter.
|
|
6086
|
-
example: "
|
|
6357
|
+
name: "formula.functionList.VDB.functionParameter.cost.name",
|
|
6358
|
+
detail: "formula.functionList.VDB.functionParameter.cost.detail",
|
|
6359
|
+
example: "2400",
|
|
6087
6360
|
require: 1,
|
|
6088
6361
|
repeat: 0
|
|
6089
6362
|
},
|
|
6090
6363
|
{
|
|
6091
|
-
name: "formula.functionList.VDB.functionParameter.
|
|
6092
|
-
detail: "formula.functionList.VDB.functionParameter.
|
|
6093
|
-
example: "
|
|
6364
|
+
name: "formula.functionList.VDB.functionParameter.salvage.name",
|
|
6365
|
+
detail: "formula.functionList.VDB.functionParameter.salvage.detail",
|
|
6366
|
+
example: "300",
|
|
6367
|
+
require: 1,
|
|
6368
|
+
repeat: 0
|
|
6369
|
+
},
|
|
6370
|
+
{
|
|
6371
|
+
name: "formula.functionList.VDB.functionParameter.life.name",
|
|
6372
|
+
detail: "formula.functionList.VDB.functionParameter.life.detail",
|
|
6373
|
+
example: "10",
|
|
6374
|
+
require: 1,
|
|
6375
|
+
repeat: 0
|
|
6376
|
+
},
|
|
6377
|
+
{
|
|
6378
|
+
name: "formula.functionList.VDB.functionParameter.startPeriod.name",
|
|
6379
|
+
detail: "formula.functionList.VDB.functionParameter.startPeriod.detail",
|
|
6380
|
+
example: "1",
|
|
6381
|
+
require: 1,
|
|
6382
|
+
repeat: 0
|
|
6383
|
+
},
|
|
6384
|
+
{
|
|
6385
|
+
name: "formula.functionList.VDB.functionParameter.endPeriod.name",
|
|
6386
|
+
detail: "formula.functionList.VDB.functionParameter.endPeriod.detail",
|
|
6387
|
+
example: "2",
|
|
6094
6388
|
require: 1,
|
|
6095
6389
|
repeat: 0
|
|
6390
|
+
},
|
|
6391
|
+
{
|
|
6392
|
+
name: "formula.functionList.VDB.functionParameter.factor.name",
|
|
6393
|
+
detail: "formula.functionList.VDB.functionParameter.factor.detail",
|
|
6394
|
+
example: "2",
|
|
6395
|
+
require: 0,
|
|
6396
|
+
repeat: 0
|
|
6397
|
+
},
|
|
6398
|
+
{
|
|
6399
|
+
name: "formula.functionList.VDB.functionParameter.noSwitch.name",
|
|
6400
|
+
detail: "formula.functionList.VDB.functionParameter.noSwitch.detail",
|
|
6401
|
+
example: "false",
|
|
6402
|
+
require: 0,
|
|
6403
|
+
repeat: 0
|
|
6096
6404
|
}
|
|
6097
6405
|
]
|
|
6098
6406
|
},
|
|
@@ -6103,18 +6411,25 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
6103
6411
|
abstract: "formula.functionList.XIRR.abstract",
|
|
6104
6412
|
functionParameter: [
|
|
6105
6413
|
{
|
|
6106
|
-
name: "formula.functionList.XIRR.functionParameter.
|
|
6107
|
-
detail: "formula.functionList.XIRR.functionParameter.
|
|
6108
|
-
example: "
|
|
6414
|
+
name: "formula.functionList.XIRR.functionParameter.values.name",
|
|
6415
|
+
detail: "formula.functionList.XIRR.functionParameter.values.detail",
|
|
6416
|
+
example: "{-10000,2750,4250,3250,2750}",
|
|
6109
6417
|
require: 1,
|
|
6110
6418
|
repeat: 0
|
|
6111
6419
|
},
|
|
6112
6420
|
{
|
|
6113
|
-
name: "formula.functionList.XIRR.functionParameter.
|
|
6114
|
-
detail: "formula.functionList.XIRR.functionParameter.
|
|
6115
|
-
example: "
|
|
6421
|
+
name: "formula.functionList.XIRR.functionParameter.dates.name",
|
|
6422
|
+
detail: "formula.functionList.XIRR.functionParameter.dates.detail",
|
|
6423
|
+
example: "{39448,39508,39751,39859,39904}",
|
|
6116
6424
|
require: 1,
|
|
6117
6425
|
repeat: 0
|
|
6426
|
+
},
|
|
6427
|
+
{
|
|
6428
|
+
name: "formula.functionList.XIRR.functionParameter.guess.name",
|
|
6429
|
+
detail: "formula.functionList.XIRR.functionParameter.guess.detail",
|
|
6430
|
+
example: "0.1",
|
|
6431
|
+
require: 0,
|
|
6432
|
+
repeat: 0
|
|
6118
6433
|
}
|
|
6119
6434
|
]
|
|
6120
6435
|
},
|
|
@@ -6125,16 +6440,23 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
6125
6440
|
abstract: "formula.functionList.XNPV.abstract",
|
|
6126
6441
|
functionParameter: [
|
|
6127
6442
|
{
|
|
6128
|
-
name: "formula.functionList.XNPV.functionParameter.
|
|
6129
|
-
detail: "formula.functionList.XNPV.functionParameter.
|
|
6130
|
-
example: "
|
|
6443
|
+
name: "formula.functionList.XNPV.functionParameter.rate.name",
|
|
6444
|
+
detail: "formula.functionList.XNPV.functionParameter.rate.detail",
|
|
6445
|
+
example: "0.1",
|
|
6131
6446
|
require: 1,
|
|
6132
6447
|
repeat: 0
|
|
6133
6448
|
},
|
|
6134
6449
|
{
|
|
6135
|
-
name: "formula.functionList.XNPV.functionParameter.
|
|
6136
|
-
detail: "formula.functionList.XNPV.functionParameter.
|
|
6137
|
-
example: "
|
|
6450
|
+
name: "formula.functionList.XNPV.functionParameter.values.name",
|
|
6451
|
+
detail: "formula.functionList.XNPV.functionParameter.values.detail",
|
|
6452
|
+
example: "{-10000,2750,4250,3250,2750}",
|
|
6453
|
+
require: 1,
|
|
6454
|
+
repeat: 0
|
|
6455
|
+
},
|
|
6456
|
+
{
|
|
6457
|
+
name: "formula.functionList.XNPV.functionParameter.dates.name",
|
|
6458
|
+
detail: "formula.functionList.XNPV.functionParameter.dates.detail",
|
|
6459
|
+
example: "{39448,39508,39751,39859,39904}",
|
|
6138
6460
|
require: 1,
|
|
6139
6461
|
repeat: 0
|
|
6140
6462
|
}
|
|
@@ -6147,18 +6469,53 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
6147
6469
|
abstract: "formula.functionList.YIELD.abstract",
|
|
6148
6470
|
functionParameter: [
|
|
6149
6471
|
{
|
|
6150
|
-
name: "formula.functionList.YIELD.functionParameter.
|
|
6151
|
-
detail: "formula.functionList.YIELD.functionParameter.
|
|
6152
|
-
example: "
|
|
6472
|
+
name: "formula.functionList.YIELD.functionParameter.settlement.name",
|
|
6473
|
+
detail: "formula.functionList.YIELD.functionParameter.settlement.detail",
|
|
6474
|
+
example: '"2008-11-11"',
|
|
6153
6475
|
require: 1,
|
|
6154
6476
|
repeat: 0
|
|
6155
6477
|
},
|
|
6156
6478
|
{
|
|
6157
|
-
name: "formula.functionList.YIELD.functionParameter.
|
|
6158
|
-
detail: "formula.functionList.YIELD.functionParameter.
|
|
6159
|
-
example: "
|
|
6479
|
+
name: "formula.functionList.YIELD.functionParameter.maturity.name",
|
|
6480
|
+
detail: "formula.functionList.YIELD.functionParameter.maturity.detail",
|
|
6481
|
+
example: '"2021-3-1"',
|
|
6482
|
+
require: 1,
|
|
6483
|
+
repeat: 0
|
|
6484
|
+
},
|
|
6485
|
+
{
|
|
6486
|
+
name: "formula.functionList.YIELD.functionParameter.rate.name",
|
|
6487
|
+
detail: "formula.functionList.YIELD.functionParameter.rate.detail",
|
|
6488
|
+
example: "0.0785",
|
|
6489
|
+
require: 1,
|
|
6490
|
+
repeat: 0
|
|
6491
|
+
},
|
|
6492
|
+
{
|
|
6493
|
+
name: "formula.functionList.YIELD.functionParameter.pr.name",
|
|
6494
|
+
detail: "formula.functionList.YIELD.functionParameter.pr.detail",
|
|
6495
|
+
example: "98.45",
|
|
6496
|
+
require: 1,
|
|
6497
|
+
repeat: 0
|
|
6498
|
+
},
|
|
6499
|
+
{
|
|
6500
|
+
name: "formula.functionList.YIELD.functionParameter.redemption.name",
|
|
6501
|
+
detail: "formula.functionList.YIELD.functionParameter.redemption.detail",
|
|
6502
|
+
example: "100",
|
|
6160
6503
|
require: 1,
|
|
6161
6504
|
repeat: 0
|
|
6505
|
+
},
|
|
6506
|
+
{
|
|
6507
|
+
name: "formula.functionList.YIELD.functionParameter.frequency.name",
|
|
6508
|
+
detail: "formula.functionList.YIELD.functionParameter.frequency.detail",
|
|
6509
|
+
example: "2",
|
|
6510
|
+
require: 1,
|
|
6511
|
+
repeat: 0
|
|
6512
|
+
},
|
|
6513
|
+
{
|
|
6514
|
+
name: "formula.functionList.YIELD.functionParameter.basis.name",
|
|
6515
|
+
detail: "formula.functionList.YIELD.functionParameter.basis.detail",
|
|
6516
|
+
example: "1",
|
|
6517
|
+
require: 0,
|
|
6518
|
+
repeat: 0
|
|
6162
6519
|
}
|
|
6163
6520
|
]
|
|
6164
6521
|
},
|
|
@@ -6169,18 +6526,39 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
6169
6526
|
abstract: "formula.functionList.YIELDDISC.abstract",
|
|
6170
6527
|
functionParameter: [
|
|
6171
6528
|
{
|
|
6172
|
-
name: "formula.functionList.YIELDDISC.functionParameter.
|
|
6173
|
-
detail: "formula.functionList.YIELDDISC.functionParameter.
|
|
6174
|
-
example: "
|
|
6529
|
+
name: "formula.functionList.YIELDDISC.functionParameter.settlement.name",
|
|
6530
|
+
detail: "formula.functionList.YIELDDISC.functionParameter.settlement.detail",
|
|
6531
|
+
example: '"2008-11-11"',
|
|
6175
6532
|
require: 1,
|
|
6176
6533
|
repeat: 0
|
|
6177
6534
|
},
|
|
6178
6535
|
{
|
|
6179
|
-
name: "formula.functionList.YIELDDISC.functionParameter.
|
|
6180
|
-
detail: "formula.functionList.YIELDDISC.functionParameter.
|
|
6181
|
-
example: "
|
|
6536
|
+
name: "formula.functionList.YIELDDISC.functionParameter.maturity.name",
|
|
6537
|
+
detail: "formula.functionList.YIELDDISC.functionParameter.maturity.detail",
|
|
6538
|
+
example: '"2021-3-1"',
|
|
6182
6539
|
require: 1,
|
|
6183
6540
|
repeat: 0
|
|
6541
|
+
},
|
|
6542
|
+
{
|
|
6543
|
+
name: "formula.functionList.YIELDDISC.functionParameter.pr.name",
|
|
6544
|
+
detail: "formula.functionList.YIELDDISC.functionParameter.pr.detail",
|
|
6545
|
+
example: "98.45",
|
|
6546
|
+
require: 1,
|
|
6547
|
+
repeat: 0
|
|
6548
|
+
},
|
|
6549
|
+
{
|
|
6550
|
+
name: "formula.functionList.YIELDDISC.functionParameter.redemption.name",
|
|
6551
|
+
detail: "formula.functionList.YIELDDISC.functionParameter.redemption.detail",
|
|
6552
|
+
example: "100",
|
|
6553
|
+
require: 1,
|
|
6554
|
+
repeat: 0
|
|
6555
|
+
},
|
|
6556
|
+
{
|
|
6557
|
+
name: "formula.functionList.YIELDDISC.functionParameter.basis.name",
|
|
6558
|
+
detail: "formula.functionList.YIELDDISC.functionParameter.basis.detail",
|
|
6559
|
+
example: "1",
|
|
6560
|
+
require: 0,
|
|
6561
|
+
repeat: 0
|
|
6184
6562
|
}
|
|
6185
6563
|
]
|
|
6186
6564
|
},
|
|
@@ -6191,18 +6569,46 @@ const FUNCTION_LIST_ARRAY = [], FUNCTION_LIST_COMPATIBILITY = [
|
|
|
6191
6569
|
abstract: "formula.functionList.YIELDMAT.abstract",
|
|
6192
6570
|
functionParameter: [
|
|
6193
6571
|
{
|
|
6194
|
-
name: "formula.functionList.YIELDMAT.functionParameter.
|
|
6195
|
-
detail: "formula.functionList.YIELDMAT.functionParameter.
|
|
6196
|
-
example: "
|
|
6572
|
+
name: "formula.functionList.YIELDMAT.functionParameter.settlement.name",
|
|
6573
|
+
detail: "formula.functionList.YIELDMAT.functionParameter.settlement.detail",
|
|
6574
|
+
example: '"2008-11-11"',
|
|
6197
6575
|
require: 1,
|
|
6198
6576
|
repeat: 0
|
|
6199
6577
|
},
|
|
6200
6578
|
{
|
|
6201
|
-
name: "formula.functionList.YIELDMAT.functionParameter.
|
|
6202
|
-
detail: "formula.functionList.YIELDMAT.functionParameter.
|
|
6203
|
-
example: "
|
|
6579
|
+
name: "formula.functionList.YIELDMAT.functionParameter.maturity.name",
|
|
6580
|
+
detail: "formula.functionList.YIELDMAT.functionParameter.maturity.detail",
|
|
6581
|
+
example: '"2021-3-1"',
|
|
6582
|
+
require: 1,
|
|
6583
|
+
repeat: 0
|
|
6584
|
+
},
|
|
6585
|
+
{
|
|
6586
|
+
name: "formula.functionList.YIELDMAT.functionParameter.issue.name",
|
|
6587
|
+
detail: "formula.functionList.YIELDMAT.functionParameter.issue.detail",
|
|
6588
|
+
example: '"2008-10-15"',
|
|
6589
|
+
require: 1,
|
|
6590
|
+
repeat: 0
|
|
6591
|
+
},
|
|
6592
|
+
{
|
|
6593
|
+
name: "formula.functionList.YIELDMAT.functionParameter.rate.name",
|
|
6594
|
+
detail: "formula.functionList.YIELDMAT.functionParameter.rate.detail",
|
|
6595
|
+
example: "0.0785",
|
|
6596
|
+
require: 1,
|
|
6597
|
+
repeat: 0
|
|
6598
|
+
},
|
|
6599
|
+
{
|
|
6600
|
+
name: "formula.functionList.YIELDMAT.functionParameter.pr.name",
|
|
6601
|
+
detail: "formula.functionList.YIELDMAT.functionParameter.pr.detail",
|
|
6602
|
+
example: "98.45",
|
|
6204
6603
|
require: 1,
|
|
6205
6604
|
repeat: 0
|
|
6605
|
+
},
|
|
6606
|
+
{
|
|
6607
|
+
name: "formula.functionList.YIELDMAT.functionParameter.basis.name",
|
|
6608
|
+
detail: "formula.functionList.YIELDMAT.functionParameter.basis.detail",
|
|
6609
|
+
example: "1",
|
|
6610
|
+
require: 0,
|
|
6611
|
+
repeat: 0
|
|
6206
6612
|
}
|
|
6207
6613
|
]
|
|
6208
6614
|
}
|
|
@@ -13404,17 +13810,17 @@ let DescriptionService = (_a7 = class {
|
|
|
13404
13810
|
return this._functionService.getDescriptions().get(searchText.toLocaleUpperCase());
|
|
13405
13811
|
}
|
|
13406
13812
|
getSearchListByName(searchText) {
|
|
13407
|
-
const searchList = [], functionList = this._functionService.getDescriptions();
|
|
13408
|
-
return
|
|
13813
|
+
const searchList = [], functionList = this._functionService.getDescriptions(), _searchText = searchText.toLocaleUpperCase().trim();
|
|
13814
|
+
return functionList.forEach((item) => {
|
|
13409
13815
|
const { functionName, abstract, functionType } = item;
|
|
13410
|
-
functionName.toLocaleUpperCase().indexOf(
|
|
13816
|
+
functionName.toLocaleUpperCase().indexOf(_searchText) > -1 && functionType !== FunctionType.DefinedName && searchList.push({ name: functionName, desc: abstract });
|
|
13411
13817
|
}), searchList;
|
|
13412
13818
|
}
|
|
13413
13819
|
getSearchListByNameFirstLetter(searchText) {
|
|
13414
|
-
const searchList = [], functionList = this._functionService.getDescriptions();
|
|
13415
|
-
return
|
|
13820
|
+
const searchList = [], functionList = this._functionService.getDescriptions(), _searchText = searchText.toLocaleUpperCase().trim();
|
|
13821
|
+
return functionList.forEach((item) => {
|
|
13416
13822
|
const { functionName, abstract } = item;
|
|
13417
|
-
functionName.toLocaleUpperCase().indexOf(
|
|
13823
|
+
functionName.toLocaleUpperCase().indexOf(_searchText) === 0 && searchList.push({ name: functionName, desc: abstract });
|
|
13418
13824
|
}), searchList;
|
|
13419
13825
|
}
|
|
13420
13826
|
getSearchListByType(type) {
|
|
@@ -16142,7 +16548,7 @@ let PromptController = (_a19 = class extends Disposable {
|
|
|
16142
16548
|
const config = this._getCurrentBodyDataStreamAndOffset();
|
|
16143
16549
|
if (config && isFormulaString(config.dataStream)) {
|
|
16144
16550
|
this._contextService.setContextValue(FOCUSING_EDITOR_INPUT_FORMULA, !0), this._contextService.setContextValue(DISABLE_NORMAL_SELECTIONS, !0), this._contextService.setContextValue(UNI_DISABLE_CHANGING_FOCUS_KEY, !0);
|
|
16145
|
-
const lastSequenceNodes = this._lexerTreeBuilder.sequenceNodesBuilder(config.dataStream
|
|
16551
|
+
const lastSequenceNodes = this._lexerTreeBuilder.sequenceNodesBuilder(config.dataStream) || [];
|
|
16146
16552
|
this._formulaPromptService.setSequenceNodes(lastSequenceNodes);
|
|
16147
16553
|
const activeRange = this._textSelectionManagerService.getActiveTextRangeWithStyle();
|
|
16148
16554
|
if (activeRange == null)
|