backtest-kit 1.6.8 → 1.6.9
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/build/index.cjs +2 -2
- package/build/index.mjs +2 -2
- package/package.json +1 -1
package/build/index.cjs
CHANGED
|
@@ -16621,7 +16621,7 @@ class BacktestUtils {
|
|
|
16621
16621
|
* Memoized function to get or create BacktestInstance for a symbol-strategy pair.
|
|
16622
16622
|
* Each symbol-strategy combination gets its own isolated instance.
|
|
16623
16623
|
*/
|
|
16624
|
-
this._getInstance = functoolsKit.memoize(([symbol, strategyName]) => `${symbol}:${strategyName}`, (symbol, strategyName, exchangeName, frameName) => new BacktestInstance(symbol, strategyName, exchangeName, frameName));
|
|
16624
|
+
this._getInstance = functoolsKit.memoize(([symbol, strategyName, exchangeName, frameName]) => `${symbol}:${strategyName}:${exchangeName}:${frameName}`, (symbol, strategyName, exchangeName, frameName) => new BacktestInstance(symbol, strategyName, exchangeName, frameName));
|
|
16625
16625
|
/**
|
|
16626
16626
|
* Runs backtest for a symbol with context propagation.
|
|
16627
16627
|
*
|
|
@@ -17151,7 +17151,7 @@ class LiveUtils {
|
|
|
17151
17151
|
* Memoized function to get or create LiveInstance for a symbol-strategy pair.
|
|
17152
17152
|
* Each symbol-strategy combination gets its own isolated instance.
|
|
17153
17153
|
*/
|
|
17154
|
-
this._getInstance = functoolsKit.memoize(([symbol, strategyName]) => `${symbol}:${strategyName}`, (symbol, strategyName, exchangeName) => new LiveInstance(symbol, strategyName, exchangeName));
|
|
17154
|
+
this._getInstance = functoolsKit.memoize(([symbol, strategyName, exchangeName]) => `${symbol}:${strategyName}:${exchangeName}`, (symbol, strategyName, exchangeName) => new LiveInstance(symbol, strategyName, exchangeName));
|
|
17155
17155
|
/**
|
|
17156
17156
|
* Runs live trading for a symbol with context propagation.
|
|
17157
17157
|
*
|
package/build/index.mjs
CHANGED
|
@@ -16619,7 +16619,7 @@ class BacktestUtils {
|
|
|
16619
16619
|
* Memoized function to get or create BacktestInstance for a symbol-strategy pair.
|
|
16620
16620
|
* Each symbol-strategy combination gets its own isolated instance.
|
|
16621
16621
|
*/
|
|
16622
|
-
this._getInstance = memoize(([symbol, strategyName]) => `${symbol}:${strategyName}`, (symbol, strategyName, exchangeName, frameName) => new BacktestInstance(symbol, strategyName, exchangeName, frameName));
|
|
16622
|
+
this._getInstance = memoize(([symbol, strategyName, exchangeName, frameName]) => `${symbol}:${strategyName}:${exchangeName}:${frameName}`, (symbol, strategyName, exchangeName, frameName) => new BacktestInstance(symbol, strategyName, exchangeName, frameName));
|
|
16623
16623
|
/**
|
|
16624
16624
|
* Runs backtest for a symbol with context propagation.
|
|
16625
16625
|
*
|
|
@@ -17149,7 +17149,7 @@ class LiveUtils {
|
|
|
17149
17149
|
* Memoized function to get or create LiveInstance for a symbol-strategy pair.
|
|
17150
17150
|
* Each symbol-strategy combination gets its own isolated instance.
|
|
17151
17151
|
*/
|
|
17152
|
-
this._getInstance = memoize(([symbol, strategyName]) => `${symbol}:${strategyName}`, (symbol, strategyName, exchangeName) => new LiveInstance(symbol, strategyName, exchangeName));
|
|
17152
|
+
this._getInstance = memoize(([symbol, strategyName, exchangeName]) => `${symbol}:${strategyName}:${exchangeName}`, (symbol, strategyName, exchangeName) => new LiveInstance(symbol, strategyName, exchangeName));
|
|
17153
17153
|
/**
|
|
17154
17154
|
* Runs live trading for a symbol with context propagation.
|
|
17155
17155
|
*
|