MikaLendingBot icon indicating copy to clipboard operation
MikaLendingBot copied to clipboard

Add total account value to summary page

Open Evanito opened this issue 8 years ago • 8 comments

It is already listed on Poloniex, but should not be difficult to add to the summary page.

Evanito avatar Feb 24 '17 19:02 Evanito

  1. it's not really "lending" bot specific
  2. need to call 'returnCompleteBalances' and calculate the total

rnevet avatar Feb 24 '17 20:02 rnevet

Yea, this would be handy. I still log into polo for that. It would be especially handy for me as we could apply output currency to it.

laxdog avatar Feb 25 '17 13:02 laxdog

Started working on this.

rnevet avatar Feb 25 '17 17:02 rnevet

I have an implementation working on this branch https://github.com/Mikadily/poloniexlendingbot/tree/total_account_value

Do you think we need to enable/disable the option in the configuration? default to disabled?

rnevet avatar Feb 26 '17 23:02 rnevet

Should always be enabled, but (maybe) have a setting between all wallets or just lending.

Evanito avatar Feb 27 '17 06:02 Evanito

It seems the api either returns all or exchange, no option to retrieve lending alone.

rnevet avatar Feb 27 '17 07:02 rnevet

@rnevet https://github.com/Mikadily/poloniexlendingbot/blob/master/modules/Data.py#L129

Evanito avatar Feb 27 '17 08:02 Evanito

Those are available balances, not taking offers, active loans. We might have an internal value calculated of the total.

rnevet avatar Feb 27 '17 08:02 rnevet