Git Product home page Git Product logo

securities_analysis's Introduction

Securities Analysis

An application designed to analyze different securitites in real time

Run in development mode

  1. Clone this repo
  2. cd into the cloned repo
  3. pip install -r requirements.txt
  4. export FLASK_DEBUG=1
    • This will enable debug mode for development which, for convenience, will restart the server when you save a file.
  5. flask run

securities_analysis's People

Contributors

spich9215 avatar

Watchers

James Cloos avatar  avatar

Forkers

alohr51

securities_analysis's Issues

add UI for data returned from finance API call

Now that we have actual data returned to our frontend we need to write some code to display it nicely.

  1. Create some HTML fields that will hold the data (look at the data returned and create fields that represent it)

  2. In the response handler of the fetch call pass the response data to a new method that will handle setting the JSON data in the new HTML fields you created.

depends on #5

connect form to our API backend

When the form is complete have a request sent to our Flask app. We can use fetch on the front end to send an asynchronous request to our backend.

We will also need to open up a endpoint on our flask app to handle the request.

No need for anything to be done, just return the form data. We will add logic later

depends on #3

add logic for analysis

Now we should have a request being sent to our backend with at least a name for a stock.

From our backend API call a new method that will:

  1. send a request to the yahoo finance using the yfinance python library with the stock name from our frontend form
  2. return the JSON data to our front end

depends on #4

Create homepage index.html

When the user goes to our application we need a homepage that pops up.

Flask should server this page when directed to the root URL of the app /

We can just put a welcome message for now

Create a form for data needed to do calculation

on our new index.html page we will need a form that takes in parameters needed for doing our securities analysis.

I assume we will at least need a name of a security (stock/bond/mutual fund, etc...) to analyze.

No need to make this form functional yet, just added to the index.html

depends on #2 to be finished first

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.