Coder Social home page Coder Social logo

sitispeaks / how-to-stock Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abhiek187/how-to-stock

0.0 0.0 0.0 2.09 MB

A web app that can teach users how the stock market works, trade virtual stocks, and view predictions of stocks

Python 41.92% CSS 3.44% JavaScript 27.76% HTML 26.88%

how-to-stock's Introduction

How to Stock

stock graphs

This web service serves as an introduction to the stock market for users new to finance. Users can learn about various financial terms, simulate trading stocks using a virtual balance, and view stock predictions based on probability and statistical data.

Features

The app is split up into 4 sections:

  • Screener: This is where users can filter stocks by country, price, sector, and exchange.

  • Flashcards: Users can view a list of financial terms used throughout the app.

  • Portfolio: Users can view a list of stocks they've invested in. They start off with $10,000 and can view how their net worth changes each day.

  • Details: This page shows stock information about a company as well as a detailed analysis of the stock price for short and long-term investments. This is also where users can trade stocks.

Dependencies

The front-end is created in HTML, CSS, & JS and the back-end is created in Django and utilizes an SQLite database. Bootstrap was used to enhance the site's design and implement UI elements such as alerts and popovers. Chart.js was used to visualize the stock trends on the details page. And Financial Modeling Prep was the API used to implement the screener functionality and obtain detailed profiles and stock history from all the companies. Above everything else, this web app is designed to be responsive, accessible, and thoroughly tested.

How to Run

After cloning this repo, run the following commands:

  1. Create a folder for the virtual environment: python3 -m venv <folder-name>
  2. Activate the virtual environment: source <folder-name>/bin/activate
  3. Install all python dependencies: pip3 install -r requirements.txt
  4. Head into the stockhelper directory: cd stockhelper
  5. Create the SQLite databases: python3 manage.py migrate
  6. Load the flashcards data: python3 manage.py loaddata cards.json
  7. Run the Django server: python3 manage.py runserver
  8. Open localhost:8000/stockapp in your browser.
  9. When done, press CTRL/CMD-C and deactivate the virtual environment: deactivate

how-to-stock's People

Contributors

abhiek187 avatar

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.