GetFundData (Reserved Word)

image\trumpet2.gif Disclaimer

Returns the numeric value of the specified fundamental data from some number of periods ago.

GetFundData(sFieldName,nDataPointsBack)

Where sFieldName is a text string containing the short name of the data to read.  The nDataPointsBack parameter refers to the number of data periods ago from which to read the data.  

  All units, except share values, are converted to Millions for all periods.  Percentages are returned as whole values (i.e. a value of 26.5 represents 26.5% and not 2650.00%)

Fundamental data names are listed in tables under the following categories:

Snapshot, Balance Sheet Assets & Liabilities, Cash Flow, Income, Shareholder Equity

Remarks

GetFundData returns fundamental data starting on the next business day after the post date reported by GetFundPostDate.  For example, if a company announced earnings on a Friday, the first associated earnings data would be plotted on a chart as of the opening bar on the following Monday which is the next business day for trading.

Example

Assigns Value1 the numeric value of fundamental data"ONET" (Net Income) from one period ago.  Also, you can use the GetLastFundDataError reserved word to test the status of the previous 'Get' data call, where a non-zero value indicates that there was a data error.

Value1 = GetFundData("ONET", 1);

if GetLastFundDataError = fdrDataUnavailable then Print("Data Unavailable");

See Also

GetFundDataAsString, GetFundDataAsBoolean, GetFundPostDate, GetLastFundDataError