Skip to content

adamjstevenson/serverless-crypto-dca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless Dollar-cost Averaging for the Crypto Markets

Use a Node.js AWS Lambda function to purchase cryptocurrency every day via GDAX and have Twilio send you an SMS notification to tell you about it.

What even is this?

  • Serverless functions execute server-side code without the requirement that you manage the actual server. In this case, this application uses AWS Lambda to invoke some Node.js code. This Lambda function is triggered to run on a daily schedule thanks to Amazon Cloudwatch events.

  • Dollar-cost averaging is a fancy term for a very simple investment strategy that essentially just means spreading your purchase equally over a given timespan to reduce volatility. Wikipedia discusses this in a lot more detail here if you're interested.

  • Crypto Markets refers to digital currency exchanges. In this context, we'll be using the GDAX APIs to conduct automated trading, basically just purchasing a small amount of Ethereum every day.

Big important disclaimer!

This is provided as an example, but I'm absolutely not giving investment advice and provide no warranty for this application. You should use at your own risk and be prepared to lose all money that you might choose to invest in any cryptocurrency. As Kai Ryssdal would say, markets go down, too. 📉

How does this work?

Check out the blog post to get all the details.