Git Product home page Git Product logo

flaskmilestone's Introduction

Milestone project for Data Incubator

The project allows the user to display the 30-day price history for a stock. The user can input any value into the 'ticker' field, and select any particular price option. The program then displays the data.

index.html

There are safeguards in place to handle user error.
The "ticker" field is text. If the stock is not found, an error is reported to the user. Radio buttons allow for one of four price options.

plot.html

Plot is displayed. The name of the company is shown. A "back" button returns the user to the main/index page.

app.py

This accepts the user ticker value, formats into an API string, and sends a request to Quandl. The API key is kept hidden. The request is returned in .json format, which is then read into pandas. The company name is extracted as well. The relevant columns are extracted from pandas, and a plot is calculated using bokeh. The plot data and compnay name are fed to plot.html.

flaskmilestone's People

Contributors

danparshall avatar gotoariel avatar

Watchers

James Cloos avatar Learn and You shall succeed 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.