/stocks-notifier

This software tracks stock prices for a list of NSE stocks and sends desktop notifications when certain criteria are met.

Primary LanguageGoMIT LicenseMIT

Stocks Notifier is a software which tracks real-time stock prices for a list of stocks and sends notifications when price of stock is lower than or equal to threshold value.

For docs, visit stocksnotifier.com

Running locally

  • Clone the repo.

  • Copy stocks.sample.json to stocks.json and edit the value to set the lower threshold value at which you want to get alert.

  • Check Yahoo Finance page for naming convention, eg: for NSE stocks .NS has to be added after stock name.

  • Run go file go run stocks-notifier.go . Pass the directory where stocks.json is located.

  • If you want to run this file in background: nohup go run stocks-notifier.go . & this will output logs to file named nohup.out