- Get the stock ticker symbol for the stock you want to track. You can use Google to find it—for example, if you'd like to find Apple's ticker symbol, you can search for "Apple stock". The stock ticker will appear below the company name in the search results. In the case of Apple, it's "AAPL".
- In Momentum, click on + Add → Metric (or open Metrics and click the + icon).
- Choose the From a URL option.
- Give your metric a name, e.g., "Apple".
- Enter the API URL for the stock price, e.g.:
https://api.polygon.io/v2/aggs/ticker/AAPL/prev?apiKey={Insert your API Key here}
- In the Value section, select results[0].c, which is the daily close price. You can double check that the .c value matches the close price of the stock to be sure.
- If you'd like the metric to always show on your dash, click Pin to dashboard.
- Click Save. Your new stock metric will now continuously update in Momentum!
If the stock price metric is not working for you, double check that you have inserted your API key into the URL in step 7 above.
Video demo
Please note: This video shows a metric created using a different stock price service than Polygon, but the process is similar.
Adding more stocks
You can discover more stock symbols on many services, including Google Finance.
For example, if you'd like to also see Microsoft's (Ticker symbol: MSFT) stock price, the API URL would look like:
https://api.polygon.io/v2/aggs/ticker/MSFT/prev?apiKey={Insert your API Key here}
Having problems with Metrics?
If you're having problems with Metrics, please send us a message. In your message, provide a description (bonus points for a screenshot or recording) of where you are stuck, what solutions you've tried, and what browser and operating system you're using.