Skip to content

This app will poll every 5 minutes and check if a stock has changed then notify the WA user (github doesn't like me saying whats and app together) any WA user can ask for a notification on any stock availble

Notifications You must be signed in to change notification settings

thedamian/StockPusherWA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stock Pusher WhatsAPP

Polls every 5 minutes. if your stock is higher or lower (you tell me) then I send you a whatsapp message with the notification.

What service api keys you'll need.

  • 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

To run it just:

  • rename .env.example to .env
  • Enter your iexcloud and twillio keys in your new .env file
  • npm i
  • npm start

To try the WhatsApp intergration

  • 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!

About

This app will poll every 5 minutes and check if a stock has changed then notify the WA user (github doesn't like me saying whats and app together) any WA user can ask for a notification on any stock availble

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published