From f32a3ba1f05e4080da5d1ea411245d738ac592bd Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 26 Jul 2017 19:04:08 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_portfolio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/iguana/exchanges/LP_portfolio.c b/iguana/exchanges/LP_portfolio.c index 6d96799d9..7ad7b8c85 100644 --- a/iguana/exchanges/LP_portfolio.c +++ b/iguana/exchanges/LP_portfolio.c @@ -40,6 +40,7 @@ cJSON *LP_portfolio_entry(struct iguana_info *coin) jaddnum(item,"aliceutil",100. * (double)coin->balanceA/coin->valuesumA); jaddnum(item,"balanceB",dstr(coin->balanceB)); jaddnum(item,"valuesumB",dstr(coin->valuesumB)); + jaddnum(item,"balance",dstr(coin->maxamount)); if ( coin->valuesumB != 0 ) jaddnum(item,"bobutil",100. * (double)coin->balanceB/coin->valuesumB); return(item);