Skip to content

ACAPP-dev/stock-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Andrew's Stock App" Javascript / React / Redux Based Web App

Problem: Most stock apps use standard time periods (day, week, month, year) to view stock price trends. This can make it difficult to spot and track price movement over short term periods.

Solution: "Andrew's Stock App" allows the user to view candlestick charts over custom time periods, create and maintain watchlists, and view stock price data over a user specified three day period.

Features

  • Easily create an account with your name, email address, and password.
  • Passwords are encrypted using bcrypt.
  • Enter stock ticker or enter company name and select from list.
  • View company data and candlestick stock chart for user specified time period.
  • Create and save multiple "watchlists" to quickly view stock data.
  • Daily View (list of multiple stocks on one page):
    1. Select watchlist.
    2. Specify custom three day period.
    3. Get a table with closing stock price and movement for each day.
    4. See every stock in your specified watchlist.

Use the following link to see an overview of the webapp on YouTube: https://youtu.be/4omxv2ArO0c

My blog also talks about this project here: https://acapp-dev.github.io/final_project_-_stock_market_app

Technologies

  • Javascript
  • Ruby on Rails API Framework (Ruby version 2.6.1p33)
  • Sqlite3 Database
  • React Open Source Framework
  • Redux Framework for React
  • Stock Data from Finnhub: https://Finnhub.io
  • Charts Framework from AMCharts: https://amcharts.com

Installation

To refresh or set up the database, use the following steps:

$ rails db:drop

$ rails db:migrate

$ rails db:seed

Download the code for this webapp using:

$ git clone https://github.com/ACAPP-dev/stock-app.git

Update Gem files using command:

$ bundle install 

or

$ bundle update

Development

You can use:

$ rails s
        
to start webserver.

Use:

$ rails c

to enter a console session for debugging and/or exploring.

Start Webpage (from project directory /frontend):

$ yarn start

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ACAPP-dev/stock-app/issues. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Written by Andrew Capp in conjunction with Flatiron Academy - August 2020

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the Code of Conduct.

About

Load stock market data for custom time frames from an API and display a candlestick chart

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published