From a95ea597d039dec8d1701afcb1fb26247e61a612 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 19 Sep 2021 13:26:38 +0200 Subject: [PATCH] Update balance.ts to include new fields --- src/types/balance.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/types/balance.ts b/src/types/balance.ts index 426b0acf..2bc571d4 100644 --- a/src/types/balance.ts +++ b/src/types/balance.ts @@ -18,4 +18,14 @@ export interface BalanceInterface { total: number; /** Balance in FIAT currency */ value: number; + /** Assumed starting capital */ + starting_capital: number; + /** Change between starting capital and current value */ + starting_capital_ratio: number; + starting_capital_pct: number; + /** Assumed starting capital in FIAT currency */ + starting_capital_fiat: number; + /** Change between starting capital and current value in fiat */ + starting_capital_fiat_ratio: number; + starting_capital_fiat_pct: number; }