MikaLendingBot icon indicating copy to clipboard operation
MikaLendingBot copied to clipboard

BTC Estimated Earnings not updating

Open AlexMinty opened this issue 10 years ago • 10 comments

Running on a Linux VPS with webserver active.

Only get an initial snapshot of estimated earnings when starting the bot. Status 'Lended' updates fine but everything below that is static. Reversed ordered Log updates fine. Only lending BTC.

AlexMinty avatar May 20 '16 04:05 AlexMinty

Does refreshing the page update what you find static?

Evanito avatar May 20 '16 04:05 Evanito

No it does not. I also tried different web browsers.

AlexMinty avatar May 20 '16 04:05 AlexMinty

You find that the coin summary for BTC doesn't match the Status 'Lended' description of what you have lended?

Ex: says Lended [0.0832 BTC @ 0.0300%] but below says at 0.0420% ?

Evanito avatar May 20 '16 04:05 Evanito

Correct. 'Active Loans' 'Average Loan Interest Rate' 'Total Effective Interest Rate' are just static

AlexMinty avatar May 20 '16 04:05 AlexMinty

That's curious since the HTML file is updated entirely from the .json each time the page is loaded.

I will run the bot for a while and attempt to recreate the issue, since @rnevet did the code for it he may have a solution sooner.

Evanito avatar May 20 '16 04:05 Evanito

I'm going to nuke the current install and start fresh. Will let you know in a couple of minutes

AlexMinty avatar May 20 '16 04:05 AlexMinty

fresh install done, lended out some BTC, and same issue persists. For some reason the json file is not updating the coin summary

AlexMinty avatar May 20 '16 04:05 AlexMinty

i can confirm the issue, looking into it.

rnevet avatar May 20 '16 06:05 rnevet

Should be fixed with latest update: https://github.com/Mikadily/poloniexlendingbot/pull/72

rnevet avatar May 20 '16 07:05 rnevet

nice one, installed new logger.py and everything is updating as it should.

AlexMinty avatar May 20 '16 07:05 AlexMinty