Building A Cryptocurrency Bot with
Node.Js
Brendan Connolly
@theBConnolly
http://brendanconnolly.net
What’s Crypto?
3
Some Crypto Rules MemeStyle
DYOR - Do Your Own Research
4
Never Buy More
Than you can afford
to lose
Hang On for Dear Life
5
6
In Reality...
Fear Of
Missing Out
7
8
Fear, Uncertainty, Doubt
9
Basically Any Coin
you don’t own...
10
11
Why Build This?
Pricing - Market Vs. Coinbase
Premium over Market
~$4 or ~0.06%
Pricing - Market Vs. Coinbase
Premium over Market
~$4 or ~0.9%
Pricing - Market Vs. Coinbase
Premium over Market
~$1 or ~0.8%
Fees!
4% On All Transactions
Plus 1.5% -4%
Depending On Payment
Method
What Should It Do?
Requirements
▫ Deposit Funds
▫ Check Balance
▫ Set A Price
▫ Buy Crypto
▫ Repeat
18
What About Selling?
HODL! For Profits
TAXES!
19
Building The Bot
Meet Hodler 21
Execution
Node-Schedule
Hodl & Profit!
GDAX Client
Coinbase API
GDAX-Node
Command Objs
Wrap GDAX-Node Api
Encapsulate Actions
Composable Scheduling
Going Serverless
Hodler In the Cloud-> AWS Lambda 23
Schedule
Using AWS Cloudwatch
Rules / Events
Package
Create a Lamba Function
Handler
Transpile to ES5
Node-Lambda
Deploy
More Node-Lambda
https://github.com/brendanconnolly/Hodler
24
@theBConnolly
brendanconnolly.net

Building a Crypto Bot with Node.js