@guihz/trading-vue-editor-tes 0.1.19 → 0.1.20

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.
Files changed (73) hide show
  1. package/lib/assets/{parserTccWorker-BCWxJvBi.js → parserTccWorker-DzdECu81.js} +25556 -44258
  2. package/lib/assets/{scriptsRunWorker-AjKVFLY2.js → scriptsRunWorker-DO_0NAgb.js} +15254 -23718
  3. package/lib/components/editor/type/index.d.ts +0 -1
  4. package/lib/components/editor/utils/parserTccWorker.d.ts +25 -1
  5. package/lib/components/editor/v3/parseScript/constants.d.ts +0 -2
  6. package/lib/components/editor/v4/parseScript/constants.d.ts +0 -2
  7. package/lib/components/editor/v5/parseScript/buildInConstants.d.ts +0 -2
  8. package/lib/components/editor/v5/parseScript/buildInVarNamespace/strategy.d.ts +3 -0
  9. package/lib/components/editor/v5/parseScript/constants.d.ts +0 -2
  10. package/lib/components/editor/v5/parseScript/parseToJs.d.ts +0 -2
  11. package/lib/{monarchTokens-BNkQaBBZ.js → monarchTokens-D-73EVQs.js} +22 -22
  12. package/lib/packages/index.d.ts +1 -1
  13. package/lib/trading-vue-editor.es.packages.js +843 -856
  14. package/lib/trading-vue-editor.umd.packages.mjs +45 -110
  15. package/package.json +2 -2
  16. package/lib/components/editor/v5/parseScript/constants_en.d.ts +0 -134
  17. package/lib/components/editor/v6/config/monarchTokens.d.ts +0 -205
  18. package/lib/components/editor/v6/constants/contents_zh.d.ts +0 -6
  19. package/lib/components/editor/v6/constants/index.d.ts +0 -41
  20. package/lib/components/editor/v6/parseScript/buildInConstants.d.ts +0 -310
  21. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/array.d.ts +0 -109
  22. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/box.d.ts +0 -83
  23. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/chartPoint.d.ts +0 -26
  24. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/color.d.ts +0 -25
  25. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/errorListener.d.ts +0 -9
  26. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/index.d.ts +0 -25
  27. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/input.d.ts +0 -57
  28. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/label.d.ts +0 -66
  29. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/line.d.ts +0 -74
  30. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/linefill.d.ts +0 -36
  31. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/log.d.ts +0 -39
  32. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/map.d.ts +0 -51
  33. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/math.d.ts +0 -49
  34. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/matrix.d.ts +0 -98
  35. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/polyline.d.ts +0 -32
  36. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/runtime.d.ts +0 -10
  37. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/strategy.d.ts +0 -278
  38. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/string.d.ts +0 -55
  39. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/syminfo.d.ts +0 -9
  40. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/ta.d.ts +0 -125
  41. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/table.d.ts +0 -89
  42. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/timeframe.d.ts +0 -22
  43. package/lib/components/editor/v6/parseScript/buildInVarNamespace/barstate.d.ts +0 -22
  44. package/lib/components/editor/v6/parseScript/buildInVarNamespace/chart.d.ts +0 -21
  45. package/lib/components/editor/v6/parseScript/buildInVarNamespace/dividends.d.ts +0 -8
  46. package/lib/components/editor/v6/parseScript/buildInVarNamespace/earnings.d.ts +0 -9
  47. package/lib/components/editor/v6/parseScript/buildInVarNamespace/index.d.ts +0 -9
  48. package/lib/components/editor/v6/parseScript/buildInVarNamespace/session.d.ts +0 -12
  49. package/lib/components/editor/v6/parseScript/buildInVarNamespace/strategy.d.ts +0 -144
  50. package/lib/components/editor/v6/parseScript/buildInVarNamespace/syminfo.d.ts +0 -49
  51. package/lib/components/editor/v6/parseScript/buildInVarNamespace/ta.d.ts +0 -32
  52. package/lib/components/editor/v6/parseScript/buildInVarNamespace/timeframe.d.ts +0 -16
  53. package/lib/components/editor/v6/parseScript/constants.d.ts +0 -139
  54. package/lib/components/editor/v6/parseScript/constantsRun.d.ts +0 -5
  55. package/lib/components/editor/v6/parseScript/enum.d.ts +0 -302
  56. package/lib/components/editor/v6/parseScript/parseToJs.d.ts +0 -78
  57. package/lib/components/editor/v6/parseScript/parseToLibJs.d.ts +0 -71
  58. package/lib/components/editor/v6/parseScript/strategyNamespace/closedtrades.d.ts +0 -28
  59. package/lib/components/editor/v6/parseScript/strategyNamespace/index.d.ts +0 -4
  60. package/lib/components/editor/v6/parseScript/strategyNamespace/opentrades.d.ts +0 -25
  61. package/lib/components/editor/v6/parseScript/strategyNamespace/risk.d.ts +0 -22
  62. package/lib/components/editor/v6/parseScript/type.d.ts +0 -40
  63. package/lib/components/editor/v6/parseScript/userTypeClass.d.ts +0 -12
  64. package/lib/components/editor/v6/parseScript/utils.d.ts +0 -25
  65. package/lib/components/editor/v6/parseScript/visitorParser.d.ts +0 -382
  66. package/lib/components/editor/v6/parseScript/visitorUtils.d.ts +0 -31
  67. package/lib/components/editor/v6/parserTccWorker.d.ts +0 -40
  68. package/lib/components/editor/v6/scriptsRunWorker.d.ts +0 -11
  69. package/lib/components/editor/v6/tccParser/LexerBase.d.ts +0 -19
  70. package/lib/components/editor/v6/tccParser/tccScriptParserVisitor.d.ts +0 -507
  71. package/lib/index-C8vqcsNB.js +0 -61958
  72. package/lib/monarchTokens-_UFEzBJ_.js +0 -563
  73. package/lib/{index-Clupi1hX.js → index-DLIhM_y0.js} +24 -24
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@guihz/trading-vue-editor-tes",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "lib"
7
7
  ],
8
- "main": "./lib/trading-vue-editor.umd.packages.mjs",
8
+ "main": "./lib/trading-vue-editor.cjs.packages.mjs",
9
9
  "module": "./lib/trading-vue-editor.es.packages.js",
10
10
  "jsdelivr": "./lib/trading-vue-editor.es.packages.js",
11
11
  "unpkg": "./lib/trading-vue-editor.es.packages.js",
@@ -1,134 +0,0 @@
1
- import { VType } from "./enum";
2
- export declare const ERRORS_TIPS: {
3
- onlyInLoop: string;
4
- invalidType: string;
5
- typeUseError: string;
6
- notTypeKeyword: string;
7
- undeclared: string;
8
- repeatVar: string;
9
- typeRepeatErr: string;
10
- typeMismatch: string;
11
- assignTypeMismatch: string;
12
- voidNotVar: string;
13
- declareTypeErr: string;
14
- mapKeyValErr: string;
15
- inputSourceErr: string;
16
- buildInUseErr: string;
17
- argsLenErr: string;
18
- requiredParamErr: string;
19
- argsSyntaxErr: string;
20
- requestArgsErr: string;
21
- mapKeyErr: string;
22
- templateErr: string;
23
- templateNoSupportErr: string;
24
- ifOrSwitchTypeErr: string;
25
- argsNameErr: string;
26
- noFiledErr: string;
27
- methodNotExistErr: string;
28
- tupleVarErr: string;
29
- tupleLeftVarErr: string;
30
- tupleRightVarErr: string;
31
- tempateTypeErr: string;
32
- qualifierErr: string;
33
- notFindFuncErr: string;
34
- naVarErr: string;
35
- notHistoryErr: string;
36
- defaultValueErr: string;
37
- defaultValueTypeErr: string;
38
- typeFieldErr: string;
39
- unaryErr: string;
40
- funcArgAssignErr: string;
41
- declaredErr: string;
42
- globalFuncErr: string;
43
- onlyStatementErr: string;
44
- modifyGlobalVarErr: string;
45
- inputDefvalErr: string;
46
- objectIsNaErr: string;
47
- buidinAssignErr: string;
48
- buidinVarErr: string;
49
- useNaErr: string;
50
- libraryTitleErr: string;
51
- exportFuncArgErr: string;
52
- indiRunErr: string;
53
- libraryExportErr: string;
54
- strategyRunErr: string;
55
- exportUseErr: string;
56
- funcRepeatErr: string;
57
- importMultipleErr: string;
58
- importNotExitErr: string;
59
- importNameRepeatErr: string;
60
- exportFuncHasInputErr: string;
61
- libraryTitleIsKeywordErr: string;
62
- exportFuncUseGlobalVarErr: string;
63
- loopRuntimeErr: string;
64
- paramsErr: string;
65
- displayErr: string;
66
- exportFuncUseReqErr: string;
67
- requestExprErr: string;
68
- argDefaultErr: string;
69
- overloadFuncErr: string;
70
- againAssignErr: string;
71
- requestUserInLoopErr: string;
72
- enumVarNameErr: string;
73
- enumVarNameBuiltinErr: string;
74
- typeNameErr: string;
75
- enumUseErr: string;
76
- conditionalErr: string;
77
- fortoErr: string;
78
- indicatorUseStrategyFuncErr: string;
79
- arrEmptyErr: string;
80
- arrLengthDiffErr: string;
81
- arrTypeErr: string;
82
- inputOptErr: string;
83
- mathRandomErr: string;
84
- matrixRehapeErr: string;
85
- strategyExitErr: string;
86
- arrLenErr: string;
87
- mergeCellErr: string;
88
- minOrMaxErr: string;
89
- requestsNumErr: string;
90
- undeterminedTypeMethodErr: string;
91
- requestUseFuncErr: string;
92
- requestLowerTfPeriodErr: string;
93
- optionsRepeatErr: string;
94
- scriptLongTimeErr: string;
95
- plotFillForceOverlayErr: string;
96
- constModifyErr: string;
97
- arrMaxLenErr: string;
98
- arrSetValueErr: string;
99
- matrixMaxLenErr: string;
100
- matrixToFromErr: string;
101
- matrixAddRowColErr: string;
102
- matrixSetValueErr: string;
103
- matrixRowsColsEqErr: string;
104
- matrixMultErr: string;
105
- };
106
- export declare const WARNING_TIPS: {
107
- repeatVar: string;
108
- typeMismatch: string;
109
- moreSameArg: string;
110
- localScopeGetHistory: string;
111
- localScopeWarning: string;
112
- strategyCalcTickWarn: string;
113
- conditionWarning: string;
114
- lineWidthWarning: string;
115
- boolVarNumWarning: string;
116
- transpDeprecatedTips: string;
117
- };
118
- export declare const DRAW_TYPES: VType[];
119
- export declare const QUALIFIERS: VType[];
120
- export declare const BASE_TYPE: VType[];
121
- export declare const PLOT_DISPLAY_TYPES: string[];
122
- export declare const ONLY_STATEMENTS: string[];
123
- export declare const GLOBAL_DRAW_FUNCS: string[];
124
- export declare const GLOBAL_FUNCS: string[];
125
- export declare const INDICATOR_NEED_DRAW_FUNCS: string[];
126
- export declare const STRATEGY_NEED_FUNCS: string[];
127
- export declare const NAMESPACE_CALL_SELF_FUNCS: string[];
128
- export declare const SOURCE_TYPE_BUILTIN: string[];
129
- export declare const COMMENTS_DESC_REG: RegExp;
130
- export declare const JS_KEYWORDS: string[];
131
- export declare const TCC_KEYWORDS: string[];
132
- export declare const TCC_NAMESAPCES: string[];
133
- export declare const CHANGE_VALUE_FUNCS: string[];
134
- export declare const TRANSP_FUNCS: string[];
@@ -1,205 +0,0 @@
1
- import { languages, editor } from 'monaco-editor';
2
- export declare const LANGAGE_NAME = "tccScript";
3
- export declare const LANGUAGE_MONARCH_TOKENS: languages.IMonarchLanguage;
4
- export declare const CONFIGURATION: languages.LanguageConfiguration;
5
- export declare const COLORS: {
6
- "color-white": string;
7
- "color-black": string;
8
- "color-transparent": string;
9
- "color-cold-gray-50": string;
10
- "color-cold-gray-100": string;
11
- "color-cold-gray-150": string;
12
- "color-cold-gray-200": string;
13
- "color-cold-gray-250": string;
14
- "color-cold-gray-300": string;
15
- "color-cold-gray-350": string;
16
- "color-cold-gray-400": string;
17
- "color-cold-gray-450": string;
18
- "color-cold-gray-500": string;
19
- "color-cold-gray-550": string;
20
- "color-cold-gray-600": string;
21
- "color-cold-gray-650": string;
22
- "color-cold-gray-700": string;
23
- "color-cold-gray-750": string;
24
- "color-cold-gray-800": string;
25
- "color-cold-gray-850": string;
26
- "color-cold-gray-900": string;
27
- "color-cold-gray-950": string;
28
- "color-ripe-red-50": string;
29
- "color-ripe-red-100": string;
30
- "color-ripe-red-200": string;
31
- "color-ripe-red-300": string;
32
- "color-ripe-red-400": string;
33
- "color-ripe-red-500": string;
34
- "color-ripe-red-600": string;
35
- "color-ripe-red-700": string;
36
- "color-ripe-red-800": string;
37
- "color-ripe-red-900": string;
38
- "color-ripe-red-a100": string;
39
- "color-ripe-red-a200": string;
40
- "color-ripe-red-a400": string;
41
- "color-ripe-red-a600": string;
42
- "color-ripe-red-a700": string;
43
- "color-ripe-red-a800": string;
44
- "color-ripe-red-a900": string;
45
- "color-tan-orange-50": string;
46
- "color-tan-orange-100": string;
47
- "color-tan-orange-200": string;
48
- "color-tan-orange-300": string;
49
- "color-tan-orange-400": string;
50
- "color-tan-orange-500": string;
51
- "color-tan-orange-600": string;
52
- "color-tan-orange-700": string;
53
- "color-tan-orange-800": string;
54
- "color-tan-orange-900": string;
55
- "color-tan-orange-a200": string;
56
- "color-tan-orange-a400": string;
57
- "color-tan-orange-a600": string;
58
- "color-tan-orange-a700": string;
59
- "color-tan-orange-a800": string;
60
- "color-tan-orange-a900": string;
61
- "color-iguana-green-100": string;
62
- "color-iguana-green-200": string;
63
- "color-iguana-green-300": string;
64
- "color-iguana-green-400": string;
65
- "color-iguana-green-500": string;
66
- "color-iguana-green-600": string;
67
- "color-iguana-green-700": string;
68
- "color-iguana-green-800": string;
69
- "color-iguana-green-900": string;
70
- "color-iguana-green-a700": string;
71
- "color-banana-yellow-100": string;
72
- "color-banana-yellow-200": string;
73
- "color-banana-yellow-300": string;
74
- "color-banana-yellow-400": string;
75
- "color-banana-yellow-500": string;
76
- "color-banana-yellow-600": string;
77
- "color-banana-yellow-700": string;
78
- "color-banana-yellow-800": string;
79
- "color-banana-yellow-900": string;
80
- "color-banana-yellow-a400": string;
81
- "color-banana-yellow-a700": string;
82
- "color-tv-blue-50": string;
83
- "color-tv-blue-100": string;
84
- "color-tv-blue-200": string;
85
- "color-tv-blue-300": string;
86
- "color-tv-blue-400": string;
87
- "color-tv-blue-500": string;
88
- "color-tv-blue-600": string;
89
- "color-tv-blue-700": string;
90
- "color-tv-blue-800": string;
91
- "color-tv-blue-900": string;
92
- "color-tv-blue-a100": string;
93
- "color-tv-blue-a200": string;
94
- "color-tv-blue-a400": string;
95
- "color-tv-blue-a600": string;
96
- "color-tv-blue-a700": string;
97
- "color-tv-blue-a800": string;
98
- "color-tv-blue-a900": string;
99
- "color-deep-blue-50": string;
100
- "color-deep-blue-100": string;
101
- "color-deep-blue-200": string;
102
- "color-deep-blue-300": string;
103
- "color-deep-blue-400": string;
104
- "color-deep-blue-500": string;
105
- "color-deep-blue-700": string;
106
- "color-deep-blue-800": string;
107
- "color-deep-blue-900": string;
108
- "color-deep-blue-a100": string;
109
- "color-deep-blue-a200": string;
110
- "color-deep-blue-a400": string;
111
- "color-deep-blue-a700": string;
112
- "color-minty-green-50": string;
113
- "color-minty-green-100": string;
114
- "color-minty-green-200": string;
115
- "color-minty-green-300": string;
116
- "color-minty-green-400": string;
117
- "color-minty-green-500": string;
118
- "color-minty-green-600": string;
119
- "color-minty-green-700": string;
120
- "color-minty-green-800": string;
121
- "color-minty-green-900": string;
122
- "color-minty-green-a400": string;
123
- "color-minty-green-a600": string;
124
- "color-minty-green-a700": string;
125
- "color-minty-green-a800": string;
126
- "color-minty-green-a900": string;
127
- "color-grapes-purple-50": string;
128
- "color-grapes-purple-100": string;
129
- "color-grapes-purple-200": string;
130
- "color-grapes-purple-300": string;
131
- "color-grapes-purple-400": string;
132
- "color-grapes-purple-500": string;
133
- "color-grapes-purple-600": string;
134
- "color-grapes-purple-700": string;
135
- "color-grapes-purple-800": string;
136
- "color-grapes-purple-900": string;
137
- "color-grapes-purple-a100": string;
138
- "color-grapes-purple-a200": string;
139
- "color-grapes-purple-a400": string;
140
- "color-grapes-purple-a700": string;
141
- "color-berry-pink-100": string;
142
- "color-berry-pink-200": string;
143
- "color-berry-pink-300": string;
144
- "color-berry-pink-400": string;
145
- "color-berry-pink-500": string;
146
- "color-berry-pink-600": string;
147
- "color-berry-pink-700": string;
148
- "color-berry-pink-800": string;
149
- "color-berry-pink-900": string;
150
- "color-berry-pink-a100": string;
151
- "color-berry-pink-a200": string;
152
- "color-berry-pink-a400": string;
153
- "color-sky-blue-100": string;
154
- "color-sky-blue-200": string;
155
- "color-sky-blue-300": string;
156
- "color-sky-blue-400": string;
157
- "color-sky-blue-500": string;
158
- "color-sky-blue-600": string;
159
- "color-sky-blue-700": string;
160
- "color-sky-blue-800": string;
161
- "color-sky-blue-900": string;
162
- "color-sky-blue-a400": string;
163
- "color-sky-blue-a700": string;
164
- "color-deep-blue-600": string;
165
- "color-forest-green-50": string;
166
- "color-forest-green-100": string;
167
- "color-forest-green-200": string;
168
- "color-forest-green-300": string;
169
- "color-forest-green-400": string;
170
- "color-forest-green-500": string;
171
- "color-forest-green-600": string;
172
- "color-forest-green-700": string;
173
- "color-forest-green-800": string;
174
- "color-forest-green-900": string;
175
- "color-facebook": string;
176
- "color-deep-facebook": string;
177
- "color-twitter": string;
178
- "color-deep-twitter": string;
179
- "color-youtube": string;
180
- "color-linkedin": string;
181
- "color-seeking-alpha-brand": string;
182
- };
183
- export declare const VS: editor.IStandaloneThemeData;
184
- export declare const VS_DARK: editor.IStandaloneThemeData;
185
- export declare const QQSTRING_REG: RegExp;
186
- export declare const QSTRING_REG: RegExp;
187
- export declare const DEFAULT_COLORS: {
188
- "color.aqua": string;
189
- "color.black": string;
190
- "color.blue": string;
191
- "color.fuchsia": string;
192
- "color.gray": string;
193
- "color.green": string;
194
- "color.lime": string;
195
- "color.maroon": string;
196
- "color.navy": string;
197
- "color.olive": string;
198
- "color.orange": string;
199
- "color.purple": string;
200
- "color.red": string;
201
- "color.silver": string;
202
- "color.teal": string;
203
- "color.white": string;
204
- "color.yellow": string;
205
- };
@@ -1,6 +0,0 @@
1
- import { IDocValue } from "../../type";
2
- interface IContents {
3
- [key: string]: IDocValue[];
4
- }
5
- export declare const NEW_CONTENTS: IContents;
6
- export {};
@@ -1,41 +0,0 @@
1
- import { IDocValue, IKeyValueStr, IKeys } from '../../type';
2
- interface IKeyMaps {
3
- [key: string]: Map<string, IDocValue[]>;
4
- }
5
- export declare const SNIPPET_COMPLETIONS: {
6
- label: string;
7
- insertText: string;
8
- kind: string;
9
- }[];
10
- export declare const NOT_SHOW_KEYWORDS: string[];
11
- export declare const COMPLETE_KEYS: string[];
12
- export declare const HOVER_KEYS: string[];
13
- export declare const BUILD_IN_VALUE: IKeyValueStr;
14
- export declare const ALL_KINDS: {
15
- argument: string;
16
- keyword: string;
17
- field: string;
18
- userFunction: string;
19
- builtInFunction: string;
20
- library: string;
21
- userVariable: string;
22
- builtInVariable: string;
23
- namespace: string;
24
- operator: string;
25
- constant: string;
26
- annotation: string;
27
- userMethod: string;
28
- builtinMethod: string;
29
- userType: string;
30
- builtinType: string;
31
- };
32
- export declare const DEFAULT_DETIALS: IKeyValueStr;
33
- export declare const KEY_LIST: IKeys, KEY_MAP_LIST: IKeyMaps;
34
- export declare const MANUAL_KEYS: IKeys;
35
- export declare const CONTENT_GROUPS: {
36
- title: string;
37
- key: string;
38
- prefix: string;
39
- index: number;
40
- }[];
41
- export {};
@@ -1,310 +0,0 @@
1
- import { VPlotDisplay, VExtend, VFormatType, VHlineStyle, VLabelStyle, VLineStyle, VLocation, VSortOrder, VPlotStyle, VPosition, VAdjustment, VAlert, VBarmergeGaps, VScale, VSession, VShape, VSize, VStrategy, VCommission, VDirection, VOca, VText, VXloc, VYloc, VEarnings, VFont, VTextFormat } from './enum';
2
- export declare const COLOR_BUILD_IN: {
3
- aqua: string;
4
- black: string;
5
- blue: string;
6
- fuchsia: string;
7
- gray: string;
8
- green: string;
9
- lime: string;
10
- maroon: string;
11
- navy: string;
12
- olive: string;
13
- orange: string;
14
- purple: string;
15
- red: string;
16
- silver: string;
17
- teal: string;
18
- white: string;
19
- yellow: string;
20
- };
21
- export declare const CURRENCY_BUILD_IN: {
22
- AUD: string;
23
- BTC: string;
24
- CAD: string;
25
- CHF: string;
26
- ETH: string;
27
- EUR: string;
28
- GBP: string;
29
- HKD: string;
30
- INR: string;
31
- JPY: string;
32
- KRW: string;
33
- MYR: string;
34
- NOK: string;
35
- NONE: string;
36
- NZD: string;
37
- RUB: string;
38
- SEK: string;
39
- SGD: string;
40
- TRY: string;
41
- USD: string;
42
- USDT: string;
43
- ZAR: string;
44
- };
45
- export declare const DISPLAY_BUILD_IN: {
46
- all: VPlotDisplay[];
47
- data_window: VPlotDisplay[];
48
- none: never[];
49
- pane: VPlotDisplay[];
50
- price_scale: VPlotDisplay[];
51
- status_line: VPlotDisplay[];
52
- };
53
- export declare class BuildInConstants {
54
- adjustment: {
55
- dividends: VAdjustment;
56
- none: VAdjustment;
57
- splits: VAdjustment;
58
- };
59
- alert: {
60
- freq_all: VAlert;
61
- freq_once_per_bar: VAlert;
62
- freq_once_per_bar_close: VAlert;
63
- };
64
- barmerge: {
65
- gaps_off: VBarmergeGaps;
66
- gaps_on: VBarmergeGaps;
67
- lookahead_off: VBarmergeGaps;
68
- lookahead_on: VBarmergeGaps;
69
- };
70
- color: {
71
- aqua: string;
72
- black: string;
73
- blue: string;
74
- fuchsia: string;
75
- gray: string;
76
- green: string;
77
- lime: string;
78
- maroon: string;
79
- navy: string;
80
- olive: string;
81
- orange: string;
82
- purple: string;
83
- red: string;
84
- silver: string;
85
- teal: string;
86
- white: string;
87
- yellow: string;
88
- };
89
- currency: {
90
- AUD: string;
91
- BTC: string;
92
- CAD: string;
93
- CHF: string;
94
- ETH: string;
95
- EUR: string;
96
- GBP: string;
97
- HKD: string;
98
- INR: string;
99
- JPY: string;
100
- KRW: string;
101
- MYR: string;
102
- NOK: string;
103
- NONE: string;
104
- NZD: string;
105
- RUB: string;
106
- SEK: string;
107
- SGD: string;
108
- TRY: string;
109
- USD: string;
110
- USDT: string;
111
- ZAR: string;
112
- };
113
- dayofweek: {
114
- friday: number;
115
- monday: number;
116
- saturday: number;
117
- sunday: number;
118
- thursday: number;
119
- tuesday: number;
120
- wednesday: number;
121
- };
122
- earnings: {
123
- actual: VEarnings;
124
- estimate: VEarnings;
125
- standardized: VEarnings;
126
- };
127
- display: {
128
- all: VPlotDisplay[];
129
- data_window: VPlotDisplay[];
130
- none: never[];
131
- pane: VPlotDisplay[];
132
- price_scale: VPlotDisplay[];
133
- status_line: VPlotDisplay[];
134
- };
135
- extend: {
136
- both: VExtend;
137
- left: VExtend;
138
- none: VExtend;
139
- right: VExtend;
140
- };
141
- font: {
142
- family_default: VFont;
143
- family_monospace: VFont;
144
- };
145
- format: {
146
- inherit: VFormatType;
147
- mintick: VFormatType;
148
- percent: VFormatType;
149
- price: VFormatType;
150
- volume: VFormatType;
151
- };
152
- hline: {
153
- style_solid: VHlineStyle;
154
- style_dashed: VHlineStyle;
155
- style_dotted: VHlineStyle;
156
- };
157
- label: {
158
- style_arrowdown: VLabelStyle;
159
- style_arrowup: VLabelStyle;
160
- style_circle: VLabelStyle;
161
- style_cross: VLabelStyle;
162
- style_diamond: VLabelStyle;
163
- style_flag: VLabelStyle;
164
- style_label_center: VLabelStyle;
165
- style_label_down: VLabelStyle;
166
- style_label_left: VLabelStyle;
167
- style_label_lower_left: VLabelStyle;
168
- style_label_lower_right: VLabelStyle;
169
- style_label_right: VLabelStyle;
170
- style_label_up: VLabelStyle;
171
- style_label_upper_left: VLabelStyle;
172
- style_label_upper_right: VLabelStyle;
173
- style_none: VLabelStyle;
174
- style_square: VLabelStyle;
175
- style_text_outline: VLabelStyle;
176
- style_triangledown: VLabelStyle;
177
- style_triangleup: VLabelStyle;
178
- style_xcross: VLabelStyle;
179
- };
180
- line: {
181
- style_arrow_both: VLineStyle;
182
- style_arrow_left: VLineStyle;
183
- style_arrow_right: VLineStyle;
184
- style_dashed: VLineStyle;
185
- style_dotted: VLineStyle;
186
- style_solid: VLineStyle;
187
- };
188
- location: {
189
- abovebar: VLocation;
190
- absolute: VLocation;
191
- belowbar: VLocation;
192
- bottom: VLocation;
193
- top: VLocation;
194
- };
195
- math: {
196
- e: number;
197
- phi: number;
198
- pi: number;
199
- rphi: number;
200
- };
201
- order: {
202
- ascending: VSortOrder;
203
- descending: VSortOrder;
204
- };
205
- plot: {
206
- style_area: VPlotStyle;
207
- style_areabr: VPlotStyle;
208
- style_circles: VPlotStyle;
209
- style_columns: VPlotStyle;
210
- style_cross: VPlotStyle;
211
- style_histogram: VPlotStyle;
212
- style_line: VPlotStyle;
213
- style_linebr: VPlotStyle;
214
- style_stepline: VPlotStyle;
215
- style_stepline_diamond: VPlotStyle;
216
- style_steplinebr: VPlotStyle;
217
- };
218
- position: {
219
- bottom_center: VPosition;
220
- bottom_left: VPosition;
221
- bottom_right: VPosition;
222
- middle_center: VPosition;
223
- middle_left: VPosition;
224
- middle_right: VPosition;
225
- top_center: VPosition;
226
- top_left: VPosition;
227
- top_right: VPosition;
228
- };
229
- scale: {
230
- left: VScale;
231
- none: VScale;
232
- right: VScale;
233
- };
234
- session: {
235
- extended: VSession;
236
- regular: VSession;
237
- };
238
- shape: {
239
- arrowdown: VShape;
240
- arrowup: VShape;
241
- circle: VShape;
242
- cross: VShape;
243
- diamond: VShape;
244
- flag: VShape;
245
- labeldown: VShape;
246
- labelup: VShape;
247
- square: VShape;
248
- triangledown: VShape;
249
- triangleup: VShape;
250
- xcross: VShape;
251
- };
252
- size: {
253
- auto: VSize;
254
- huge: VSize;
255
- large: VSize;
256
- normal: VSize;
257
- small: VSize;
258
- tiny: VSize;
259
- };
260
- splits: {
261
- denominator: string;
262
- numerator: string;
263
- };
264
- strategy: {
265
- cash: VStrategy;
266
- fixed: VStrategy;
267
- percent_of_equity: VStrategy;
268
- long: VDirection;
269
- short: VDirection;
270
- commission: {
271
- cash_per_contract: VCommission;
272
- cash_per_order: VCommission;
273
- percent: VCommission;
274
- };
275
- direction: {
276
- all: VDirection;
277
- long: VDirection;
278
- short: VDirection;
279
- };
280
- oca: {
281
- cancel: VOca;
282
- none: VOca;
283
- reduce: VOca;
284
- };
285
- };
286
- text: {
287
- align_bottom: VText;
288
- align_center: VText;
289
- align_left: VText;
290
- align_right: VText;
291
- align_top: VText;
292
- wrap_auto: VText;
293
- wrap_none: VText;
294
- format_bold: VTextFormat;
295
- format_italic: VTextFormat;
296
- format_none: VTextFormat;
297
- };
298
- xloc: {
299
- bar_index: VXloc;
300
- bar_time: VXloc;
301
- };
302
- yloc: {
303
- abovebar: VYloc;
304
- belowbar: VYloc;
305
- price: VYloc;
306
- };
307
- true: boolean;
308
- false: boolean;
309
- updateData(): void;
310
- }