Google Spreadsheets Paper Test
I was inspired by the alpaca’s idea of using google spreadsheet as a test environment for auto algo trading. So I decided to make a version for bitcoin paper test trading. For alpaca’s stock version, you can find the details here. The google spreadsheet will look like this:

I am using coinbase api to get the lastest Bitcoin price. And there is already one google app script class that you can use - Class UrlFetchApp
. Then you need to call this class in your function.
Now we need to do some small calculation to update the position status (open, close and closed profit/loss). We can use the class sheet. Then the script will be some thing like this:
You can find the source code here. Please feel free to 👉📱message my twilio bot +447479275693. I will come back to you shortly 😃.