Git Product home page Git Product logo

stock-bot's Introduction

Stock Visualizer


Description

Welcome to the Stock Visualizer, which presents the following features :

  1. Back End (Python)

    • Web scraping on Yahoo Finance to retrieve most active or most gaining stocks
    • Sort stocks based on chosen criteria and retrieve top 5 stocks
    • Call API of selected stocks to retreive data in JSON format (time, open/close price, high/low, volume)
    • Cleanse the JSON data to a more readable format and visualize the time series data
  2. Front End (Dart/Flutter)

    • Build app with 5 tabs for each of the 5 stocks
    • Each tab displays the following :
      • Symbol of stock (e.g. AAPL)
      • Displays the plot generated by Python
      • Estimated profit/loss since start of app runtime
      • Button that links to Yahoo Finance info on the specified stock

Compile/Run

  1. Download folder and move directory to downloaded path
  2. Check the following on main.py
    • Switch between finance.yahoo.com/gainers and finance.yahoo.com/most-active based on need
    • Get your keycode at alphavantage.co and input keycode to retrieve stock API
    • Feel free to switch the path for where the image and JSON file will be created
  3. Check the following on dart_folder
    • Check that pubspec.yaml is accessing assets from the correct path
    • Check that main.dart is accessing JSON and image files from the correct path
  4. On terminal, change directory to py_folder and run 'python main.py'
  5. Wait for images, JSON file to be generated
  6. Turn on iOS or Android simulator
  7. On terminal, change directory to dart_folder and run 'flutter run'
  8. Run 'flutter clean' and delete pycache file after finishing app

Images

stock-bot's People

Contributors

kunhwiko avatar

Stargazers

Osman BAŞARAN avatar Joel Brass avatar ProCrafters avatar  avatar peddle avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

hitanshu1

stock-bot's Issues

WebSearch package is no longer in use

I think WebSearch is no longer in use. When I test run the three lines, it shows nothing. I tried websearch-python, no luck there either. Any suggestion?

from websearch import WebSearch

ws = WebSearch("https://finance.yahoo.com/gainers?count=100")
symbols = ws.web_parse()
print(symbols)

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.