Ruby/Finance 0.2.2
Sponsored Links
Ruby/Finance 0.2.2 Ranking & Summary
File size:
0.041 MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
1294
Date added:
2006-04-10
Publisher:
Ian Macdonald
Ruby/Finance 0.2.2 description
Ruby/Finance allows access to changing financial data, such as stock quotes and currency conversion rates.
For the foreseeable future, it is intended to be a port of Perls Finance::Quote module.
Examples:
Currency conversion
require finance/currency
Display the US Dollar ($) to Euro () conversion rate.
puts Finance::Currency::convert( EUR, USD )
Display the British Pounds Sterling () to Icelandic Kronur conversion
rate for the amount of 32.50.
puts Finance::Currency::convert( ISK, GBP, 32.50 )
Stock quotes
require finance/quote
q = Finance::Quote.new Answers will be given in the native
currency of the exchange on which
they are listed.
q = Finance::Quote.new( EUR ) Answers will be given in Euros.
q.currency = VND Switch to using Vietnamese Dong.
info = q.fetch( usa, CRM ) Fetch a single quote, namely CRM.
info = q.fetch( :usa, EBAY, AMZN ) Fetch EBAY and AMZN. Note that
a Symbol can be used instead of a
String for the exchange name.
info = q.fetch( usa, %w[ EBAY AMZN ] ) An Array of ticker symbols is
OK, too.
puts info[EBAY][:price]
A block can be passed, too:
q.fetch( :usa, RHAT ) { |info| puts info[RHAT][:high] }
You can also bypass #fetch and call the exchange as a method:
q.usa( RHAT ) { |info| puts info[RHAT][:high] }
Installation:
Minero Aokis setup.rb script is included. Extensive documentation for this script can be found at the end of this document.
Basically, however, the following should be enough to install the package:
$ ruby setup.rb config
$ ruby setup.rb setup
# ruby setup.rb install
("#" line may require root privilege)
For the foreseeable future, it is intended to be a port of Perls Finance::Quote module.
Examples:
Currency conversion
require finance/currency
Display the US Dollar ($) to Euro () conversion rate.
puts Finance::Currency::convert( EUR, USD )
Display the British Pounds Sterling () to Icelandic Kronur conversion
rate for the amount of 32.50.
puts Finance::Currency::convert( ISK, GBP, 32.50 )
Stock quotes
require finance/quote
q = Finance::Quote.new Answers will be given in the native
currency of the exchange on which
they are listed.
q = Finance::Quote.new( EUR ) Answers will be given in Euros.
q.currency = VND Switch to using Vietnamese Dong.
info = q.fetch( usa, CRM ) Fetch a single quote, namely CRM.
info = q.fetch( :usa, EBAY, AMZN ) Fetch EBAY and AMZN. Note that
a Symbol can be used instead of a
String for the exchange name.
info = q.fetch( usa, %w[ EBAY AMZN ] ) An Array of ticker symbols is
OK, too.
puts info[EBAY][:price]
A block can be passed, too:
q.fetch( :usa, RHAT ) { |info| puts info[RHAT][:high] }
You can also bypass #fetch and call the exchange as a method:
q.usa( RHAT ) { |info| puts info[RHAT][:high] }
Installation:
Minero Aokis setup.rb script is included. Extensive documentation for this script can be found at the end of this document.
Basically, however, the following should be enough to install the package:
$ ruby setup.rb config
$ ruby setup.rb setup
# ruby setup.rb install
("#" line may require root privilege)
Ruby/Finance 0.2.2 Screenshot
Ruby/Finance 0.2.2 Keywords
RHAT
EBAY
Finance 0.2.2
AMZN
currency conversion rates
stock quotes
Currency conversion
conversion rates
financial data
access to
info
conversion
currency
puts
quotes
stock
Bookmark Ruby/Finance 0.2.2
Ruby/Finance 0.2.2 Copyright
WareSeeker periodically updates pricing and software information of Ruby/Finance 0.2.2 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Ruby/Finance 0.2.2 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
foreign currency conversion rates
historical currency conversion rates
currency conversion chart
conversion currency
yahoo finance stock quotes
yahoo currency conversion
current currency conversion rates
infodog
real time stock quotes
currency conversions
international currency conversion rates
conversion factors
stock quotes by date
currency conversion tables
information
yahoo finance stock quotes iv
foreign currency conversion
financial market data
Related Software
LibAran is a 2D/3D Fast Multipole Method software library. Free Download
Finance::YahooQuote is a Perl module that can get stock quotes from Yahoo! Finance. Free Download
prophorBNCd is an easy multiuser BNC server for IRC. Free Download
jnget is a command-line tool for retrieving binaries from Usenet. Free Download
Finance::Quote is a Perl module to get stock and mutual fund quotes from various exchanges. Free Download
Yarssr is an RSS reader that displays its results in the notification area. Free Download
URLex! is a Firefox extension you are able to leave a comment regarding any web-site. Free Download
vtticker is a Perl script that grabs pages from videotext/teletext (using alevt-cap). Free Download
Latest Software
Popular Software
Favourite Software