Quote:
Originally Posted by Third Eye
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
|
This (and to be fair to MTG, this is a bit more than grade school math)