@backtest-kit/pinets 6.5.0 → 6.8.1
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 +2 -2
- package/package.json +5 -5
package/build/index.cjs
CHANGED
|
@@ -638,7 +638,7 @@ class PineMarkdownService {
|
|
|
638
638
|
});
|
|
639
639
|
const content = this.getReport(signalId, plots, mapping);
|
|
640
640
|
const { exchangeName, frameName, strategyName } = GET_METHOD_CONTEXT_FN();
|
|
641
|
-
await backtestKit.
|
|
641
|
+
await backtestKit.MarkdownWriter.writeData(taName, content, {
|
|
642
642
|
path: outputDir,
|
|
643
643
|
file: `${String(signalId)}.md`,
|
|
644
644
|
symbol: "",
|
package/build/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { join } from 'path';
|
|
2
|
-
import { getDate, ExecutionContextService, lib, Exchange, MethodContextService, getRawCandles,
|
|
2
|
+
import { getDate, ExecutionContextService, lib, Exchange, MethodContextService, getRawCandles, MarkdownWriter } from 'backtest-kit';
|
|
3
3
|
import { createActivator } from 'di-kit';
|
|
4
4
|
import { scoped } from 'di-scoped';
|
|
5
5
|
import { singleshot, memoize, str, randomString } from 'functools-kit';
|
|
@@ -635,7 +635,7 @@ class PineMarkdownService {
|
|
|
635
635
|
});
|
|
636
636
|
const content = this.getReport(signalId, plots, mapping);
|
|
637
637
|
const { exchangeName, frameName, strategyName } = GET_METHOD_CONTEXT_FN();
|
|
638
|
-
await
|
|
638
|
+
await MarkdownWriter.writeData(taName, content, {
|
|
639
639
|
path: outputDir,
|
|
640
640
|
file: `${String(signalId)}.md`,
|
|
641
641
|
symbol: "",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backtest-kit/pinets",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.8.1",
|
|
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",
|
|
@@ -69,18 +69,18 @@
|
|
|
69
69
|
"ts-morph": "27.0.2",
|
|
70
70
|
"tslib": "2.7.0",
|
|
71
71
|
"typedoc": "0.27.9",
|
|
72
|
-
"backtest-kit": "6.
|
|
72
|
+
"backtest-kit": "6.8.1",
|
|
73
73
|
"worker-testbed": "1.0.12"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
|
-
"backtest-kit": "^6.
|
|
77
|
-
"pinets": "^0.9.
|
|
76
|
+
"backtest-kit": "^6.8.1",
|
|
77
|
+
"pinets": "^0.9.10",
|
|
78
78
|
"typescript": "^5.0.0"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
81
|
"di-kit": "^1.1.1",
|
|
82
82
|
"di-scoped": "^1.0.21",
|
|
83
|
-
"functools-kit": "^1.
|
|
83
|
+
"functools-kit": "^1.1.1",
|
|
84
84
|
"get-moment-stamp": "^1.1.2"
|
|
85
85
|
},
|
|
86
86
|
"publishConfig": {
|