From c475ca30c2232fb88044c8fabba0890a61243ec8 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 13 Jun 2022 19:37:45 +0200 Subject: [PATCH] Fix type error in daily --- src/types/daily.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/types/daily.ts b/src/types/daily.ts index 5013dfa8..8c74db75 100644 --- a/src/types/daily.ts +++ b/src/types/daily.ts @@ -4,12 +4,12 @@ export interface DailyPayload { export interface DailyRecord { /** Date in the format yyyy-mm-dd */ - [key: string]: string | number | undefined; + [key: string]: string | number; date: string; abs_profit: number; /** added in 2.16*/ - rel_profit?: number; - starting_balance_profit?: number; + rel_profit: number; + starting_balance_profit: number; fiat_value: number; trade_count: number; }