From: Eduardo Vaz de Lima <eduardo_lima22@yahoo.com>
Date: November 23, 2007 5:33:57 AM CST
To: submission@rubyquiz.com
Subject: Please Forward: Ruby Quiz Submission - Stock PortfoliosHi,
Sorry for sending this solution so late. I am new in Ruby programming!!
I would like to share my solution with the community.
I wrote a script that fetches stock prices from Yahoo Finance and compares with purchase price and amount stored in a separate text file.
In the file stock.txt insert stock name, purchase date, stock price and amount (separated by ";").
Best regards,
Eduardo Lima
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.
stock.rb (3.05 KB)
ยทยทยท
Begin forwarded message: