Skip to content

Taba stock ticker

Set up your stock ticker

Connect Cloudflare, then add your Finnhub API key. The key stays in Cloudflare and is never added to Ghost.

  1. 1 Connect CloudflareAuthorize your account.
  2. 2 Add your site and keyChoose an account and add your Finnhub key.
  3. 3 Add the Ghost snippetCopy one line into Ghost.

Step 1 of 3

Connect Cloudflare

Cloudflare will ask you to approve the connection, then return you here.

Before you start, you need:

  1. A Cloudflare account.
  2. A Finnhub API key.

You do not need GitHub.

Use the stock ticker in Taba

After you add the Ghost snippet, add an internal tag such as #stock-AAPL to a post. Use a traded stock symbol with up to five letters; index symbols are not supported. Taba shows the symbol, current price, and movement on the post and supported post cards.

You can also write a symbol such as $AAPL in a post to show an inline ticker.

How this setup protects your key

The setup creates an Aspire Gateway Worker in your Cloudflare account. Your Finnhub API key is stored there as a secret. Your Ghost site only uses the Worker address, so the key is not included in its code.

Change your site or API key

Run this setup again and use the same Cloudflare account. It updates the existing Worker with your new website address or Finnhub API key. If you use a different Cloudflare account, replace the snippet in Ghost with the new one.

If the ticker does not appear

  1. Check that the snippet is in Settings > Advanced > Code Injection under Site Header.
  2. Check that the post has an internal tag in the format #stock-SYMBOL, for example #stock-AAPL.
  3. Refresh the page. If the problem continues, contact Aspire Themes with your site address and the stock symbol you used.

Need help with setup? Contact Aspire Themes.