ChatGPT Plugins: Stock Screener Assistant - MLQ Academy

In this ChatGPT Plugin video tutorial, we'll walk through how to build a stock screener assistant using the Financial Modeling Prep API to retrieve and filter stocks based on the user's input.

With this Replit-hosted code, you'll be able to fork and run it, deploy it in the ChatGPT Plugin store, and be able to ask your stock screener assistant for things like:

"Show me tech companies with a market cap above $10b and dividends above $2/share..."

We'll also discuss what's included in each of the three main files: main.py, ai-plugin.json, and openapi.yaml. The steps we'll take include:

  • Step 1: Building the API functionality
  • Step 2: Creating a plugin manifest file
  • Step 3: Documenting the API with OpenAPI
  • Step 4: Deploying and testing the ChatGPT Plugin