Documentation for smfGetYahooPortfolioView() function


Description

    Returns stock quotes and other data from the Yahoo Portfolios JSON file to an EXCEL range.

Syntax

    =smfGetYahooPortfolioView(tickerlist, [fieldlist], [multiples], [headers] ,[rows],[columns])

Parameters
     Tickerlist= A list of ticker symbols to get quotes and/or other data for from the Yahoo Portfolios JSON file.
This parameter can either be a single ticker symbol, a comma-delimited list of ticker symbols, a cell reference, or a range reference.
Passing "None" as the first ticker symbol will bypass calculation.

     Fieldlist= An optional list of field number codes indicating which fields are desired.
Each field number code is a 2-byte string ranging from "00" to "91".
This parameter can either be a string concatenation of all desired field number codes, a cell reference, or a range reference (which can be numbers instead of 2-byte strings). See the example template for a list of the available field number codes.
The default value for this parameter is to display all 91 available fields.

    Multiples= An optional parameter that allows a ticker symbol to be returned more than once. Defaults to "N", but can be set to "Y" to allow multiples.

    Headers= An optional parameter that allows column headings to be generated for the returned columns of data.
Defaults to 0, but can be set to 1 if you want headers on your output data.

    Rows and Columns= These are advanced optional parameters to override the size of the returned array of data. Normally, the returned array size is set by the range the formula is entered over. However, if other functions or VBA are involved, these allow the size of the returned range to be specifically set.


Examples

Usage notes