Documentation for smfPricesBetween() function


Description

    Summarizes historical stock quotes for a range of data from the Yahoo historical quotes interface.

Syntax

    =smfPricesBetween( Ticker, Start Date, End Date, [Fields] )

Parameters

    Ticker= Ticker symbol (e.g "MMM"). You can also use a special value of "Header" to return a row of column headings for the returned data items.

    Start Date= Date to use as the starting date for the historical quotes date range; must be an EXCEL serial date value (e.g. NOW() or DATE(2006,10,15)).

    End Date= Date to use as the ending date for the historical quotes date range; must be an EXCEL serial date value (e.g. TODAY() or DATE(2007,10,15)).

    Fields= Which of the 10 possible fields to return; optional; default is to return all 10 fields (i.e. "01020304050607080910"). The 10 fields are:

    01 = Open Date
    02 = Open Price
    03 = High Date
    04 = High Price
    05 = Low Date
    06 = Low Price
    07 = Close Date
    08 = Close Price
    09 = Volume
    10 = Previous Close

Note that each MUST be specified as a 2-digit number. So, if all you wanted was the "Previous Close" and the "Close Price", you would ask for fields "1008".


Examples Usage notes