Git Product home page Git Product logo

alertsgs's Introduction

alertsGS

Setup push alerts using Google Scripts and Pushbullet

bseNoticeAlerts.gs

Use this as a Google Script to setup BSE announcement alerts for your stock watchlist.

  1. Create a new spreadsheet in your Google Drive. Label the headers for columns A to C as nse, bse & last_updated. Note the speadsheet ID. Here's how to find it - https://developers.google.com/sheets/api/guides/concepts.

  2. Populate the nse & bse columns with the NSE Symbols and BSE Codes of stocks you want to track (you can use this mapping dataset to speed up the process - https://github.com/uptickr/datasets/blob/master/datasets/nse_bse_codeMap.csv).

  3. Create a Pushbullet account. Install the app on your phone. Go to the pushbullet website, head to "My Account" and then create an access token. Note this token.

  4. Create a new script file in your Google Drive (see tutorial on creating standalone scripts). Clear any existing code. Copy and paste the contents of bseNoticeAlerts.gs in it. Enter your spreadsheet ID and access token in the store object in the alertBot function.

  5. Finally, setup triggers for the alertBot function by going to "Edit" > "Current project's triggers" to have Google run the function automatically at regular intervals (preferably every minute).

alertsgs's People

Contributors

iy3r avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.