Stock Watcher:
Purpose:
Stock Watcher was designed to enhance my investment decisions and to practice project planning. I utilized a website called Trello to outline my tasks and break each into smaller, more manageable goals. This program, a homemade website crawler, connected to multiple URIs to gather crucial information about stocks. I then created business logic to determine my own 'valuations' for my favorite stocks, identifying which ones were selling at the highest premium (cheapest but most valuable, designed for buying at a good price). The webcrawler ran every morning and sent me a text message with the valuations for my favorite stocks using the Gmail API.
Technologies
- Java - programming language
- JavaFX - Graphics API
- IntelliJ - IDE
- Gmail API
Features
- Automated web crawling to get all the information in a single spot.
- A user interface displaying support and resistance lines.
- Daily stock updates by text.
- Customizable favorite stock section
Challenge:
Developing my own website crawler
Description:
The initial challenge in this project was not in retrieving the HTML information, but in parsing the HTML data into usable objects for my application. The complexity lay in transforming the raw HTML into a structured format that could be easily manipulated and utilized within the program.
Solution:
To address this challenge, I utilized the Scanner class in Java to parse the HTML information. By carefully analyzing the HTML structure and identifying patterns in the data, I was able to pinpoint the exact locations within the string where the necessary data resided. This methodical approach allowed me to extract and transform the HTML data into usable objects for further processing in my application.