@tradejs/cli 3.1.28-beta.251 → 3.1.28-beta.252

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/cli.js CHANGED
@@ -39293,9 +39293,10 @@ var init_configuredScopes = __esm({
39293
39293
  return (strategy, symbol) => {
39294
39294
  if (!strategy.selection) return true;
39295
39295
  const normalizedSymbol = normalizeSymbol(symbol);
39296
- return strategy.selection.tickers.some(
39297
- (ticker) => normalizeSymbol(ticker) === normalizedSymbol
39298
- ) || activeStrategySymbols.has(
39296
+ return strategy.selection.tickers.some((ticker) => {
39297
+ const normalizedTicker = normalizeSymbol(ticker);
39298
+ return normalizedTicker === normalizedSymbol || universe === "crypto" && `${normalizedTicker}USDT` === normalizedSymbol;
39299
+ }) || activeStrategySymbols.has(
39299
39300
  `${strategy.strategyName}\0${normalizedSymbol}`
39300
39301
  );
39301
39302
  };
@@ -4931,9 +4931,10 @@ var createConfiguredStrategySymbolMatcher = ({
4931
4931
  return (strategy, symbol) => {
4932
4932
  if (!strategy.selection) return true;
4933
4933
  const normalizedSymbol = normalizeSymbol(symbol);
4934
- return strategy.selection.tickers.some(
4935
- (ticker) => normalizeSymbol(ticker) === normalizedSymbol
4936
- ) || activeStrategySymbols.has(
4934
+ return strategy.selection.tickers.some((ticker) => {
4935
+ const normalizedTicker = normalizeSymbol(ticker);
4936
+ return normalizedTicker === normalizedSymbol || universe === "crypto" && `${normalizedTicker}USDT` === normalizedSymbol;
4937
+ }) || activeStrategySymbols.has(
4937
4938
  `${strategy.strategyName}\0${normalizedSymbol}`
4938
4939
  );
4939
4940
  };
@@ -4929,9 +4929,10 @@ var createConfiguredStrategySymbolMatcher = ({
4929
4929
  return (strategy, symbol) => {
4930
4930
  if (!strategy.selection) return true;
4931
4931
  const normalizedSymbol = normalizeSymbol(symbol);
4932
- return strategy.selection.tickers.some(
4933
- (ticker) => normalizeSymbol(ticker) === normalizedSymbol
4934
- ) || activeStrategySymbols.has(
4932
+ return strategy.selection.tickers.some((ticker) => {
4933
+ const normalizedTicker = normalizeSymbol(ticker);
4934
+ return normalizedTicker === normalizedSymbol || universe === "crypto" && `${normalizedTicker}USDT` === normalizedSymbol;
4935
+ }) || activeStrategySymbols.has(
4935
4936
  `${strategy.strategyName}\0${normalizedSymbol}`
4936
4937
  );
4937
4938
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tradejs/cli",
3
- "version": "3.1.28-beta.251",
3
+ "version": "3.1.28-beta.252",
4
4
  "description": "Official CLI for the TradeJS TypeScript framework: infra setup, backtests, signals, bots, and ML workflows.",
5
5
  "keywords": [
6
6
  "tradejs",
@@ -36,13 +36,13 @@
36
36
  "tradejs": "dist/cli.js"
37
37
  },
38
38
  "dependencies": {
39
- "@tradejs/connectors": "^3.1.28-beta.251",
40
- "@tradejs/core": "^3.1.28-beta.251",
41
- "@tradejs/indicators": "^3.1.28-beta.251",
42
- "@tradejs/infra": "^3.1.28-beta.251",
43
- "@tradejs/node": "^3.1.28-beta.251",
39
+ "@tradejs/connectors": "^3.1.28-beta.252",
40
+ "@tradejs/core": "^3.1.28-beta.252",
41
+ "@tradejs/indicators": "^3.1.28-beta.252",
42
+ "@tradejs/infra": "^3.1.28-beta.252",
43
+ "@tradejs/node": "^3.1.28-beta.252",
44
44
  "@tradejs/strategy-kit": "3.0.4",
45
- "@tradejs/types": "^3.1.28-beta.251",
45
+ "@tradejs/types": "^3.1.28-beta.252",
46
46
  "args": "^5.0.3",
47
47
  "bcryptjs": "^2.4.3",
48
48
  "chalk": "4.1.2",