@tradejs/node 2.0.3 → 2.0.5
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/dist/ai.mjs +1 -1
- package/dist/backtest.mjs +1 -1
- package/dist/{chunk-KZDHZ56N.mjs → chunk-GPR56UYQ.mjs} +1 -1
- package/dist/{chunk-H6LIYHU4.mjs → chunk-IQKMII6L.mjs} +1 -1
- package/dist/{chunk-6DZX6EAA.mjs → chunk-UV2HVMKZ.mjs} +5 -1
- package/dist/cli.js +5 -1
- package/dist/cli.mjs +2 -2
- package/dist/connectors.mjs +1 -1
- package/dist/constants.mjs +1 -1
- package/dist/pine.mjs +2 -2
- package/dist/registry.mjs +1 -1
- package/dist/strategies.js +5 -1
- package/dist/strategies.mjs +3 -3
- package/package.json +4 -4
package/dist/ai.mjs
CHANGED
package/dist/backtest.mjs
CHANGED
|
@@ -11,7 +11,11 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
11
11
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
12
12
|
});
|
|
13
13
|
var __commonJS = (cb, mod) => function __require2() {
|
|
14
|
-
|
|
14
|
+
try {
|
|
15
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
16
|
+
} catch (e) {
|
|
17
|
+
throw mod = 0, e;
|
|
18
|
+
}
|
|
15
19
|
};
|
|
16
20
|
var __copyProps = (to, from, except, desc) => {
|
|
17
21
|
if (from && typeof from === "object" || typeof from === "function") {
|
package/dist/cli.js
CHANGED
|
@@ -6,7 +6,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
8
|
var __commonJS = (cb, mod) => function __require() {
|
|
9
|
-
|
|
9
|
+
try {
|
|
10
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
11
|
+
} catch (e) {
|
|
12
|
+
throw mod = 0, e;
|
|
13
|
+
}
|
|
10
14
|
};
|
|
11
15
|
var __export = (target, all) => {
|
|
12
16
|
for (var name in all)
|
package/dist/cli.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-KMJQQ53K.mjs";
|
|
6
6
|
import {
|
|
7
7
|
require_lodash
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GPR56UYQ.mjs";
|
|
9
9
|
import {
|
|
10
10
|
askAI
|
|
11
11
|
} from "./chunk-IUZML4RK.mjs";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-WS5DYEVZ.mjs";
|
|
17
17
|
import {
|
|
18
18
|
__toESM
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UV2HVMKZ.mjs";
|
|
20
20
|
|
|
21
21
|
// src/cli.ts
|
|
22
22
|
var import_lodash = __toESM(require_lodash());
|
package/dist/connectors.mjs
CHANGED
package/dist/constants.mjs
CHANGED
package/dist/pine.mjs
CHANGED
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
runPineScript,
|
|
11
11
|
toFiniteNumber,
|
|
12
12
|
toPineBoolean
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-IQKMII6L.mjs";
|
|
14
|
+
import "./chunk-UV2HVMKZ.mjs";
|
|
15
15
|
export {
|
|
16
16
|
createPineScriptLoader,
|
|
17
17
|
getLatestPineBooleanPlotValue,
|
package/dist/registry.mjs
CHANGED
package/dist/strategies.js
CHANGED
|
@@ -6,7 +6,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
8
|
var __commonJS = (cb, mod) => function __require() {
|
|
9
|
-
|
|
9
|
+
try {
|
|
10
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
11
|
+
} catch (e) {
|
|
12
|
+
throw mod = 0, e;
|
|
13
|
+
}
|
|
10
14
|
};
|
|
11
15
|
var __export = (target, all) => {
|
|
12
16
|
for (var name in all)
|
package/dist/strategies.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-2DZCHRP6.mjs";
|
|
7
7
|
import {
|
|
8
8
|
require_lodash
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GPR56UYQ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_AI_MODEL,
|
|
12
12
|
MAX_AI_SERIES_POINTS,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk-IUZML4RK.mjs";
|
|
28
28
|
import {
|
|
29
29
|
createPineScriptLoader
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-IQKMII6L.mjs";
|
|
31
31
|
import "./chunk-5YNMSWL3.mjs";
|
|
32
32
|
import {
|
|
33
33
|
ensureIndicatorPluginsLoaded,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
} from "./chunk-WS5DYEVZ.mjs";
|
|
49
49
|
import {
|
|
50
50
|
__toESM
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-UV2HVMKZ.mjs";
|
|
52
52
|
|
|
53
53
|
// src/strategies.ts
|
|
54
54
|
export * from "@tradejs/core/strategies";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tradejs/node",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"description": "Node-only runtime for the TradeJS TypeScript framework: strategies, backtests, Pine strategy loading, and plugin registries.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tradejs",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@langchain/core": "^1.1.42",
|
|
69
69
|
"@langchain/openai": "^1.4.5",
|
|
70
|
-
"@tradejs/core": "^2.0.
|
|
71
|
-
"@tradejs/infra": "^2.0.
|
|
72
|
-
"@tradejs/types": "^2.0.
|
|
70
|
+
"@tradejs/core": "^2.0.5",
|
|
71
|
+
"@tradejs/infra": "^2.0.5",
|
|
72
|
+
"@tradejs/types": "^2.0.5",
|
|
73
73
|
"chalk": "4.1.2",
|
|
74
74
|
"ioredis": "5.8.0",
|
|
75
75
|
"pinets": "0.8.12",
|