mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Improve types for backtestresult
This commit is contained in:
parent
a2751fc10f
commit
acaceb561f
|
@ -35,6 +35,7 @@ export interface PairResult {
|
|||
winrate?: number;
|
||||
}
|
||||
|
||||
// TODO: ExitReasonResult was replaced with PairResult on 2024-03-30.
|
||||
export interface ExitReasonResults {
|
||||
draws: number;
|
||||
losses: number;
|
||||
|
@ -75,7 +76,7 @@ export interface StrategyBacktestResult {
|
|||
worst_pair: PairResult;
|
||||
results_per_pair: PairResult[];
|
||||
sell_reason_summary?: ExitReasonResults[];
|
||||
exit_reason_summary?: ExitReasonResults[];
|
||||
exit_reason_summary?: ExitReasonResults[] | PairResult[];
|
||||
results_per_enter_tag: PairResult[];
|
||||
periodic_breakdown?: PeriodicBreakdown;
|
||||
left_open_trades: Trade[];
|
||||
|
|
Loading…
Reference in New Issue
Block a user