-
Notifications
You must be signed in to change notification settings - Fork 43
Home
- Installation
- Usage
- Plot.py - Basic Usage
- Plot.py - Watchlists and presets
- Plot.py - Drawing Trends and Trading Lines
- Plot.py - Delivery Analysis using Plot.py and Dget.py
- plot_breadth.py ‐ Plot market breadth indicators
- Configuration
- Automate using Crontab - Linux
- Automate using ScheduledTasks - Windows
- Run custom Python code while syncing data
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.
market_breadth_sync.py
Update and syncs the latest indicator values. Make sure latest data has been updated using init.py. See plot_breadth.py ‐ Plot market breadth indicators
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/linesand 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 infyYou can also use plot.py to display this data, visually on charts.
py plot.py --sym tcs --dlv