Website logo
Navigate through spaces
ChartHop documentation
⌘K
ChartHop Help Center
Getting around in ChartHop
ChartHop for Employees
Implementing ChartHop
ChartHop for Administrators
Carrot reference
ChartHop for Developers
Partners
Release notes
Resources
Docs powered by Archbee
Website logo
Carrot reference
...
Elements of Carrot expressions
Functions

stockPrice()

Given a Date, returns the value of shares on that date.

Syntax

stockPrice([date][, symbol])

  • date - (optional) the date of the returned stock price
  • symbol - (optional) the ticker symbol of the stock
  • Return type: Number

Sample usage

stockPrice('2019-01-01') returns the value of the stock price on 01/01/2019.

Supported data types

Input type

Return type

Logic

Date

Number

If a Date value is passed, the stock price on that date will be returned.

Unsupported data types

Null

Unsupported data types return Null.



Updated 04 Oct 2023
Did this page help you?
PREVIOUS
subString()
NEXT
monthStart()
Docs powered by Archbee
TABLE OF CONTENTS
Syntax
Sample usage
Supported data types
Docs powered by Archbee