backtest-kit 1.11.3 → 1.11.5

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
@@ -14909,12 +14909,15 @@ class OptimizerTemplateService {
14909
14909
  ` listenBacktestProgress,`,
14910
14910
  ` listenWalkerProgress,`,
14911
14911
  ` listenError,`,
14912
+ ` Markdown,`,
14912
14913
  `} from "backtest-kit";`,
14913
14914
  `import { promises as fs } from "fs";`,
14914
14915
  `import { v4 as uuid } from "uuid";`,
14915
14916
  `import path from "path";`,
14916
14917
  ``,
14917
- `const WARN_KB = 100;`
14918
+ `const WARN_KB = 100;`,
14919
+ ``,
14920
+ `Markdown.enable()`,
14918
14921
  ].join("\n");
14919
14922
  };
14920
14923
  /**
@@ -19934,6 +19937,7 @@ class HeatReportService {
19934
19937
  backtest: data.backtest,
19935
19938
  signalId: data.signal?.id,
19936
19939
  position: data.signal?.position,
19940
+ note: data.signal?.note,
19937
19941
  pnl: data.pnl.pnlPercentage,
19938
19942
  closeReason: data.closeReason,
19939
19943
  openTime: data.signal?.pendingAt,
package/build/index.mjs CHANGED
@@ -14889,12 +14889,15 @@ class OptimizerTemplateService {
14889
14889
  ` listenBacktestProgress,`,
14890
14890
  ` listenWalkerProgress,`,
14891
14891
  ` listenError,`,
14892
+ ` Markdown,`,
14892
14893
  `} from "backtest-kit";`,
14893
14894
  `import { promises as fs } from "fs";`,
14894
14895
  `import { v4 as uuid } from "uuid";`,
14895
14896
  `import path from "path";`,
14896
14897
  ``,
14897
- `const WARN_KB = 100;`
14898
+ `const WARN_KB = 100;`,
14899
+ ``,
14900
+ `Markdown.enable()`,
14898
14901
  ].join("\n");
14899
14902
  };
14900
14903
  /**
@@ -19914,6 +19917,7 @@ class HeatReportService {
19914
19917
  backtest: data.backtest,
19915
19918
  signalId: data.signal?.id,
19916
19919
  position: data.signal?.position,
19920
+ note: data.signal?.note,
19917
19921
  pnl: data.pnl.pnlPercentage,
19918
19922
  closeReason: data.closeReason,
19919
19923
  openTime: data.signal?.pendingAt,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backtest-kit",
3
- "version": "1.11.3",
3
+ "version": "1.11.5",
4
4
  "description": "A TypeScript library for trading system backtest",
5
5
  "author": {
6
6
  "name": "Petr Tripolsky",