mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-25 04:25:15 +00:00
Improve backtest output
This commit is contained in:
parent
348839aac1
commit
55e9420b96
|
@ -187,11 +187,11 @@ export default defineComponent({
|
|||
|
||||
{
|
||||
metric: 'Avg. Duration winners',
|
||||
value: humanizeDurationFromSeconds(props.backtestResult.winner_holding_avg),
|
||||
value: humanizeDurationFromSeconds(props.backtestResult.winner_holding_avg_s),
|
||||
},
|
||||
{
|
||||
metric: 'Avg. Duration Losers',
|
||||
value: humanizeDurationFromSeconds(props.backtestResult.loser_holding_avg),
|
||||
value: humanizeDurationFromSeconds(props.backtestResult.loser_holding_avg_s),
|
||||
},
|
||||
{ metric: 'Rejected entry signals', value: props.backtestResult.rejected_signals },
|
||||
{
|
||||
|
@ -266,6 +266,7 @@ export default defineComponent({
|
|||
},
|
||||
{ setting: 'Max open trades', value: props.backtestResult.max_open_trades },
|
||||
{ setting: 'Timeframe', value: props.backtestResult.timeframe },
|
||||
{ setting: 'Timeframe Detail', value: props.backtestResult.timeframe_detail },
|
||||
{ setting: 'Timerange', value: props.backtestResult.timerange },
|
||||
{ setting: 'Stoploss', value: formatPercent(props.backtestResult.stoploss, 2) },
|
||||
{ setting: 'Trailing Stoploss', value: props.backtestResult.trailing_stop },
|
||||
|
|
|
@ -120,7 +120,8 @@ export interface StrategyBacktestResult {
|
|||
drawdown_end_ts: number;
|
||||
drawdown_start: string;
|
||||
drawdown_start_ts: number;
|
||||
loser_holding_avg: number;
|
||||
loser_holding_avg: string;
|
||||
loser_holding_avg_s: number;
|
||||
losing_days: number;
|
||||
max_drawdown: number;
|
||||
max_drawdown_account: number;
|
||||
|
@ -132,7 +133,8 @@ export interface StrategyBacktestResult {
|
|||
csum_min: number;
|
||||
csum_max: number;
|
||||
|
||||
winner_holding_avg: number;
|
||||
winner_holding_avg: string;
|
||||
winner_holding_avg_s: number;
|
||||
winning_days: number;
|
||||
|
||||
trade_count_long?: number;
|
||||
|
|
Loading…
Reference in New Issue
Block a user