__fetch_yahoo__ [financial]
— [data fields] =:

__fetch_yahoo__ (conn, symbol, fromdate, todate, period)

Download stock data from yahoo. (Helper for fetch.)

fields are the data fields returned by Yahoo.

fromdate and todate is the date datenum for the requested date range. If you enter today's date, you will get yesterday's data.

period (default: "d") allows you to select the period for the data which can be any of

  • 'd': daily
  • 'w': weekly
  • 'm': monthly
  • 'v': dividends

See also: yahoo, fetch