@backtest-kit/pinets 3.0.10 → 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 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 = "./dump/ta") {
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 = "./dump/ta") {
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.10",
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",