Skip to content

Web app that scrapes Nepse stocks and perform technical analysis.

Notifications You must be signed in to change notification settings

ashishsubedi/stock_scrape_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: Discontinued

Stock Scrape App

Web app that scrapes Nepse stocks and perform technical analysis.

Technology Used

  • Django
  • Selenium and Beautiful Soup 4
  • Plotly Dash
  • Celery
  • Celery beat
  • Redis

Features

  • 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

How to run

  • 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/

About

Web app that scrapes Nepse stocks and perform technical analysis.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published