Fix type error in daily

This commit is contained in:
Matthias 2022-06-13 19:37:45 +02:00
parent 32a7f8da2c
commit c475ca30c2

View File

@ -4,12 +4,12 @@ export interface DailyPayload {
export interface DailyRecord { export interface DailyRecord {
/** Date in the format yyyy-mm-dd */ /** Date in the format yyyy-mm-dd */
[key: string]: string | number | undefined; [key: string]: string | number;
date: string; date: string;
abs_profit: number; abs_profit: number;
/** added in 2.16*/ /** added in 2.16*/
rel_profit?: number; rel_profit: number;
starting_balance_profit?: number; starting_balance_profit: number;
fiat_value: number; fiat_value: number;
trade_count: number; trade_count: number;
} }