/nepsevirt

NEPSEVirt - Paper trading platform for NEPSE

Primary LanguageTypeScriptOtherNOASSERTION

NEPSEVirt logo

NEPSE Virt

Paper trading platform for NEPSE

Project Setup

Install required packages

$ pip install -r requirements.txt
$ npm i

Create .env file

SECRET_KEY=django-insecure-v^81vr#=p19zvn+@+h8v3*opqlr_3c5i6ltxwj&d7vt3o&^qf^
DEBUG=TRUE

Initialize database:

$ python manage.py makemigrations
$ python manage.py migrate

Fetch stock data (Hit GET request to this route):
Note: Hit this route only in open market time!

http://localhost:8000/data/get-live-data/

or

Initialize cron job:

$ python manage.py crontab add

MVP Demo

NEPSEVirt demo

Techstack

  • Frontend
    • UI - ReactJS & TailwindCSS
    • State Management - Redux/Toolkit
    • HTTP Client - Axios
    • Async State Management - React Query
    • Routing - React Router v6
  • Backend
    • Framework - Django & Django Rest Framework
    • Auth Method - JWT
    • Data Scraping - Selenium
    • Cron Job - Django Corn Tab
  • Database
    • Production - PostgreSQL
    • Development - Sqlite
  • Data Source
    • Live Data - Nepal Stock Exchange
    • Historic Data - ShareSansaar