Skip to content

Instantly share code, notes, and snippets.

@adamjstevenson
Last active March 10, 2018 21:07
Show Gist options
  • Save adamjstevenson/cd9684be6999da152b154425e486f149 to your computer and use it in GitHub Desktop.
Save adamjstevenson/cd9684be6999da152b154425e486f149 to your computer and use it in GitHub Desktop.
Node.js Lambda handler outline
// ... the previous initialization code above
// Declare Lambda handler
const handler = (event, context, callback) => {
// Check the price of ETH to determine how much to buy
// Place a buy order
// Send an SMS notification
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment