Skip to content

ucsb-cs48-w19/6pm-stock-trading

Repository files navigation

6pm-stock-trading

Travis-CI status on Master Branch: Build Status

Project summary

One-sentence description of the project

Mock environment for managaed account investment structure.

Additional information about the project

This app will be completely hands off to the user. Users' accounts will be managed day to day by an automated trading algorithm powered by live stock price data. Users will be able to personalize the investment strategy choosen during initial setup to help them reach their financial goals.

Installation

Prerequisites

  1. Install Python 3.7
  2. pip install flask
  3. Install PostgreSQL Postgres Installation
  4. pip install -r requirements.txt or pip3 install -r requirements.txt

Installation Steps

  1. export APP_SETTINGS="config.DevelopmentConfig"
  2. export DATABASE_URL="[name of your postgres database]"
  3. python manage.py db init
  4. python manage.py db migrate
  5. python manage.py db upgrade
  6. python app.py

Issues

  1. rm -r migrations/
  2. Delete database tables in psql with drop table alembic_version; drop table users;
  3. Redo Installation Steps 3 - 6

Functionality

https://shark-tooth-trading.herokuapp.com/

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D
  6. Good References: Bootstrap 3 Reference https://getbootstrap.com/docs/3.3/components/ https://medium.com/@dushan14/create-a-web-application-with-python-flask-postgresql-and-deploy-on-heroku-243d548335cc

License

If you haven't already, add a file called LICENSE.txt with the text of the appropriate license. We recommend using the MIT license: https://choosealicense.com/licenses/mit/

About

stock trading app, webapp, python(flask)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages