This is a script that can be used inside of Google Sheets to automatize a cryptocurrency portfolio. There are two main functions to this script. The first UPDATE() function retrieves updated price data from coinmarketcap.com, while the second RECORD_HISTORY() function adds a history record to another sheet.