@tradejs/node 3.1.29-beta.287 → 3.1.29-beta.288

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/backtest.js CHANGED
@@ -7151,8 +7151,11 @@ var createStrategyRuntime = ({
7151
7151
  return enrichedBaseContext;
7152
7152
  }
7153
7153
  });
7154
+ const coreConfig = { ...config };
7155
+ delete coreConfig.RECORD_RUNTIME_TRADES;
7156
+ delete coreConfig.SIMULATE_ORDERS;
7154
7157
  const core = await createCore({
7155
- config,
7158
+ config: coreConfig,
7156
7159
  data,
7157
7160
  strategyApi,
7158
7161
  indicatorsState
package/dist/backtest.mjs CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  evaluateResearchEntryPolicy,
11
11
  matchesResearchEntryRules,
12
12
  parseResearchEntryPolicy
13
- } from "./chunk-KOV3U6ZZ.mjs";
13
+ } from "./chunk-F7CLF3PT.mjs";
14
14
  import {
15
15
  buildAiPayload,
16
16
  getStrategyCreator
@@ -4580,8 +4580,11 @@ var createStrategyRuntime = ({
4580
4580
  return enrichedBaseContext;
4581
4581
  }
4582
4582
  });
4583
+ const coreConfig = { ...config };
4584
+ delete coreConfig.RECORD_RUNTIME_TRADES;
4585
+ delete coreConfig.SIMULATE_ORDERS;
4583
4586
  const core = await createCore({
4584
- config,
4587
+ config: coreConfig,
4585
4588
  data,
4586
4589
  strategyApi,
4587
4590
  indicatorsState
@@ -7185,8 +7185,11 @@ var createStrategyRuntime = ({
7185
7185
  return enrichedBaseContext;
7186
7186
  }
7187
7187
  });
7188
+ const coreConfig = { ...config };
7189
+ delete coreConfig.RECORD_RUNTIME_TRADES;
7190
+ delete coreConfig.SIMULATE_ORDERS;
7188
7191
  const core = await createCore({
7189
- config,
7192
+ config: coreConfig,
7190
7193
  data,
7191
7194
  strategyApi,
7192
7195
  indicatorsState
@@ -2,7 +2,7 @@ import {
2
2
  getRuntimeDeployment,
3
3
  loadResolvedRuntimeStrategies
4
4
  } from "./chunk-BO42QWAB.mjs";
5
- import "./chunk-KOV3U6ZZ.mjs";
5
+ import "./chunk-F7CLF3PT.mjs";
6
6
  import "./chunk-UL5Z46JL.mjs";
7
7
  import "./chunk-LZDXRXIU.mjs";
8
8
  import "./chunk-YR55Q355.mjs";
package/dist/mcp.d.mts CHANGED
@@ -12,7 +12,7 @@ declare const redactMcpJobLog: (line: string) => string;
12
12
  /** Offsets refer to the retained worker tail, which may shift while running. */
13
13
  declare const readMcpJobLogs: (principal: McpPrincipal, id: string, offset?: number, limit?: number) => Promise<{
14
14
  jobId: string;
15
- status: "completed" | "failed" | "running" | "queued" | "waiting_resources" | "waiting_executor" | "cancelled";
15
+ status: "running" | "completed" | "failed" | "queued" | "waiting_resources" | "waiting_executor" | "cancelled";
16
16
  updatedAt: number;
17
17
  offset: number;
18
18
  nextOffset: number | null;
package/dist/mcp.d.ts CHANGED
@@ -12,7 +12,7 @@ declare const redactMcpJobLog: (line: string) => string;
12
12
  /** Offsets refer to the retained worker tail, which may shift while running. */
13
13
  declare const readMcpJobLogs: (principal: McpPrincipal, id: string, offset?: number, limit?: number) => Promise<{
14
14
  jobId: string;
15
- status: "completed" | "failed" | "running" | "queued" | "waiting_resources" | "waiting_executor" | "cancelled";
15
+ status: "running" | "completed" | "failed" | "queued" | "waiting_resources" | "waiting_executor" | "cancelled";
16
16
  updatedAt: number;
17
17
  offset: number;
18
18
  nextOffset: number | null;
package/dist/mcp.js CHANGED
@@ -7179,8 +7179,11 @@ var createStrategyRuntime = ({
7179
7179
  return enrichedBaseContext;
7180
7180
  }
7181
7181
  });
7182
+ const coreConfig = { ...config };
7183
+ delete coreConfig.RECORD_RUNTIME_TRADES;
7184
+ delete coreConfig.SIMULATE_ORDERS;
7182
7185
  const core = await createCore({
7183
- config,
7186
+ config: coreConfig,
7184
7187
  data,
7185
7188
  strategyApi,
7186
7189
  indicatorsState
package/dist/mcp.mjs CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  listRuntimeDeployments,
8
8
  loadResolvedRuntimeStrategies
9
9
  } from "./chunk-BO42QWAB.mjs";
10
- import "./chunk-KOV3U6ZZ.mjs";
10
+ import "./chunk-F7CLF3PT.mjs";
11
11
  import {
12
12
  ensureIndicatorPluginsLoaded
13
13
  } from "./chunk-UL5Z46JL.mjs";
package/dist/registry.js CHANGED
@@ -7181,8 +7181,11 @@ var createStrategyRuntime = ({
7181
7181
  return enrichedBaseContext;
7182
7182
  }
7183
7183
  });
7184
+ const coreConfig = { ...config };
7185
+ delete coreConfig.RECORD_RUNTIME_TRADES;
7186
+ delete coreConfig.SIMULATE_ORDERS;
7184
7187
  const core = await createCore({
7185
- config,
7188
+ config: coreConfig,
7186
7189
  data,
7187
7190
  strategyApi,
7188
7191
  indicatorsState
package/dist/registry.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./chunk-JQOLTLEY.mjs";
2
- import "./chunk-KOV3U6ZZ.mjs";
2
+ import "./chunk-F7CLF3PT.mjs";
3
3
  import {
4
4
  ensureIndicatorPluginsLoaded,
5
5
  ensureStrategyPluginsLoaded,
@@ -8165,8 +8165,11 @@ var createStrategyRuntime = ({
8165
8165
  return enrichedBaseContext;
8166
8166
  }
8167
8167
  });
8168
+ const coreConfig = { ...config };
8169
+ delete coreConfig.RECORD_RUNTIME_TRADES;
8170
+ delete coreConfig.SIMULATE_ORDERS;
8168
8171
  const core = await createCore({
8169
- config,
8172
+ config: coreConfig,
8170
8173
  data,
8171
8174
  strategyApi,
8172
8175
  indicatorsState
@@ -9,7 +9,7 @@ import {
9
9
  listRuntimeDeployments,
10
10
  loadResolvedRuntimeStrategies
11
11
  } from "./chunk-BO42QWAB.mjs";
12
- import "./chunk-KOV3U6ZZ.mjs";
12
+ import "./chunk-F7CLF3PT.mjs";
13
13
  import "./chunk-UL5Z46JL.mjs";
14
14
  import "./chunk-LZDXRXIU.mjs";
15
15
  import "./chunk-YR55Q355.mjs";
@@ -7160,8 +7160,11 @@ var createStrategyRuntime = ({
7160
7160
  return enrichedBaseContext;
7161
7161
  }
7162
7162
  });
7163
+ const coreConfig = { ...config };
7164
+ delete coreConfig.RECORD_RUNTIME_TRADES;
7165
+ delete coreConfig.SIMULATE_ORDERS;
7163
7166
  const core = await createCore({
7164
- config,
7167
+ config: coreConfig,
7165
7168
  data,
7166
7169
  strategyApi,
7167
7170
  indicatorsState
@@ -9,7 +9,7 @@ import {
9
9
  resolveRuntimeComposition,
10
10
  verifyRuntimeDeclaration
11
11
  } from "./chunk-BO42QWAB.mjs";
12
- import "./chunk-KOV3U6ZZ.mjs";
12
+ import "./chunk-F7CLF3PT.mjs";
13
13
  import "./chunk-UL5Z46JL.mjs";
14
14
  import "./chunk-LZDXRXIU.mjs";
15
15
  import "./chunk-YR55Q355.mjs";
@@ -7422,8 +7422,11 @@ var createStrategyRuntime = ({
7422
7422
  return enrichedBaseContext;
7423
7423
  }
7424
7424
  });
7425
+ const coreConfig = { ...config };
7426
+ delete coreConfig.RECORD_RUNTIME_TRADES;
7427
+ delete coreConfig.SIMULATE_ORDERS;
7425
7428
  const core = await createCore({
7426
- config,
7429
+ config: coreConfig,
7427
7430
  data,
7428
7431
  strategyApi,
7429
7432
  indicatorsState
@@ -23,7 +23,7 @@ import {
23
23
  resolveHyperliquidPerpFromSignalSymbol,
24
24
  resolveStrategyConfig,
25
25
  validateEntryProtectionAtArrival
26
- } from "./chunk-KOV3U6ZZ.mjs";
26
+ } from "./chunk-F7CLF3PT.mjs";
27
27
  import {
28
28
  DEFAULT_AI_MODEL,
29
29
  MAX_AI_SERIES_POINTS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tradejs/node",
3
- "version": "3.1.29-beta.287",
3
+ "version": "3.1.29-beta.288",
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",
@@ -105,9 +105,9 @@
105
105
  "dependencies": {
106
106
  "@langchain/core": "^1.2.3",
107
107
  "@langchain/openai": "^1.5.5",
108
- "@tradejs/core": "^3.1.29-beta.287",
109
- "@tradejs/infra": "^3.1.29-beta.287",
110
- "@tradejs/types": "^3.1.29-beta.287",
108
+ "@tradejs/core": "^3.1.29-beta.288",
109
+ "@tradejs/infra": "^3.1.29-beta.288",
110
+ "@tradejs/types": "^3.1.29-beta.288",
111
111
  "@types/node": "^24",
112
112
  "chalk": "4.1.2",
113
113
  "ioredis": "5.11.1",
@@ -120,7 +120,7 @@
120
120
  "typescript": "^5.9"
121
121
  },
122
122
  "devDependencies": {
123
- "@tradejs/indicators": "^3.1.29-beta.287",
123
+ "@tradejs/indicators": "^3.1.29-beta.288",
124
124
  "@tradejs/strategy-adaptive-momentum-ribbon": "3.0.5",
125
125
  "@tradejs/strategy-hyperliquid-consensus": "3.0.5",
126
126
  "@tradejs/strategy-kit": "3.0.6",