numerapi icon indicating copy to clipboard operation
numerapi copied to clipboard

stake discrepancy in world of remove vs compound

Open bitfilms opened this issue 3 years ago • 0 comments

I was a quick adopter of the "remove stakes" option as soon as they made it available.

But it appears numerapi still assumes that compounding is part of the actual stakes even with models that have it set to remove.

The model "ashitaka" for example has an actual stake of 10 NMR but here's what numerapi returns:

> numerapi stake-get ashitaka
10.138241189551394000

Would be cool to have an option that would allow for including vs not including any pending earnings. Such as:

> numerapi stake-get -stakeOnly ashitaka
10.0

and/or something just to capture the earnings:

> numerapi stake-get -earningsOnly ashitaka
0.1382411

The default behavior could remain the same.

Anyway, thx for listening!

bitfilms avatar Oct 30 '21 17:10 bitfilms