Given a Date, returns the value of shares on that date.
- date - (optional) the date of the returned stock price
- symbol - (optional) the ticker symbol of the stock
- Return type: Number
stockPrice('2019-01-01') returns the value of the stock price on 01/01/2019.
Supported data types
If a Date value is passed, the stock price on that date will be returned.
Unsupported data types
Unsupported data types return Null.
Updated 03 May 2023
Did this page help you?