mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 03:25:15 +00:00
Improve backtest types
This commit is contained in:
parent
6256d4cfdb
commit
e4a1ec224a
|
@ -182,9 +182,16 @@ export interface StrategyBacktestResult {
|
||||||
backtest_run_end_ts: number;
|
backtest_run_end_ts: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface BacktestMetadata {
|
||||||
|
/** Start time of the backtest run */
|
||||||
|
backtest_run_start_ts: number;
|
||||||
|
run_id: string;
|
||||||
|
}
|
||||||
|
|
||||||
export interface BacktestResult {
|
export interface BacktestResult {
|
||||||
strategy: Record<string, StrategyBacktestResult>;
|
strategy: Record<string, StrategyBacktestResult>;
|
||||||
strategy_comparison: Array<Record<string, string | number>>;
|
strategy_comparison: Array<Record<string, string | number>>;
|
||||||
|
metadata: Record<string, BacktestMetadata>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum BacktestSteps {
|
export enum BacktestSteps {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user