vf_GetPrice Function

Returns a Price Data array containing Last, Change, Open, High, Low, Volume, 52wk Range, Name, Date, and Time.

Syntax

vf_GetPrice(Symbol[, Item][, Delayed])

The vf_GetPrice function syntax has these parts:

Part Description
Symbol Required; String. A valid ticker Symbol. Follows Yahoo!Finance naming conventions.
Item Optional; String. Can be one of the following: Last, Change, Open, High, Low, Volume, 52wk Range, Name, Date, Time.
If Item is none of the above the list of available items is returned. Otherwise the respective Item's value is returned.
If Item is omitted the full array is returned.
Delayed Optional; Boolean. Indicates whether Delayed or Real-Time quote to be retrieved. The Default value is False.

Remarks

Real-Time data is available for NYSE and NASDAQ only. Sourced from Google!Finance. Delayed data is Sourced from Yahoo!Finance.

See Also

vf_GetDividend
vf_GetOptions
vf_GetOption
vf_GetHistory
vf_GetHistorical
vf_GetHstVol
vf_GetHstCorr
vf_GetReturn
vf_Today
vf_Download

Resources

Home Page
Watch Demo

Contact

E-mail: admin@vbafin.com