Browse Source

Test

etomic
jl777 8 years ago
parent
commit
f32a3ba1f0
  1. 1
      iguana/exchanges/LP_portfolio.c

1
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);

Loading…
Cancel
Save