Simple python framework to keep track of NSE stocks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

815 B

Pynse

This is a simple python framework to keep track of NSE stocks in some certain fashion. This will track nifty50, and interface over telegram.

Features

  • Tracks ema20, ema50, and sma200 ; reports when they break pattern
  • Track MAs, reports when they intersect with candles

Installation

  • todo: add requirements

Usage

  • Create a file secvars.py with the following format

    dbfile = "mydatabase.sqlite"
    chat_id = 'telegram_chat_id'
    bot_key = 'telegram_bot_api_key'
    
  • Populate an sqlite database with all the symbols you want to track, with a schema compatible with the following (will soon be replaced by downloading a json or csv from an official source):

    TABLE symbols(symbol TEXT PRIMARY KEY, name TEXT NOT NULL)

  • Run main.py and await results