Add canceled trade entries to Backtesting view

This commit is contained in:
Matthias 2022-05-17 07:05:37 +02:00
parent ed42a2993a
commit ba75fca158
2 changed files with 5 additions and 0 deletions

View File

@ -186,6 +186,10 @@ export default defineComponent({
metric: 'Entry/Exit timeouts', metric: 'Entry/Exit timeouts',
value: `${props.backtestResult.timedout_entry_orders} / ${props.backtestResult.timedout_exit_orders}`, value: `${props.backtestResult.timedout_entry_orders} / ${props.backtestResult.timedout_exit_orders}`,
}, },
{
metric: 'Canceled Trade Entries',
value: props.backtestResult.canceled_trade_entries ?? 'N/A',
},
...shortMetrics, ...shortMetrics,

View File

@ -109,6 +109,7 @@ export interface StrategyBacktestResult {
timedout_entry_orders: number; timedout_entry_orders: number;
timedout_exit_orders: number; timedout_exit_orders: number;
canceled_trade_entries?: number;
// Daily stats ... // Daily stats ...
draw_days: number; draw_days: number;