@backtest-kit/pinets 3.0.9 → 3.0.11
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 +1 -1
- package/build/index.mjs +1 -1
- package/package.json +2 -2
package/build/index.cjs
CHANGED
|
@@ -774,7 +774,7 @@ async function getSignal(source, { symbol, timeframe, limit }) {
|
|
|
774
774
|
}
|
|
775
775
|
|
|
776
776
|
const DUMP_SIGNAL_METHOD_NAME = "dump.dumpSignal";
|
|
777
|
-
async function dumpPlotData(signalId, plots, mapping, taName, outputDir =
|
|
777
|
+
async function dumpPlotData(signalId, plots, mapping, taName, outputDir = `./dump/ta/${taName}`) {
|
|
778
778
|
pine.loggerService.log(DUMP_SIGNAL_METHOD_NAME, {
|
|
779
779
|
signalId,
|
|
780
780
|
plotCount: Object.keys(plots).length,
|
package/build/index.mjs
CHANGED
|
@@ -771,7 +771,7 @@ async function getSignal(source, { symbol, timeframe, limit }) {
|
|
|
771
771
|
}
|
|
772
772
|
|
|
773
773
|
const DUMP_SIGNAL_METHOD_NAME = "dump.dumpSignal";
|
|
774
|
-
async function dumpPlotData(signalId, plots, mapping, taName, outputDir =
|
|
774
|
+
async function dumpPlotData(signalId, plots, mapping, taName, outputDir = `./dump/ta/${taName}`) {
|
|
775
775
|
pine.loggerService.log(DUMP_SIGNAL_METHOD_NAME, {
|
|
776
776
|
signalId,
|
|
777
777
|
plotCount: Object.keys(plots).length,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backtest-kit/pinets",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"description": "Run TradingView Pine Script strategies in Node.js self hosted environment. Execute existing Pine Script indicators and generate trading signals with 1:1 syntax compatibility via PineTS runtime.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Petr Tripolsky",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"worker-testbed": "1.0.12"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
|
-
"backtest-kit": "^3.0.
|
|
75
|
+
"backtest-kit": "^3.0.15",
|
|
76
76
|
"pinets": "^0.8.6",
|
|
77
77
|
"typescript": "^5.0.0"
|
|
78
78
|
},
|