GithubHelp home page GithubHelp logo

fjbsantiago / ivalue Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.95 MB

Web application that selects the best value stock to buy at the present moment in the US Stock Market

Python 4.29% CSS 16.32% HTML 15.64% JavaScript 63.71% Makefile 0.03%

ivalue's Introduction

ivalue

A Dango Application that collects financial data about US ivalue from different sources and calculates the fittest value stock for every day. The stock is selected by applying the principles in the following books:

  • "The Little Book That Still Beats the Market" by Joel Greenblatt
  • "The Five Rules for Successful Stock Investing" by Pat Dorsey

Getting Started

These instructions will get a copy of the project up and running on your local machine for development and testing purposes.

Installation Prerequisites

git

Installing

These instructions explain how to set up a working local Development Environment

Setting up a Python Virtual Environment

Install PyEnv

$ git clone https://github.com/pyenv/pyenv.git ~/.pyenv
$ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
$ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
$ echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
$ exec $SHELL (restart the shell)

Install Python 3.5.3 using PyEnv and set that version as active

$ pyenv install 3.5.3
$ pyenv local 3.5.3

Issues: Refer to https://github.com/pyenv/pyenv/wiki/Common-build-problems

Install Virtualenvwrapper plugin for PyEnv

$ git clone https://github.com/yyuu/pyenv-virtualenvwrapper.git ~/.pyenv/plugins/pyenv-virtualenvwrapper

Install Virtualenvwrapper scripts

$ export WORKON_HOME=$HOME/.virtualenvs
$ export PROJECT_HOME=$HOME/Devel (chose directory in which your projects will live)
$ source ~/.pyenv/shims/virtualenvwrapper.sh

Setting up the application

Create a virtual environment, clone the project into it and set default folder for that project

$ mkproject ivalue
$ workon ivalue (activates virtual environment and switches to project's working dir)
$ git clone https://github.com/fjbsantiago/ivalue.git

Install Python dependencies

$ pip install -r requirements.txt

Initialise Database

$ python manage.py migrate
$ python manage.py createsuperuser

Running the application

$ python manage.py runserver

Open a browser on http://localhost:8000

Authors

  • Francisco Santiago
  • João Pio

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.