Web app that scrapes Nepse stocks and perform technical analysis.
- Django
- Selenium and Beautiful Soup 4
- Plotly Dash
- Celery
- Celery beat
- Redis
- Scrapes stock info dynamically if not present in the database.
- Plots close price graph
- Performs MACD Analysis
- Cronjob to scrape all symbols (from symbols.json file)
- NOTE: You need to configure this in django admin and both celery worker and celery-beat server should be up and running.
- This will take some time to scrape all the data
- Install redis, lxml on your system
- Make your virtual environment and install from requirements.txt (
pip install -r requirements.txt
) - In one terminal tab, run
python manage.py makemigrations && python manage.py migrate
- run
python manage.py createsuperuser
and fill the information to create admin user - In next terminal tab, run
redis-server
- In another terminal tab, run
celery -A scrape.celery.app worker -l INFO
to start celery worker process. - Make sure server and celery worker is started correctly.
- Open your browser and visit http://localhost:8000/