Polls every 5 minutes. if your stock is higher or lower (you tell me) then I send you a whatsapp message with the notification.
- Get a developer key from IexCloud and add it to your .env file
- get a developer TWILIO Account ID and AUTH TOKEN from Twilio.com (Free $20 from that link) and add it to your .env file
- rename .env.example to .env
- Enter your iexcloud and twillio keys in your new .env file
- npm i
- npm start
- Push the app to any cloud/server available online or use localhost.run to get your local computer up on the internet.
- Go to your Twilio WhatsApp sandbox page and enter url above with /wamessage at the end in the
WHEN A MESSAGE COMES IN
section. - Follow the "join xxxx-yyyy" message in that same page and then send a message like 'AAPL 120' to the phone number listed.
Enjoy!