Skip to content
Benny Thadikaran edited this page Jun 1, 2024 · 16 revisions

Quick Start

If you've following the installation instructions, here is instructions to get you started.

All stock CSV data is stored in src/eod2_data/daily

The src folder contains three main files:

init.py

To download and update the latest NSE EOD data. Run it daily after 7pm for best results. Alternatively run it weekly or any time that suits your requirements.

plot.py

To quickly plot charts with sma, ema, volume and relative strength indicators.

  • It has mouse/keyboard support for drawing basic trendlines, horizontal lines and marking levels.
  • All technical drawings are saved to src/data/lines and reloaded on every run.

Below are some simple comands to get started. See Basic Usage for more info

# Use n and p on keyboard to switch to next and previous charts
py plot.py --sym tcm hdfcbank natcopharm 

# symbols with spaces must be quoted
py plot.py --sym 'nifty 50' 'nifty 100' 

dget.py

This is used for delivery data analysis. It shows the delivery Quantity and Traded Quantity as a multiple of its 60 Day average. This is similar to the delivery percent displayed on NSE website. See Delivery Analysis for more info.

py dget.py --sym tcs infy

You can also use plot.py to display this data, visually on charts.

py plot.py --sym tcs --dlv