GDAXBot icon indicating copy to clipboard operation
GDAXBot copied to clipboard

Calculations are broken

Open VertigoRay opened this issue 8 years ago • 2 comments

image

About a minute later:

image

Would be amazing if true. 😏

It seems that the calculation for the latest iteration is added to the previous total. So it just get bigger and bigger.

This is just used for display about and doesn't affect bot functionality.

VertigoRay avatar Sep 11 '17 18:09 VertigoRay

Noticed this as well...... Lol wut.

I might try and take a look at this for you.

But I feel as though, the bigger priority, is the bot's shell/page refresh interval. Currently my time is 2:04 but Balance is from 2:04 and my current time is 2:24. ;) That doesnt affect anything, I know, but its just kinda fishy. Might try and fix this for you too here in a few days.

ghost avatar Dec 12 '17 08:12 ghost

Looks like this is the culprit https://github.com/VertigoRay/GDAXBot/blob/master/main.js#L350. Uncommenting that line seems to fix the issue but I am not sure if it breaks anything else.

shri046 avatar Dec 12 '17 15:12 shri046