Module | Finance::Quote::AEX |
In: |
lib/finance/quote/aex.rb
|
require 'finance/quote' require 'finance/quote/aex' q = Finance::Quote.new qd = q.fetch( 'aex', 'phi' ) qd = q.fetch( 'dutch', 'phi' ) # alternative form
This module fetches information from the Amsterdam Euronext eXchange (AEX). All Dutch stocks and indices are available.
The following labels may be returned by this module:
name, last, price (same as last), date, p_change, bid, ask, offer (same as ask), open, high, low, close, volume, currency, method, exchange, time, success, error_msg
AEX_URL | = | 'http://www.aex.nl/scripts/pop/kb.asp' | URL from where to obtain information. | |
LABELS | = | [ :last, :time, :volume, :bid, :ask, :high, :low, :open, :close, :p_change ] |