From e4a1ec224a9a6fb3243d020cbe0da7789f8a0897 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 27 Jul 2023 06:20:36 +0200 Subject: [PATCH] Improve backtest types --- src/types/backtest.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/types/backtest.ts b/src/types/backtest.ts index 986c7198..5ea5cca9 100644 --- a/src/types/backtest.ts +++ b/src/types/backtest.ts @@ -182,9 +182,16 @@ export interface StrategyBacktestResult { 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 { strategy: Record; strategy_comparison: Array>; + metadata: Record; } export enum BacktestSteps {