Coder Social home page Coder Social logo

cs50-finance's Introduction

CS50-Finance

By Jonathan Ngien via Harvard's CS50

Website description

  • A web app where users can create and access their personal accounts to manage their portfolio of stocks
  • Allow users to check real current stock prices and portfolio values as well as buy and sell stock by quering IEX for stocks' prices

My Implementations

  1. Completed the implementation of register that allows a user to sign up for an account via a form.
  2. Completed the implementation of quote that allows a user to look up a stock’s current price.
  3. Completed the implementation of buy that enables a user to purchase stocks.
  4. Completed the implementation of index that displays an HTML table summarising which stocks the user owns, the numbers of shares owned, the current price of each stock, and the total value of each holding (i.e., shares times price). Also displays the user’s current cash balance along with a grand total.
  5. Completed the implementation of sell that enables a user to sell shares of a stock (that he or she owns).
  6. Completed the implementation of history that displays a HTML table summarizing all of a user’s transactions.
  7. Implemented 2 other functionalities to allow users to change their passwords change_password, and to add additional cash to their account addcash.

Disclaimer: All code outside of the above functions were provided by Harvard's CS50


Configuring and Running

  1. You would have to register for an API key in order to be able to query IEX's data by accessing IEX's website
  2. Then execute $ export API_KEY=value in terminal
    • If you don't have access to an account, you can use this API key: export API_KEY=pk_b63bf394ebab4c43b3108bbb8e7f0720 (expires 17 March 23)
  3. Run the program using flask run
  4. More detailed information on setting up the IEX's APK can be found at CS50's website

cs50-finance's People

Contributors

jonzyyyy avatar

Stargazers

 avatar

Watchers

 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.