Stock Price Alerts

Number of APIs: 3

This is a Qodex Collection demo, which can help users monitor (US) stock prices and trigger threshold-based alerts sent to Slack (only lower-threshold alerts are implemented in the demo).

You can enter and modify kicker symbols, company names, and alert thresholds for stocks you track in a Airtable spreadsheet-like data table. You will see alerting messages in a Slack channel you define or in your personal message window, as they are triggered.

In addition to the collection, the following variables are defined in a Qodex Environment.

  • slackwebhookurl
  • stock-api-token //you can get this token from the stock API provider you choose to use.
  • airtableapikey
  • airtablestockstable_id
  1. Get Real-Time Stock Quote GET https://finnhub.io/api/v1/quote?symbol={{stock_symbol}}&token={{stock-api-token}}

  2. Get User-Input Stock Kickers and Thresholds GET https://api.airtable.com/v0/{{airtable_stocks_table_id}}/stocks?api_key={{airtable_api_key}}

  3. Post to Slack (as alerts triggered) POST {{slack_webhook_url}}