Skip to content

An application developed with Ruby to get financial information in real-time from Yahoo Finance!.

Notifications You must be signed in to change notification settings

Zappat0n/stock_scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Programming

STOCK SCRAPER FROM YAHOO FINANCE!

This a stock scraper. You can get financial information about your favorite stocks from the command line.

To install and run

  • Clone the project repo from GitHub using git clone https://github.com/Zappat0n/stock_scraper
  • Make sure Ruby-lang is installed
  • Make sure Bundler is installed
  • Install the required gems. Run bundle install
  • Run ruby bin/main.rb

Instructions

screenshot

The application will ask for instructions to proceed. You should introduce an order followed by one or multiple stock tickers separated by commas. The available orders are:

  • name: Returns the name of the stock, ex: name MSFT
  • price: Returns the price of the stock, ex: price GE
  • diff: Returns the difference in price from the previous day, ex: diff AAPL
  • quote: Returns the name, price, and difference from yesterday of a given stock, ex: quote GOOG
  • help: Lists the available orders
  • finish: Ends the application

If you want to request multiple stocks you can type: quote NVDA, MU, BAC.

You can preload orders by adding them to the "orders.txt" file, and they will be loaded when the application starts.

Designed With

  • Ruby
  • Git
  • Gitflows
  • Rubocop
  • VS Code
  • Repl.it

Contribute to this Project

Contributions, issues, and feature requests are welcome! Start by:

  • Forking the project
  • Cloning the project to your local machine
  • cd into the project directory
  • Run git checkout -b your-branch-name
  • Make your contributions
  • Push your branch up to your forked repository
  • Open a Pull Request with a detailed description of the development branch of the original project for a review

Authors

👤 Angel Barros

Show your support

Give a ⭐️ if you like this project!

About

An application developed with Ruby to get financial information in real-time from Yahoo Finance!.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages