What if you had bought some bitcoins one, two or three years ago ? This script tweets the capital-gain or depreciation of a 100€ investment in bitcoin.
Implementation is here : https://twitter.com/BitcoinRegrets
Data computed are those from Kraken
This script extract the trade price of 1 year ago and of now. It will compute the bitcoin amount B available for 100€ X year ago. It will then compute the euros amount E equivalent to the B amount of Bitcoin.
The capital gain is E-100 euros.