Skip to content

Instantly share code, notes, and snippets.

@weserickson
Created Apr 22, 2021
Embed
What would you like to do?
(* quick calculations for the annualized rates of return for full node rewards over last several days 2021-04-17 to 2021-04-20 *)
r=17.0;(* daily Vite reward per node, *)
S=10000.0; (* required staking investment *)
vpsUSD = 8.00; (* monthly VPS price in USD *)
vp = 0.20; (* Vite price in USD *)
vps = (vpsUSD/vp)/30.0; (* daily VPS price in Vite *)
(r/S)*365*100(* APR no expenses *)
((r-vps)/S)*365*100 (* APR w/ expenses *)
((1+r/S)^365-1)*100 (* APY no expenses *)
((1+(r-vps)/S)^365-1)*100 (* APY w/ expenses *)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment