Module YahooQuote :: Class Index
[show private | hide private]
[frames | no frames]

Class Index


encapsulates a stock index, eg 'dji' for dow jones
Method Summary
  __init__(self, market, symbol, **kw)
Creates a market index container.
  __getitem__(self, symbol)
retrieves a component ticker
  __repr__(self)
  fetchFromYahoo(self)
retrieves a list of component stocks for this index from the Yahoo Finance website
  fetchHistory(self)
Invokes Ticker.fetchHistory on all component stocks of this index
  load(self, row)
loads component names from database

Method Details

__init__(self, market, symbol, **kw)
(Constructor)

Creates a market index container. You shouldn't normally have to create these yourself.

__getitem__(self, symbol)
(Indexing operator)

retrieves a component ticker

fetchFromYahoo(self)

retrieves a list of component stocks for this index from the Yahoo Finance website

fetchHistory(self)

Invokes Ticker.fetchHistory on all component stocks of this index

load(self, row)

loads component names from database

Generated by Epydoc 2.1 on Mon Jun 25 22:42:21 2007 http://epydoc.sf.net