In my previous post, I designed a simple program to gather stock prices daily, then write that data to a text file. Now the next step was to do something with that data.
Ultimately I would like to include a graphic of a line chart using SVG::Plot. That is in the works, but for now I have made a simple program (parse-StockTrack.p6) which will parse the data file and generate an HTML table for each stock that is tracked, and save the results as a handlebars partial file. This file is then included at the bottom of this page. The file gets updated everyday at 13:05, just after the StockTracker.p6 program fetches the current dates closing prices.

I still have some more work to do on this project. Mostly combining the two programs StockTrack.p6 and parse-StockTrack.p6 into one unified program. I would also like to add multi-user support with the ability to track different sets of stocks and output to different files.
For now take a look at the end results below...