Third Eye |
05-20-2021 09:42 PM |
Quote:
Originally Posted by MTG#10
(Post 15681682)
My examples were meant like "$1000 worth of BTC @ 52k" etc...
So since the internet-induced laziness and ease of calculators have rotted my brain and I cant remember grade school math anymore, will someone show me the formula to use? I first thought it was all of the bitcoin prices added up divided by the 6000 invested but that wasn't right. Then I had a couple other formulas pop into my head before I said screw it, I'll just ask CP.
|
You can use eDave’s link, just convert your investment amounts to amount of coins. If it’s not clear, the amount of coins at each transaction is the amount of the investment divided by the coin price. If you want the actual formula:
(C1*P1 + C2*P2 + C3*P3 + C4*P4) / (C1 + C2 + C3 + C4)
Where:
Cx = Coins purchased at time x
Px = Price at time x
This simplifies a little to:
(I1 + I2 + I3 + I4) / (C1 + C2 + C3 + C4)
Where:
Ix = amount invested at time x
|