@backtest-kit/ui 11.5.2 → 11.7.0
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/README.md +254 -254
- package/build/index.cjs +73 -2
- package/build/index.mjs +73 -2
- package/build/modules/frontend/build/3rdparty/ace_1.4.12/ace.js +21337 -21337
- package/build/modules/frontend/build/3rdparty/ace_1.4.12/mode-javascript.js +797 -797
- package/build/modules/frontend/build/3rdparty/ace_1.4.12/theme-chrome.js +137 -137
- package/build/modules/frontend/build/3rdparty/ace_1.4.12/theme-twilight.js +115 -115
- package/build/modules/frontend/build/3rdparty/ace_1.4.12/worker-javascript.js +15012 -15012
- package/build/modules/frontend/build/3rdparty/qfchart_0.8.7/echarts.min.js +45 -45
- package/build/modules/frontend/build/assets/{Article-CVaSMs6N.js → Article-CYNOK9n9.js} +1 -1
- package/build/modules/frontend/build/assets/{Background-nRt8nfzS.js → Background-DtU4lH09.js} +1 -1
- package/build/modules/frontend/build/assets/{IconPhoto-Dia6zi4c.js → IconPhoto-B1J620Vq.js} +1 -1
- package/build/modules/frontend/build/assets/{KeyboardArrowLeft-DjOOr9jL.js → KeyboardArrowLeft-XE5ADfKG.js} +1 -1
- package/build/modules/frontend/build/assets/{PictureAsPdfOutlined-D2cEoYkv.js → PictureAsPdfOutlined-m2BO1_gG.js} +1 -1
- package/build/modules/frontend/build/assets/{Refresh-Bg8tiYpa.js → Refresh-Bs5my3Fa.js} +1 -1
- package/build/modules/frontend/build/assets/emitters-DxYtfX1b.js +1 -0
- package/build/modules/frontend/build/assets/{hasRouteMatch-C1ixqcBH.js → hasRouteMatch-BdSLJ8tx.js} +1 -1
- package/build/modules/frontend/build/assets/{html2canvas-CCefbDGC.js → html2canvas-DZim_iNK.js} +1 -1
- package/build/modules/frontend/build/assets/{index-B6alP5Jz.js → index-1GyweKyN.js} +1 -1
- package/build/modules/frontend/build/assets/{index-BId2KHka.js → index-A_a_l8g_.js} +1 -1
- package/build/modules/frontend/build/assets/{index-CsuuTSIw.js → index-B8cgXWQa.js} +1 -1
- package/build/modules/frontend/build/assets/{index-B4LRKB07.js → index-BBBUKPeg.js} +1 -1
- package/build/modules/frontend/build/assets/{index-Cr93wJEM.js → index-BocNYL-p.js} +1 -1
- package/build/modules/frontend/build/assets/{index-DZmjvnkt.js → index-BwZAXYx4.js} +1 -1
- package/build/modules/frontend/build/assets/index-C2-GeRog.js +1 -0
- package/build/modules/frontend/build/assets/{index-j1X1yrk6.js → index-CgexeU-m.js} +1 -1
- package/build/modules/frontend/build/assets/{index-Dwx9A363.js → index-D-KxXXY6.js} +1 -1
- package/build/modules/frontend/build/assets/{index-B3YL1iYZ.js → index-DdRXymvn.js} +6 -6
- package/build/modules/frontend/build/assets/{index-Ct4Ns3U-.js → index-RHKOVbjw.js} +1 -1
- package/build/modules/frontend/build/assets/{index-V_AWHXiQ.js → index-RKdfdVzq.js} +1 -1
- package/build/modules/frontend/build/assets/{index-XoLgXcSB.js → index-p_slI1_B.js} +1 -1
- package/build/modules/frontend/build/assets/{index.es-CG0GEXj7.js → index.es-Cu-atqbR.js} +1 -1
- package/build/modules/frontend/build/assets/markdownit-AwxKNksU.js +1 -0
- package/build/modules/frontend/build/index.html +87 -87
- package/build/modules/frontend/build/manifest.json +23 -23
- package/package.json +118 -118
- package/build/modules/frontend/build/assets/emitters-B9dXPPQB.js +0 -1
- package/build/modules/frontend/build/assets/index-BVl5GCKe.js +0 -1
package/build/index.mjs
CHANGED
|
@@ -1233,7 +1233,21 @@ class StatusViewService {
|
|
|
1233
1233
|
portfolioCalmarRatio: currentHeat.portfolioCalmarRatio,
|
|
1234
1234
|
portfolioRecoveryFactor: currentHeat.portfolioRecoveryFactor,
|
|
1235
1235
|
portfolioExpectancy: currentHeat.portfolioExpectancy,
|
|
1236
|
-
|
|
1236
|
+
portfolioAvgPeakPnl: currentHeat.portfolioAvgPeakPnl,
|
|
1237
|
+
portfolioAvgFallPnl: currentHeat.portfolioAvgFallPnl,
|
|
1238
|
+
portfolioPeakProfitPnl: currentHeat.portfolioPeakProfitPnl,
|
|
1239
|
+
portfolioMaxDrawdownPnl: currentHeat.portfolioMaxDrawdownPnl,
|
|
1240
|
+
portfolioAvgDuration: currentHeat.portfolioAvgDuration,
|
|
1241
|
+
portfolioMedianPnl: currentHeat.portfolioMedianPnl,
|
|
1242
|
+
portfolioAvgConsecutiveWinPnl: currentHeat.portfolioAvgConsecutiveWinPnl,
|
|
1243
|
+
portfolioAvgConsecutiveLossPnl: currentHeat.portfolioAvgConsecutiveLossPnl,
|
|
1244
|
+
portfolioAvgWinDuration: currentHeat.portfolioAvgWinDuration,
|
|
1245
|
+
portfolioAvgLossDuration: currentHeat.portfolioAvgLossDuration,
|
|
1246
|
+
portfolioAnnualizedSharpeRatio: currentHeat.portfolioAnnualizedSharpeRatio,
|
|
1247
|
+
portfolioCertaintyRatio: currentHeat.portfolioCertaintyRatio,
|
|
1248
|
+
portfolioExpectedYearlyReturns: currentHeat.portfolioExpectedYearlyReturns,
|
|
1249
|
+
portfolioTradesPerYear: currentHeat.portfolioTradesPerYear,
|
|
1250
|
+
symbols: currentHeat.symbols.map(({ symbol, totalPnl, winRate, profitFactor, maxDrawdown, expectancy, totalTrades, sortinoRatio, calmarRatio, recoveryFactor, sharpeRatio, annualizedSharpeRatio, certaintyRatio, expectedYearlyReturns, tradesPerYear, avgPnl, stdDev, avgWin, avgLoss, maxWinStreak, maxLossStreak, avgPeakPnl, avgFallPnl, peakProfitPnl, maxDrawdownPnl, avgDuration, medianPnl, avgConsecutiveWinPnl, avgConsecutiveLossPnl, avgWinDuration, avgLossDuration, }) => ({
|
|
1237
1251
|
symbol,
|
|
1238
1252
|
totalPnl,
|
|
1239
1253
|
winRate,
|
|
@@ -1244,6 +1258,27 @@ class StatusViewService {
|
|
|
1244
1258
|
sortinoRatio,
|
|
1245
1259
|
calmarRatio,
|
|
1246
1260
|
recoveryFactor,
|
|
1261
|
+
sharpeRatio,
|
|
1262
|
+
annualizedSharpeRatio,
|
|
1263
|
+
certaintyRatio,
|
|
1264
|
+
expectedYearlyReturns,
|
|
1265
|
+
tradesPerYear,
|
|
1266
|
+
avgPnl,
|
|
1267
|
+
stdDev,
|
|
1268
|
+
avgWin,
|
|
1269
|
+
avgLoss,
|
|
1270
|
+
maxWinStreak,
|
|
1271
|
+
maxLossStreak,
|
|
1272
|
+
avgPeakPnl,
|
|
1273
|
+
avgFallPnl,
|
|
1274
|
+
peakProfitPnl,
|
|
1275
|
+
maxDrawdownPnl,
|
|
1276
|
+
avgDuration,
|
|
1277
|
+
medianPnl,
|
|
1278
|
+
avgConsecutiveWinPnl,
|
|
1279
|
+
avgConsecutiveLossPnl,
|
|
1280
|
+
avgWinDuration,
|
|
1281
|
+
avgLossDuration,
|
|
1247
1282
|
})),
|
|
1248
1283
|
backtest: true,
|
|
1249
1284
|
};
|
|
@@ -1271,7 +1306,21 @@ class StatusViewService {
|
|
|
1271
1306
|
portfolioCalmarRatio: currentHeat.portfolioCalmarRatio,
|
|
1272
1307
|
portfolioRecoveryFactor: currentHeat.portfolioRecoveryFactor,
|
|
1273
1308
|
portfolioExpectancy: currentHeat.portfolioExpectancy,
|
|
1274
|
-
|
|
1309
|
+
portfolioAvgPeakPnl: currentHeat.portfolioAvgPeakPnl,
|
|
1310
|
+
portfolioAvgFallPnl: currentHeat.portfolioAvgFallPnl,
|
|
1311
|
+
portfolioPeakProfitPnl: currentHeat.portfolioPeakProfitPnl,
|
|
1312
|
+
portfolioMaxDrawdownPnl: currentHeat.portfolioMaxDrawdownPnl,
|
|
1313
|
+
portfolioAvgDuration: currentHeat.portfolioAvgDuration,
|
|
1314
|
+
portfolioMedianPnl: currentHeat.portfolioMedianPnl,
|
|
1315
|
+
portfolioAvgConsecutiveWinPnl: currentHeat.portfolioAvgConsecutiveWinPnl,
|
|
1316
|
+
portfolioAvgConsecutiveLossPnl: currentHeat.portfolioAvgConsecutiveLossPnl,
|
|
1317
|
+
portfolioAvgWinDuration: currentHeat.portfolioAvgWinDuration,
|
|
1318
|
+
portfolioAvgLossDuration: currentHeat.portfolioAvgLossDuration,
|
|
1319
|
+
portfolioAnnualizedSharpeRatio: currentHeat.portfolioAnnualizedSharpeRatio,
|
|
1320
|
+
portfolioCertaintyRatio: currentHeat.portfolioCertaintyRatio,
|
|
1321
|
+
portfolioExpectedYearlyReturns: currentHeat.portfolioExpectedYearlyReturns,
|
|
1322
|
+
portfolioTradesPerYear: currentHeat.portfolioTradesPerYear,
|
|
1323
|
+
symbols: currentHeat.symbols.map(({ symbol, totalPnl, winRate, profitFactor, maxDrawdown, expectancy, totalTrades, sortinoRatio, calmarRatio, recoveryFactor, sharpeRatio, annualizedSharpeRatio, certaintyRatio, expectedYearlyReturns, tradesPerYear, avgPnl, stdDev, avgWin, avgLoss, maxWinStreak, maxLossStreak, avgPeakPnl, avgFallPnl, peakProfitPnl, maxDrawdownPnl, avgDuration, medianPnl, avgConsecutiveWinPnl, avgConsecutiveLossPnl, avgWinDuration, avgLossDuration, }) => ({
|
|
1275
1324
|
symbol,
|
|
1276
1325
|
totalPnl,
|
|
1277
1326
|
winRate,
|
|
@@ -1282,6 +1331,27 @@ class StatusViewService {
|
|
|
1282
1331
|
sortinoRatio,
|
|
1283
1332
|
calmarRatio,
|
|
1284
1333
|
recoveryFactor,
|
|
1334
|
+
sharpeRatio,
|
|
1335
|
+
annualizedSharpeRatio,
|
|
1336
|
+
certaintyRatio,
|
|
1337
|
+
expectedYearlyReturns,
|
|
1338
|
+
tradesPerYear,
|
|
1339
|
+
avgPnl,
|
|
1340
|
+
stdDev,
|
|
1341
|
+
avgWin,
|
|
1342
|
+
avgLoss,
|
|
1343
|
+
maxWinStreak,
|
|
1344
|
+
maxLossStreak,
|
|
1345
|
+
avgPeakPnl,
|
|
1346
|
+
avgFallPnl,
|
|
1347
|
+
peakProfitPnl,
|
|
1348
|
+
maxDrawdownPnl,
|
|
1349
|
+
avgDuration,
|
|
1350
|
+
medianPnl,
|
|
1351
|
+
avgConsecutiveWinPnl,
|
|
1352
|
+
avgConsecutiveLossPnl,
|
|
1353
|
+
avgWinDuration,
|
|
1354
|
+
avgLossDuration,
|
|
1285
1355
|
})),
|
|
1286
1356
|
backtest: false,
|
|
1287
1357
|
};
|
|
@@ -3776,6 +3846,7 @@ const makeContext = singleshot(() => {
|
|
|
3776
3846
|
BacktestKit,
|
|
3777
3847
|
require,
|
|
3778
3848
|
console,
|
|
3849
|
+
process,
|
|
3779
3850
|
});
|
|
3780
3851
|
return context;
|
|
3781
3852
|
});
|