How to calculate estimated account value: Part One / 如何计算账户估值:第一部分

4년 전

Are you curious about your estimated account value? Or, curious about estimated account value of your friends?

Get estimated account value in wallet page

You can check your estimated account value in your wallet after your logged in steemit.com, and you can check your friend's wallet by visit https://steemit.com/@yourfriendid/transfers without login. But, Have you noticed that there are some differences between them?

Take my account for example:

✅️Check my wallet after logged-in


❌️Check my wallet without logged-in

Pay attention to where I marked it, the estimated account value after logged-in in is more than without logged-in. Why? ⚠️Because the assets in internal market are not counted in estimated account value if this account is not logged in.

So, if your friends have a lot of assets in internal market, you will get a completely wrong value.

How to solve this problem?

There is a API get_open_orders, will return all open orders in internal market of the specified account, and then we can calculate the assets in internal market of this account.

Is it enough? No!
After we got account's assets in internal market by script, we need to manually add them to the values we got from web page(wallet), This is very annoying thing. A better way is to read the user's wallet information by script too, and then add the corresponding information together.

What we need to get?

To read the user's wallet information, we need to get the following information:

  • STEEM
  • STEEM POWER
  • STEEM DOLLARS
  • STEEM in SAVINGS
  • STEEM DOLLARS in SAVINGS

Is it enough now? No!

There a function in wallet called Convert to Steem, if you use it to convert SBD to STEEM, your SBD will disappear from the wallet, until it be converted successfully.

So, It should be better if we can obtain the assets(SBD) to be converted.
Fortunately, there is a API called get_conversion_requests. We can use it to calculate the amount of assets(SBD).

And after HF18, users need to claim their rewards manually, so to accurately calculate the estimated account value, we need to add this part: Rewards to be claim

Conclusions

Estimated account value contains four parts:

  1. The assets in wallet( And in SAVINGS)
  2. The assets in internal market
  3. The assets(SBD) in conversion processes
  4. The assets(rewards) to be claimed

To calculate estimated account value, we need to get following items:

  • STEEM
  • STEEM POWER
  • STEEM DOLLARS
  • STEEM in SAVINGS
  • STEEM DOLLARS in SAVINGS
  • STEEM in internal market
  • STEEM DOLLARS in internal market
  • STEEM DOLLARS in conversion requests
  • STEEM Reward to be claimed
  • STEEM POWER to be claimed
  • STEEM DOLLARS to be claimed

I'll explain how to get these items in my next article.
Thank you for reading.

中文

登陆查看用户账户估值,和不登录查看,结果会有一些区别。
如果没有登陆,或者ID A登录查看ID B的钱包, 在内部市场的资产不被显示。

除此之外,转换中的资产, 以及待收取的收益,也没有计算在内。
所以要精确计算账户估值,我们需要读取

  • 钱包资产(保护存款账户)
  • 内部市场资产
  • 转换中的资产
  • 待收取的资产

我将在下篇文章中介绍如何获得这些内容,感谢阅读。

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
STEEMKR.COM IS SPONSORED BY
ADVERTISEMENT
Sort Order:  trending

thanks

Your post is really helpful for me as a new steemian. When i heard my friends withdrawing their SBD, i don't know how they calculate it. Your post really tells me how to do that. Thank you.

A very resource info. thank you

Thank you for good information!!

good info

Wow, post is so benefits ::)

Thanks @oflyhigh

well after reading it i am curiously waiting for your next part bcoz there are lots of confusions which gets into mind while using the wallet... and hopefully your articles will clear them... thanks :)

·

Wow! I didn't know that. I didn't even noticed it. Thanks so much for the info. It's a great post!

·

You are welcome.

That is really helpful for some newbies and interesting to see for everyone that the value is different after login in!

·

Thank you.

this was very useful thanks

Nice post bro.i resteem this post.go ahead.

very useful -my thanks

hi,
nice info.
i follow resteem and upvote you

原来登陆不登陆还有差别。
长知识了👍

·

纵然STEEMIT UI已经进步了很多,但是还有很多需要完善的地方

·
·

是的,希望未来会有改善

Very nice post.i hope this post will be in hot list.

Thanks for your helpful info. I follow you and waiting for your new posts .

thank's for your post but how I can do this function API get_conversion_requests ? and where ?

·

I'll explain it in my next article.

@oflyhigh nice info.keep it up...i upvote and support your post..by resteem it @dontryme2

等你下一篇作品

·

Handy post with good information to help Steemians with their account and wallet, thanks!

·

Welcome.

中文翻译的精简我需要向你学习…

·

😭哈哈,一起学习。

Woow.. Thank you so much.. It is an informative article for me :-)
Just followed you and waiting for the second part :-)
Upvoted and resteemed done.
Could you tell me please how can I withdraw from sreemit to xapo in dollars?

·

I am sorry, I don't know xapo.

Thanks for showing a few tricks to figuring out the values of our accounts and our friends as well.very best wishes to you and steem on.cheers I am following you and feel free to do like wise at @user0103283

now I started follow u.. Could u please support me as I new here

·

Welcome to Steemit @vividbangla
I hope you will have a great time here in this platform. Respect from @steemero

now I started follow u.. as a new I need some support also

Good Explanation :)

o哥的英语相当好啊,之前怎么一直没注意到。

·

别逗乐了,这英语渣的不得了,😭

  ·  4년 전

Waiting for your next post! I think I'll use this is in my projects. Thank you very much!

  ·  4년 전

猜测o哥在内部市场的部分相当huge

·

不多,才几个亿

thank you handsome ! congratulations!

Very good info... :) I go and look my now . Thank you!!

Hi, thanks for the information, greeting

Ready for Steem to hit $10 a coin

Good Info........

give me sbd

只有土豪账户才有明显差异

Thanks so much. That explains it much better. Up-voted and Followed. I think I have $600 so far

Very much explanatory! Following.

Hi All, would you like to read some skin care? Please read my article and upvote

https://steemit.com/skin/@rizwana/tips-for-healthy-glowing-skin

thank you for the detailed information

do i have to try and learn it

Congratulations @oflyhigh!
Your post was mentioned in the hit parade in the following category:

  • Pending payout - Ranked 7 with $ 323,32

nice one....thanks

Valuable information and great post. thanks

great, thx for sharing

your post is very nice, full pack of knowledge and very attractive :-)

Appreciate this for sharing us the calculations. Thank :)

Thank you! This should be available to each new person when they come! The learning curve is real on here.

Appreciate your posts!

怎麼這次中文版這麼短的 XD

·

言简意赅嘛,哈哈
充分说明中文是种好语言,英文啰啰嗦嗦说半天的事,中文两句话就概括了。

·
·

老外看到就一定不放過你了,哈哈 XD

Excellent post and thanks for sharing such a valuable information which is great help for us