Skip to content

A comprehensive system for extracting financial data, performing advanced analytics, and generating actionable trading insights - powered by Django, Celery, TimescaleDB, Jupyter, OpenAI, and few more.

Notifications You must be signed in to change notification settings

dawmro/stock_analyzer_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stock_analyzer_bot

A comprehensive system for extracting financial data, performing advanced analytics, and generating actionable trading insights - powered by Django, Celery, TimescaleDB, Jupyter, OpenAI, and few more.

alt text

Setup:

  1. Create new virtual env:
py -3.12 -m venv venv
  1. Activate your virtual env:
venv/Scripts/activate
  1. Install packages from included requirements.txt:
pip install -r .\requirements.txt
  1. Run docker container:
docker compose up -d
  1. Go to src dir
cd src
  1. Apply database migrations:
python manage.py migrate
  1. Create admin user:
python manage.py createsuperuser
  1. Create Selected stocks using:
nbs/11 - Verify Stock Sync.ipynb

Run

  1. Run django server:
python manage.py runserver
  1. In a new terminal run celery beat:
celery -A sab_home beat
  1. In a new terminal run celery:
celery -A sab_home worker -l info
  1. Create periodic tasks in django admin: alt text

  2. Wait for task to synchronize data: alt text

  3. Got to:

http://localhost:8000/market/chart/

About

A comprehensive system for extracting financial data, performing advanced analytics, and generating actionable trading insights - powered by Django, Celery, TimescaleDB, Jupyter, OpenAI, and few more.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published