backtest-kit 5.6.0 → 5.6.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 +20 -5
- package/build/index.mjs +20 -5
- package/package.json +1 -1
- package/types.d.ts +69 -67
package/build/index.cjs
CHANGED
|
@@ -18502,6 +18502,21 @@ const highest_profit_columns = [
|
|
|
18502
18502
|
format: (data) => data.position.toUpperCase(),
|
|
18503
18503
|
isVisible: () => true,
|
|
18504
18504
|
},
|
|
18505
|
+
{
|
|
18506
|
+
key: "pnl",
|
|
18507
|
+
label: "PNL (net)",
|
|
18508
|
+
format: (data) => {
|
|
18509
|
+
const pnlPercentage = data.pnl.pnlPercentage;
|
|
18510
|
+
return `${pnlPercentage > 0 ? "+" : ""}${pnlPercentage.toFixed(2)}%`;
|
|
18511
|
+
},
|
|
18512
|
+
isVisible: () => true,
|
|
18513
|
+
},
|
|
18514
|
+
{
|
|
18515
|
+
key: "pnlCost",
|
|
18516
|
+
label: "PNL (USD)",
|
|
18517
|
+
format: (data) => `${data.pnl.pnlCost > 0 ? "+" : ""}${data.pnl.pnlCost.toFixed(2)} USD`,
|
|
18518
|
+
isVisible: () => true,
|
|
18519
|
+
},
|
|
18505
18520
|
{
|
|
18506
18521
|
key: "currentPrice",
|
|
18507
18522
|
label: "Record Price",
|
|
@@ -21144,6 +21159,10 @@ class PerformanceStorage {
|
|
|
21144
21159
|
return [
|
|
21145
21160
|
`# Performance Report: ${strategyName}`,
|
|
21146
21161
|
"",
|
|
21162
|
+
summaryTable,
|
|
21163
|
+
"",
|
|
21164
|
+
"**Note:** All durations are in milliseconds. P95/P99 represent 95th and 99th percentile response times. Wait times show the interval between consecutive events of the same type.",
|
|
21165
|
+
"",
|
|
21147
21166
|
`**Total events:** ${stats.totalEvents}`,
|
|
21148
21167
|
`**Total execution time:** ${stats.totalDuration.toFixed(2)}ms`,
|
|
21149
21168
|
`**Number of metric types:** ${Object.keys(stats.metricStats).length}`,
|
|
@@ -21152,11 +21171,6 @@ class PerformanceStorage {
|
|
|
21152
21171
|
"",
|
|
21153
21172
|
percentages.join("\n"),
|
|
21154
21173
|
"",
|
|
21155
|
-
"## Detailed Metrics",
|
|
21156
|
-
"",
|
|
21157
|
-
summaryTable,
|
|
21158
|
-
"",
|
|
21159
|
-
"**Note:** All durations are in milliseconds. P95/P99 represent 95th and 99th percentile response times. Wait times show the interval between consecutive events of the same type."
|
|
21160
21174
|
].join("\n");
|
|
21161
21175
|
}
|
|
21162
21176
|
/**
|
|
@@ -29787,6 +29801,7 @@ class ReportStorage {
|
|
|
29787
29801
|
strategyName: data.strategyName,
|
|
29788
29802
|
signalId: data.id,
|
|
29789
29803
|
position: data.position,
|
|
29804
|
+
pnl: data.pnl,
|
|
29790
29805
|
currentPrice,
|
|
29791
29806
|
priceOpen: data.priceOpen,
|
|
29792
29807
|
priceTakeProfit: data.priceTakeProfit,
|
package/build/index.mjs
CHANGED
|
@@ -18482,6 +18482,21 @@ const highest_profit_columns = [
|
|
|
18482
18482
|
format: (data) => data.position.toUpperCase(),
|
|
18483
18483
|
isVisible: () => true,
|
|
18484
18484
|
},
|
|
18485
|
+
{
|
|
18486
|
+
key: "pnl",
|
|
18487
|
+
label: "PNL (net)",
|
|
18488
|
+
format: (data) => {
|
|
18489
|
+
const pnlPercentage = data.pnl.pnlPercentage;
|
|
18490
|
+
return `${pnlPercentage > 0 ? "+" : ""}${pnlPercentage.toFixed(2)}%`;
|
|
18491
|
+
},
|
|
18492
|
+
isVisible: () => true,
|
|
18493
|
+
},
|
|
18494
|
+
{
|
|
18495
|
+
key: "pnlCost",
|
|
18496
|
+
label: "PNL (USD)",
|
|
18497
|
+
format: (data) => `${data.pnl.pnlCost > 0 ? "+" : ""}${data.pnl.pnlCost.toFixed(2)} USD`,
|
|
18498
|
+
isVisible: () => true,
|
|
18499
|
+
},
|
|
18485
18500
|
{
|
|
18486
18501
|
key: "currentPrice",
|
|
18487
18502
|
label: "Record Price",
|
|
@@ -21124,6 +21139,10 @@ class PerformanceStorage {
|
|
|
21124
21139
|
return [
|
|
21125
21140
|
`# Performance Report: ${strategyName}`,
|
|
21126
21141
|
"",
|
|
21142
|
+
summaryTable,
|
|
21143
|
+
"",
|
|
21144
|
+
"**Note:** All durations are in milliseconds. P95/P99 represent 95th and 99th percentile response times. Wait times show the interval between consecutive events of the same type.",
|
|
21145
|
+
"",
|
|
21127
21146
|
`**Total events:** ${stats.totalEvents}`,
|
|
21128
21147
|
`**Total execution time:** ${stats.totalDuration.toFixed(2)}ms`,
|
|
21129
21148
|
`**Number of metric types:** ${Object.keys(stats.metricStats).length}`,
|
|
@@ -21132,11 +21151,6 @@ class PerformanceStorage {
|
|
|
21132
21151
|
"",
|
|
21133
21152
|
percentages.join("\n"),
|
|
21134
21153
|
"",
|
|
21135
|
-
"## Detailed Metrics",
|
|
21136
|
-
"",
|
|
21137
|
-
summaryTable,
|
|
21138
|
-
"",
|
|
21139
|
-
"**Note:** All durations are in milliseconds. P95/P99 represent 95th and 99th percentile response times. Wait times show the interval between consecutive events of the same type."
|
|
21140
21154
|
].join("\n");
|
|
21141
21155
|
}
|
|
21142
21156
|
/**
|
|
@@ -29767,6 +29781,7 @@ class ReportStorage {
|
|
|
29767
29781
|
strategyName: data.strategyName,
|
|
29768
29782
|
signalId: data.id,
|
|
29769
29783
|
position: data.position,
|
|
29784
|
+
pnl: data.pnl,
|
|
29770
29785
|
currentPrice,
|
|
29771
29786
|
priceOpen: data.priceOpen,
|
|
29772
29787
|
priceTakeProfit: data.priceTakeProfit,
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -5414,72 +5414,6 @@ declare function stopStrategy(symbol: string): Promise<void>;
|
|
|
5414
5414
|
*/
|
|
5415
5415
|
declare function shutdown(): void;
|
|
5416
5416
|
|
|
5417
|
-
/**
|
|
5418
|
-
* Unified breakeven event data for report generation.
|
|
5419
|
-
* Contains all information about when signals reached breakeven.
|
|
5420
|
-
*/
|
|
5421
|
-
interface BreakevenEvent {
|
|
5422
|
-
/** Event timestamp in milliseconds */
|
|
5423
|
-
timestamp: number;
|
|
5424
|
-
/** Trading pair symbol */
|
|
5425
|
-
symbol: string;
|
|
5426
|
-
/** Strategy name */
|
|
5427
|
-
strategyName: StrategyName;
|
|
5428
|
-
/** Signal ID */
|
|
5429
|
-
signalId: string;
|
|
5430
|
-
/** Position type */
|
|
5431
|
-
position: string;
|
|
5432
|
-
/** Current market price when breakeven was reached */
|
|
5433
|
-
currentPrice: number;
|
|
5434
|
-
/** Entry price (breakeven level) */
|
|
5435
|
-
priceOpen: number;
|
|
5436
|
-
/** Take profit target price */
|
|
5437
|
-
priceTakeProfit?: number;
|
|
5438
|
-
/** Stop loss exit price */
|
|
5439
|
-
priceStopLoss?: number;
|
|
5440
|
-
/** Original take profit price set at signal creation */
|
|
5441
|
-
originalPriceTakeProfit?: number;
|
|
5442
|
-
/** Original stop loss price set at signal creation */
|
|
5443
|
-
originalPriceStopLoss?: number;
|
|
5444
|
-
/** Total number of DCA entries (present when averageBuy was applied) */
|
|
5445
|
-
totalEntries?: number;
|
|
5446
|
-
/** Total number of partial closes executed (_partial.length) */
|
|
5447
|
-
totalPartials?: number;
|
|
5448
|
-
/** Original entry price before DCA averaging (present when averageBuy was applied) */
|
|
5449
|
-
originalPriceOpen?: number;
|
|
5450
|
-
/** Total executed percentage from partial closes */
|
|
5451
|
-
partialExecuted?: number;
|
|
5452
|
-
/** Unrealized PNL at the moment breakeven was reached */
|
|
5453
|
-
pnl?: IStrategyPnL;
|
|
5454
|
-
/** Human-readable description of signal reason */
|
|
5455
|
-
note?: string;
|
|
5456
|
-
/** Timestamp when position became active (ms) */
|
|
5457
|
-
pendingAt?: number;
|
|
5458
|
-
/** Timestamp when signal was created/scheduled (ms) */
|
|
5459
|
-
scheduledAt?: number;
|
|
5460
|
-
/** True if backtest mode, false if live mode */
|
|
5461
|
-
backtest: boolean;
|
|
5462
|
-
}
|
|
5463
|
-
/**
|
|
5464
|
-
* Statistical data calculated from breakeven events.
|
|
5465
|
-
*
|
|
5466
|
-
* Provides metrics for breakeven milestone tracking.
|
|
5467
|
-
*
|
|
5468
|
-
* @example
|
|
5469
|
-
* ```typescript
|
|
5470
|
-
* const stats = await Breakeven.getData("BTCUSDT", "my-strategy");
|
|
5471
|
-
*
|
|
5472
|
-
* console.log(`Total breakeven events: ${stats.totalEvents}`);
|
|
5473
|
-
* console.log(`Average threshold: ${stats.averageThreshold}%`);
|
|
5474
|
-
* ```
|
|
5475
|
-
*/
|
|
5476
|
-
interface BreakevenStatisticsModel {
|
|
5477
|
-
/** Array of all breakeven events with full details */
|
|
5478
|
-
eventList: BreakevenEvent[];
|
|
5479
|
-
/** Total number of breakeven events */
|
|
5480
|
-
totalEvents: number;
|
|
5481
|
-
}
|
|
5482
|
-
|
|
5483
5417
|
declare const GLOBAL_CONFIG: {
|
|
5484
5418
|
/**
|
|
5485
5419
|
* Time to wait for scheduled signal to activate (in minutes)
|
|
@@ -10006,6 +9940,8 @@ interface HighestProfitEvent {
|
|
|
10006
9940
|
signalId: string;
|
|
10007
9941
|
/** Position direction */
|
|
10008
9942
|
position: IPublicSignalRow["position"];
|
|
9943
|
+
/** Unrealized PNL at the time the record was set */
|
|
9944
|
+
pnl: IStrategyPnL;
|
|
10009
9945
|
/** Record price reached in the profit direction */
|
|
10010
9946
|
currentPrice: number;
|
|
10011
9947
|
/** Effective entry price at the time of the update */
|
|
@@ -10079,6 +10015,72 @@ interface RiskStatisticsModel {
|
|
|
10079
10015
|
byStrategy: Record<string, number>;
|
|
10080
10016
|
}
|
|
10081
10017
|
|
|
10018
|
+
/**
|
|
10019
|
+
* Unified breakeven event data for report generation.
|
|
10020
|
+
* Contains all information about when signals reached breakeven.
|
|
10021
|
+
*/
|
|
10022
|
+
interface BreakevenEvent {
|
|
10023
|
+
/** Event timestamp in milliseconds */
|
|
10024
|
+
timestamp: number;
|
|
10025
|
+
/** Trading pair symbol */
|
|
10026
|
+
symbol: string;
|
|
10027
|
+
/** Strategy name */
|
|
10028
|
+
strategyName: StrategyName;
|
|
10029
|
+
/** Signal ID */
|
|
10030
|
+
signalId: string;
|
|
10031
|
+
/** Position type */
|
|
10032
|
+
position: string;
|
|
10033
|
+
/** Current market price when breakeven was reached */
|
|
10034
|
+
currentPrice: number;
|
|
10035
|
+
/** Entry price (breakeven level) */
|
|
10036
|
+
priceOpen: number;
|
|
10037
|
+
/** Take profit target price */
|
|
10038
|
+
priceTakeProfit?: number;
|
|
10039
|
+
/** Stop loss exit price */
|
|
10040
|
+
priceStopLoss?: number;
|
|
10041
|
+
/** Original take profit price set at signal creation */
|
|
10042
|
+
originalPriceTakeProfit?: number;
|
|
10043
|
+
/** Original stop loss price set at signal creation */
|
|
10044
|
+
originalPriceStopLoss?: number;
|
|
10045
|
+
/** Total number of DCA entries (present when averageBuy was applied) */
|
|
10046
|
+
totalEntries?: number;
|
|
10047
|
+
/** Total number of partial closes executed (_partial.length) */
|
|
10048
|
+
totalPartials?: number;
|
|
10049
|
+
/** Original entry price before DCA averaging (present when averageBuy was applied) */
|
|
10050
|
+
originalPriceOpen?: number;
|
|
10051
|
+
/** Total executed percentage from partial closes */
|
|
10052
|
+
partialExecuted?: number;
|
|
10053
|
+
/** Unrealized PNL at the moment breakeven was reached */
|
|
10054
|
+
pnl?: IStrategyPnL;
|
|
10055
|
+
/** Human-readable description of signal reason */
|
|
10056
|
+
note?: string;
|
|
10057
|
+
/** Timestamp when position became active (ms) */
|
|
10058
|
+
pendingAt?: number;
|
|
10059
|
+
/** Timestamp when signal was created/scheduled (ms) */
|
|
10060
|
+
scheduledAt?: number;
|
|
10061
|
+
/** True if backtest mode, false if live mode */
|
|
10062
|
+
backtest: boolean;
|
|
10063
|
+
}
|
|
10064
|
+
/**
|
|
10065
|
+
* Statistical data calculated from breakeven events.
|
|
10066
|
+
*
|
|
10067
|
+
* Provides metrics for breakeven milestone tracking.
|
|
10068
|
+
*
|
|
10069
|
+
* @example
|
|
10070
|
+
* ```typescript
|
|
10071
|
+
* const stats = await Breakeven.getData("BTCUSDT", "my-strategy");
|
|
10072
|
+
*
|
|
10073
|
+
* console.log(`Total breakeven events: ${stats.totalEvents}`);
|
|
10074
|
+
* console.log(`Average threshold: ${stats.averageThreshold}%`);
|
|
10075
|
+
* ```
|
|
10076
|
+
*/
|
|
10077
|
+
interface BreakevenStatisticsModel {
|
|
10078
|
+
/** Array of all breakeven events with full details */
|
|
10079
|
+
eventList: BreakevenEvent[];
|
|
10080
|
+
/** Total number of breakeven events */
|
|
10081
|
+
totalEvents: number;
|
|
10082
|
+
}
|
|
10083
|
+
|
|
10082
10084
|
/**
|
|
10083
10085
|
* Action types for strategy events.
|
|
10084
10086
|
* Represents all possible strategy management actions.
|
|
@@ -26828,4 +26830,4 @@ declare const getTotalClosed: (signal: Signal) => {
|
|
|
26828
26830
|
remainingCostBasis: number;
|
|
26829
26831
|
};
|
|
26830
26832
|
|
|
26831
|
-
export { ActionBase, type ActivateScheduledCommit, type ActivateScheduledCommitNotification, type ActivePingContract, type AverageBuyCommit, type AverageBuyCommitNotification, Backtest, type BacktestStatisticsModel, Breakeven, type BreakevenAvailableNotification, type BreakevenCommit, type BreakevenCommitNotification, type BreakevenContract, type BreakevenData, Broker, type BrokerAverageBuyPayload, BrokerBase, type BrokerBreakevenPayload, type BrokerPartialLossPayload, type BrokerPartialProfitPayload, type BrokerSignalClosePayload, type BrokerSignalOpenPayload, type BrokerTrailingStopPayload, type BrokerTrailingTakePayload, Cache, type CancelScheduledCommit, type CancelScheduledCommitNotification, type CandleData, type CandleInterval, type ClosePendingCommit, type ClosePendingCommitNotification, type ColumnConfig, type ColumnModel, Constant, type CriticalErrorNotification, type DoneContract, type EntityId, Exchange, ExecutionContextService, type FrameInterval, type GlobalConfig, Heat, type HeatmapStatisticsModel, HighestProfit, type HighestProfitContract, type HighestProfitEvent, type HighestProfitStatisticsModel, type IActionSchema, type IActivateScheduledCommitRow, type IAggregatedTradeData, type IBidData, type IBreakevenCommitRow, type IBroker, type ICandleData, type ICommitRow, type IExchangeSchema, type IFrameSchema, type IHeatmapRow, type ILog, type ILogEntry, type ILogger, type IMarkdownDumpOptions, type INotificationUtils, type IOrderBookData, type IPartialLossCommitRow, type IPartialProfitCommitRow, type IPersistBase, type IPositionSizeATRParams, type IPositionSizeFixedPercentageParams, type IPositionSizeKellyParams, type IPublicAction, type IPublicCandleData, type IPublicSignalRow, type IReportDumpOptions, type IRiskActivePosition, type IRiskCheckArgs, type IRiskSchema, type IRiskSignalRow, type IRiskValidation, type IRiskValidationFn, type IRiskValidationPayload, type IScheduledSignalCancelRow, type IScheduledSignalRow, type ISignalDto, type ISignalRow, type ISizingCalculateParams, type ISizingCalculateParamsATR, type ISizingCalculateParamsFixedPercentage, type ISizingCalculateParamsKelly, type ISizingParams, type ISizingParamsATR, type ISizingParamsFixedPercentage, type ISizingParamsKelly, type ISizingSchema, type ISizingSchemaATR, type ISizingSchemaFixedPercentage, type ISizingSchemaKelly, type IStorageSignalRow, type IStorageUtils, type IStrategyPnL, type IStrategyResult, type IStrategySchema, type IStrategyTickResult, type IStrategyTickResultActive, type IStrategyTickResultCancelled, type IStrategyTickResultClosed, type IStrategyTickResultIdle, type IStrategyTickResultOpened, type IStrategyTickResultScheduled, type IStrategyTickResultWaiting, type ITrailingStopCommitRow, type ITrailingTakeCommitRow, type IWalkerResults, type IWalkerSchema, type IWalkerStrategyResult, type InfoErrorNotification, Live, type LiveStatisticsModel, Log, type LogData, Markdown, MarkdownFileBase, MarkdownFolderBase, type MarkdownName, type MeasureData, MethodContextService, type MetricStats, Notification, NotificationBacktest, type NotificationData, NotificationLive, type NotificationModel, Partial$1 as Partial, type PartialData, type PartialEvent, type PartialLossAvailableNotification, type PartialLossCommit, type PartialLossCommitNotification, type PartialLossContract, type PartialProfitAvailableNotification, type PartialProfitCommit, type PartialProfitCommitNotification, type PartialProfitContract, type PartialStatisticsModel, Performance, type PerformanceContract, type PerformanceMetricType, type PerformanceStatisticsModel, PersistBase, PersistBreakevenAdapter, PersistCandleAdapter, PersistLogAdapter, PersistMeasureAdapter, PersistNotificationAdapter, PersistPartialAdapter, PersistRiskAdapter, PersistScheduleAdapter, PersistSignalAdapter, PersistStorageAdapter, PositionSize, type ProgressBacktestContract, type ProgressWalkerContract, Report, ReportBase, type ReportName, Risk, type RiskContract, type RiskData, type RiskEvent, type RiskRejectionNotification, type RiskStatisticsModel, Schedule, type ScheduleData, type SchedulePingContract, type ScheduleStatisticsModel, type ScheduledEvent, type SignalCancelledNotification, type SignalCloseContract, type SignalClosedNotification, type SignalData, type SignalInterval, type SignalOpenContract, type SignalOpenedNotification, type SignalScheduledNotification, type SignalSyncCloseNotification, type SignalSyncContract, type SignalSyncOpenNotification, Storage, StorageBacktest, type StorageData, StorageLive, Strategy, type StrategyActionType, type StrategyCancelReason, type StrategyCloseReason, type StrategyCommitContract, type StrategyEvent, type StrategyStatisticsModel, Sync, type SyncEvent, type SyncStatisticsModel, type TBrokerCtor, type TLogCtor, type TMarkdownBase, type TNotificationUtilsCtor, type TPersistBase, type TPersistBaseCtor, type TReportBase, type TStorageUtilsCtor, type TickEvent, type TrailingStopCommit, type TrailingStopCommitNotification, type TrailingTakeCommit, type TrailingTakeCommitNotification, type ValidationErrorNotification, Walker, type WalkerCompleteContract, type WalkerContract, type WalkerMetric, type SignalData$1 as WalkerSignalData, type WalkerStatisticsModel, addActionSchema, addExchangeSchema, addFrameSchema, addRiskSchema, addSizingSchema, addStrategySchema, addWalkerSchema, alignToInterval, checkCandles, commitActivateScheduled, commitAverageBuy, commitBreakeven, commitCancelScheduled, commitClosePending, commitPartialLoss, commitPartialLossCost, commitPartialProfit, commitPartialProfitCost, commitTrailingStop, commitTrailingStopCost, commitTrailingTake, commitTrailingTakeCost, dumpMessages, emitters, formatPrice, formatQuantity, get, getActionSchema, getAggregatedTrades, getAveragePrice, getBacktestTimeframe, getBreakeven, getCandles, getColumns, getConfig, getContext, getDate, getDefaultColumns, getDefaultConfig, getEffectivePriceOpen, getExchangeSchema, getFrameSchema, getMode, getNextCandles, getOrderBook, getPendingSignal, getPositionCountdownMinutes, getPositionDrawdownMinutes, getPositionEffectivePrice, getPositionEntries, getPositionEntryOverlap, getPositionEstimateMinutes, getPositionHighestPnlCost, getPositionHighestPnlPercentage, getPositionHighestProfitBreakeven, getPositionHighestProfitPrice, getPositionHighestProfitTimestamp, getPositionInvestedCost, getPositionInvestedCount, getPositionLevels, getPositionPartialOverlap, getPositionPartials, getPositionPnlCost, getPositionPnlPercent, getRawCandles, getRiskSchema, getScheduledSignal, getSizingSchema, getStrategySchema, getSymbol, getTimestamp, getTotalClosed, getTotalCostClosed, getTotalPercentClosed, getWalkerSchema, hasTradeContext, investedCostToPercent, backtest as lib, listExchangeSchema, listFrameSchema, listRiskSchema, listSizingSchema, listStrategySchema, listWalkerSchema, listenActivePing, listenActivePingOnce, listenBacktestProgress, listenBreakevenAvailable, listenBreakevenAvailableOnce, listenDoneBacktest, listenDoneBacktestOnce, listenDoneLive, listenDoneLiveOnce, listenDoneWalker, listenDoneWalkerOnce, listenError, listenExit, listenHighestProfit, listenHighestProfitOnce, listenPartialLossAvailable, listenPartialLossAvailableOnce, listenPartialProfitAvailable, listenPartialProfitAvailableOnce, listenPerformance, listenRisk, listenRiskOnce, listenSchedulePing, listenSchedulePingOnce, listenSignal, listenSignalBacktest, listenSignalBacktestOnce, listenSignalLive, listenSignalLiveOnce, listenSignalOnce, listenStrategyCommit, listenStrategyCommitOnce, listenSync, listenSyncOnce, listenValidation, listenWalker, listenWalkerComplete, listenWalkerOnce, listenWalkerProgress, overrideActionSchema, overrideExchangeSchema, overrideFrameSchema, overrideRiskSchema, overrideSizingSchema, overrideStrategySchema, overrideWalkerSchema, parseArgs, percentDiff, percentToCloseCost, percentValue, roundTicks, set, setColumns, setConfig, setLogger, shutdown, slPercentShiftToPrice, slPriceToPercentShift, stopStrategy, toProfitLossDto, tpPercentShiftToPrice, tpPriceToPercentShift, validate, waitForCandle, warmCandles };
|
|
26833
|
+
export { ActionBase, type ActivateScheduledCommit, type ActivateScheduledCommitNotification, type ActivePingContract, type AverageBuyCommit, type AverageBuyCommitNotification, Backtest, type BacktestStatisticsModel, Breakeven, type BreakevenAvailableNotification, type BreakevenCommit, type BreakevenCommitNotification, type BreakevenContract, type BreakevenData, type BreakevenEvent, type BreakevenStatisticsModel, Broker, type BrokerAverageBuyPayload, BrokerBase, type BrokerBreakevenPayload, type BrokerPartialLossPayload, type BrokerPartialProfitPayload, type BrokerSignalClosePayload, type BrokerSignalOpenPayload, type BrokerTrailingStopPayload, type BrokerTrailingTakePayload, Cache, type CancelScheduledCommit, type CancelScheduledCommitNotification, type CandleData, type CandleInterval, type ClosePendingCommit, type ClosePendingCommitNotification, type ColumnConfig, type ColumnModel, Constant, type CriticalErrorNotification, type DoneContract, type EntityId, Exchange, ExecutionContextService, type FrameInterval, type GlobalConfig, Heat, type HeatmapStatisticsModel, HighestProfit, type HighestProfitContract, type HighestProfitEvent, type HighestProfitStatisticsModel, type IActionSchema, type IActivateScheduledCommitRow, type IAggregatedTradeData, type IBidData, type IBreakevenCommitRow, type IBroker, type ICandleData, type ICommitRow, type IExchangeSchema, type IFrameSchema, type IHeatmapRow, type ILog, type ILogEntry, type ILogger, type IMarkdownDumpOptions, type INotificationUtils, type IOrderBookData, type IPartialLossCommitRow, type IPartialProfitCommitRow, type IPersistBase, type IPositionSizeATRParams, type IPositionSizeFixedPercentageParams, type IPositionSizeKellyParams, type IPublicAction, type IPublicCandleData, type IPublicSignalRow, type IReportDumpOptions, type IRiskActivePosition, type IRiskCheckArgs, type IRiskSchema, type IRiskSignalRow, type IRiskValidation, type IRiskValidationFn, type IRiskValidationPayload, type IScheduledSignalCancelRow, type IScheduledSignalRow, type ISignalDto, type ISignalRow, type ISizingCalculateParams, type ISizingCalculateParamsATR, type ISizingCalculateParamsFixedPercentage, type ISizingCalculateParamsKelly, type ISizingParams, type ISizingParamsATR, type ISizingParamsFixedPercentage, type ISizingParamsKelly, type ISizingSchema, type ISizingSchemaATR, type ISizingSchemaFixedPercentage, type ISizingSchemaKelly, type IStorageSignalRow, type IStorageUtils, type IStrategyPnL, type IStrategyResult, type IStrategySchema, type IStrategyTickResult, type IStrategyTickResultActive, type IStrategyTickResultCancelled, type IStrategyTickResultClosed, type IStrategyTickResultIdle, type IStrategyTickResultOpened, type IStrategyTickResultScheduled, type IStrategyTickResultWaiting, type ITrailingStopCommitRow, type ITrailingTakeCommitRow, type IWalkerResults, type IWalkerSchema, type IWalkerStrategyResult, type InfoErrorNotification, Live, type LiveStatisticsModel, Log, type LogData, Markdown, MarkdownFileBase, MarkdownFolderBase, type MarkdownName, type MeasureData, MethodContextService, type MetricStats, Notification, NotificationBacktest, type NotificationData, NotificationLive, type NotificationModel, Partial$1 as Partial, type PartialData, type PartialEvent, type PartialLossAvailableNotification, type PartialLossCommit, type PartialLossCommitNotification, type PartialLossContract, type PartialProfitAvailableNotification, type PartialProfitCommit, type PartialProfitCommitNotification, type PartialProfitContract, type PartialStatisticsModel, Performance, type PerformanceContract, type PerformanceMetricType, type PerformanceStatisticsModel, PersistBase, PersistBreakevenAdapter, PersistCandleAdapter, PersistLogAdapter, PersistMeasureAdapter, PersistNotificationAdapter, PersistPartialAdapter, PersistRiskAdapter, PersistScheduleAdapter, PersistSignalAdapter, PersistStorageAdapter, PositionSize, type ProgressBacktestContract, type ProgressWalkerContract, Report, ReportBase, type ReportName, Risk, type RiskContract, type RiskData, type RiskEvent, type RiskRejectionNotification, type RiskStatisticsModel, Schedule, type ScheduleData, type SchedulePingContract, type ScheduleStatisticsModel, type ScheduledEvent, type SignalCancelledNotification, type SignalCloseContract, type SignalClosedNotification, type SignalData, type SignalInterval, type SignalOpenContract, type SignalOpenedNotification, type SignalScheduledNotification, type SignalSyncCloseNotification, type SignalSyncContract, type SignalSyncOpenNotification, Storage, StorageBacktest, type StorageData, StorageLive, Strategy, type StrategyActionType, type StrategyCancelReason, type StrategyCloseReason, type StrategyCommitContract, type StrategyEvent, type StrategyStatisticsModel, Sync, type SyncEvent, type SyncStatisticsModel, type TBrokerCtor, type TLogCtor, type TMarkdownBase, type TNotificationUtilsCtor, type TPersistBase, type TPersistBaseCtor, type TReportBase, type TStorageUtilsCtor, type TickEvent, type TrailingStopCommit, type TrailingStopCommitNotification, type TrailingTakeCommit, type TrailingTakeCommitNotification, type ValidationErrorNotification, Walker, type WalkerCompleteContract, type WalkerContract, type WalkerMetric, type SignalData$1 as WalkerSignalData, type WalkerStatisticsModel, addActionSchema, addExchangeSchema, addFrameSchema, addRiskSchema, addSizingSchema, addStrategySchema, addWalkerSchema, alignToInterval, checkCandles, commitActivateScheduled, commitAverageBuy, commitBreakeven, commitCancelScheduled, commitClosePending, commitPartialLoss, commitPartialLossCost, commitPartialProfit, commitPartialProfitCost, commitTrailingStop, commitTrailingStopCost, commitTrailingTake, commitTrailingTakeCost, dumpMessages, emitters, formatPrice, formatQuantity, get, getActionSchema, getAggregatedTrades, getAveragePrice, getBacktestTimeframe, getBreakeven, getCandles, getColumns, getConfig, getContext, getDate, getDefaultColumns, getDefaultConfig, getEffectivePriceOpen, getExchangeSchema, getFrameSchema, getMode, getNextCandles, getOrderBook, getPendingSignal, getPositionCountdownMinutes, getPositionDrawdownMinutes, getPositionEffectivePrice, getPositionEntries, getPositionEntryOverlap, getPositionEstimateMinutes, getPositionHighestPnlCost, getPositionHighestPnlPercentage, getPositionHighestProfitBreakeven, getPositionHighestProfitPrice, getPositionHighestProfitTimestamp, getPositionInvestedCost, getPositionInvestedCount, getPositionLevels, getPositionPartialOverlap, getPositionPartials, getPositionPnlCost, getPositionPnlPercent, getRawCandles, getRiskSchema, getScheduledSignal, getSizingSchema, getStrategySchema, getSymbol, getTimestamp, getTotalClosed, getTotalCostClosed, getTotalPercentClosed, getWalkerSchema, hasTradeContext, investedCostToPercent, backtest as lib, listExchangeSchema, listFrameSchema, listRiskSchema, listSizingSchema, listStrategySchema, listWalkerSchema, listenActivePing, listenActivePingOnce, listenBacktestProgress, listenBreakevenAvailable, listenBreakevenAvailableOnce, listenDoneBacktest, listenDoneBacktestOnce, listenDoneLive, listenDoneLiveOnce, listenDoneWalker, listenDoneWalkerOnce, listenError, listenExit, listenHighestProfit, listenHighestProfitOnce, listenPartialLossAvailable, listenPartialLossAvailableOnce, listenPartialProfitAvailable, listenPartialProfitAvailableOnce, listenPerformance, listenRisk, listenRiskOnce, listenSchedulePing, listenSchedulePingOnce, listenSignal, listenSignalBacktest, listenSignalBacktestOnce, listenSignalLive, listenSignalLiveOnce, listenSignalOnce, listenStrategyCommit, listenStrategyCommitOnce, listenSync, listenSyncOnce, listenValidation, listenWalker, listenWalkerComplete, listenWalkerOnce, listenWalkerProgress, overrideActionSchema, overrideExchangeSchema, overrideFrameSchema, overrideRiskSchema, overrideSizingSchema, overrideStrategySchema, overrideWalkerSchema, parseArgs, percentDiff, percentToCloseCost, percentValue, roundTicks, set, setColumns, setConfig, setLogger, shutdown, slPercentShiftToPrice, slPriceToPercentShift, stopStrategy, toProfitLossDto, tpPercentShiftToPrice, tpPriceToPercentShift, validate, waitForCandle, warmCandles };
|