@guihz/trading-vue-editor-tes 0.1.15 → 0.1.17

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 (72) hide show
  1. package/lib/assets/{parserTccWorker-DioKBXbA.js → parserTccWorker-CXp94-Z9.js} +43575 -24919
  2. package/lib/assets/{scriptsRunWorker-BwOwrd6j.js → scriptsRunWorker-CWAx2DV5.js} +23525 -15040
  3. package/lib/components/editor/utils/parserTccWorker.d.ts +1 -1
  4. package/lib/components/editor/utils/runTools.d.ts +1 -0
  5. package/lib/components/editor/v5/parseScript/buildInConstants.d.ts +2 -0
  6. package/lib/components/editor/v5/parseScript/buildInFuncNamespace/string.d.ts +3 -1
  7. package/lib/components/editor/v5/parseScript/buildInVarNamespace/strategy.d.ts +0 -3
  8. package/lib/components/editor/v5/parseScript/parseToJs.d.ts +2 -0
  9. package/lib/components/editor/v5/parserTccWorker.d.ts +1 -1
  10. package/lib/components/editor/v6/config/monarchTokens.d.ts +205 -0
  11. package/lib/components/editor/v6/constants/contents_zh.d.ts +6 -0
  12. package/lib/components/editor/v6/constants/index.d.ts +41 -0
  13. package/lib/components/editor/v6/parseScript/buildInConstants.d.ts +310 -0
  14. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/array.d.ts +109 -0
  15. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/box.d.ts +83 -0
  16. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/chartPoint.d.ts +26 -0
  17. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/color.d.ts +25 -0
  18. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/errorListener.d.ts +9 -0
  19. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/index.d.ts +25 -0
  20. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/input.d.ts +57 -0
  21. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/label.d.ts +66 -0
  22. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/line.d.ts +74 -0
  23. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/linefill.d.ts +36 -0
  24. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/log.d.ts +39 -0
  25. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/map.d.ts +51 -0
  26. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/math.d.ts +49 -0
  27. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/matrix.d.ts +98 -0
  28. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/polyline.d.ts +32 -0
  29. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/runtime.d.ts +10 -0
  30. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/strategy.d.ts +278 -0
  31. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/strategyNew.d.ts +261 -0
  32. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/string.d.ts +55 -0
  33. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/syminfo.d.ts +9 -0
  34. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/ta.d.ts +125 -0
  35. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/table.d.ts +89 -0
  36. package/lib/components/editor/v6/parseScript/buildInFuncNamespace/timeframe.d.ts +22 -0
  37. package/lib/components/editor/v6/parseScript/buildInVarNamespace/barstate.d.ts +22 -0
  38. package/lib/components/editor/v6/parseScript/buildInVarNamespace/chart.d.ts +21 -0
  39. package/lib/components/editor/v6/parseScript/buildInVarNamespace/dividends.d.ts +8 -0
  40. package/lib/components/editor/v6/parseScript/buildInVarNamespace/earnings.d.ts +9 -0
  41. package/lib/components/editor/v6/parseScript/buildInVarNamespace/index.d.ts +9 -0
  42. package/lib/components/editor/v6/parseScript/buildInVarNamespace/session.d.ts +12 -0
  43. package/lib/components/editor/v6/parseScript/buildInVarNamespace/strategy.d.ts +144 -0
  44. package/lib/components/editor/v6/parseScript/buildInVarNamespace/syminfo.d.ts +49 -0
  45. package/lib/components/editor/v6/parseScript/buildInVarNamespace/ta.d.ts +32 -0
  46. package/lib/components/editor/v6/parseScript/buildInVarNamespace/timeframe.d.ts +16 -0
  47. package/lib/components/editor/v6/parseScript/constants.d.ts +135 -0
  48. package/lib/components/editor/v6/parseScript/constantsRun.d.ts +5 -0
  49. package/lib/components/editor/v6/parseScript/enum.d.ts +302 -0
  50. package/lib/components/editor/v6/parseScript/parseToJs.d.ts +78 -0
  51. package/lib/components/editor/v6/parseScript/parseToLibJs.d.ts +71 -0
  52. package/lib/components/editor/v6/parseScript/strategyNamespace/closedtrades.d.ts +28 -0
  53. package/lib/components/editor/v6/parseScript/strategyNamespace/index.d.ts +4 -0
  54. package/lib/components/editor/v6/parseScript/strategyNamespace/opentrades.d.ts +25 -0
  55. package/lib/components/editor/v6/parseScript/strategyNamespace/risk.d.ts +22 -0
  56. package/lib/components/editor/v6/parseScript/type.d.ts +40 -0
  57. package/lib/components/editor/v6/parseScript/userTypeClass.d.ts +12 -0
  58. package/lib/components/editor/v6/parseScript/utils.d.ts +25 -0
  59. package/lib/components/editor/v6/parseScript/visitorParser.d.ts +382 -0
  60. package/lib/components/editor/v6/parseScript/visitorUtils.d.ts +31 -0
  61. package/lib/components/editor/v6/parserTccWorker.d.ts +40 -0
  62. package/lib/components/editor/v6/scriptsRunWorker.d.ts +11 -0
  63. package/lib/components/editor/v6/tccParser/LexerBase.d.ts +19 -0
  64. package/lib/components/editor/v6/tccParser/tccScriptParserVisitor.d.ts +507 -0
  65. package/lib/index-C8vqcsNB.js +61958 -0
  66. package/lib/{monarchTokens-D-73EVQs.js → monarchTokens-BNkQaBBZ.js} +22 -22
  67. package/lib/monarchTokens-_UFEzBJ_.js +563 -0
  68. package/lib/packages/index.d.ts +1 -1
  69. package/lib/trading-vue-editor.es.packages.js +856 -843
  70. package/lib/trading-vue-editor.umd.packages.mjs +110 -45
  71. package/package.json +2 -2
  72. package/lib/{index-DLIhM_y0.js → index-Clupi1hX.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.15",
3
+ "version": "0.1.17",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "lib"
7
7
  ],
8
- "main": "./lib/trading-vue-editor.cjs.packages.mjs",
8
+ "main": "./lib/trading-vue-editor.umd.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",
@@ -3428,30 +3428,6 @@ else
3428
3428
  "[strategy.convert_to_symbol](#fun_strategy.convert_to_symbol)"
3429
3429
  ]
3430
3430
  },
3431
- {
3432
- name: "strategy.long",
3433
- type: "const strategy_direction",
3434
- desc: [
3435
- "多头入场"
3436
- ],
3437
- seeAlso: [
3438
- "[strategy.entry](#fun_strategy.entry)",
3439
- "[strategy.exit](#fun_strategy.exit)",
3440
- "[strategy.order](#fun_strategy.order)"
3441
- ]
3442
- },
3443
- {
3444
- name: "strategy.short",
3445
- type: "const strategy_direction",
3446
- desc: [
3447
- "以空头头寸入场。"
3448
- ],
3449
- seeAlso: [
3450
- "[strategy.entry](#fun_strategy.entry)",
3451
- "[strategy.exit](#fun_strategy.exit)",
3452
- "[strategy.order](#fun_strategy.order)"
3453
- ]
3454
- },
3455
3431
  {
3456
3432
  name: "strategy.margin_liquidation_price",
3457
3433
  type: "series float",
@@ -5286,6 +5262,30 @@ else
5286
5262
  "[strategy](#fun_strategy)"
5287
5263
  ]
5288
5264
  },
5265
+ {
5266
+ name: "strategy.long",
5267
+ type: "const strategy_direction",
5268
+ desc: [
5269
+ "多头入场"
5270
+ ],
5271
+ seeAlso: [
5272
+ "[strategy.entry](#fun_strategy.entry)",
5273
+ "[strategy.exit](#fun_strategy.exit)",
5274
+ "[strategy.order](#fun_strategy.order)"
5275
+ ]
5276
+ },
5277
+ {
5278
+ name: "strategy.short",
5279
+ type: "const strategy_direction",
5280
+ desc: [
5281
+ "以空头头寸入场。"
5282
+ ],
5283
+ seeAlso: [
5284
+ "[strategy.entry](#fun_strategy.entry)",
5285
+ "[strategy.exit](#fun_strategy.exit)",
5286
+ "[strategy.order](#fun_strategy.order)"
5287
+ ]
5288
+ },
5289
5289
  {
5290
5290
  name: "strategy.fixed",
5291
5291
  type: "const string",