A small trading analyzer dashboard using django , postgres database and angular
1 Install postgres sql (https://www.postgresql.org/download/)
2 Create database named 'trading' (CREATE DATABASE demo;)
3 Create user (CREATE USER test WITH PASSWORD 't!@123';)
1 Setup virtual env
`
> pip install virtualenvwrapper-win
> mkvirtualenv env_name
`
2 Active virtual env
> workon env_name
3 Install dependencies (pip install -r requirements.txt)
4 Run the project
> python manage.py runserver
1 python manage.py makemigrations
2 python manage.py migrate
# it will create table in your database
+ table 'analyzer'
>COPY analyzer_analyzer("Date","Open","Close","High","Low","Shares_Traded","Turnover") FROM 'C:\tmp\analyzer.csv' DELIMITER ',' CSV HEADER;
tmp/
https://github.com/uds214125/trading-app
> npm i
> ng serve