DEV Community

carrierone
carrierone

Posted on

OTC Stock Shell Risk Scoring: How to Screen Penny Stocks Programmatically

OTC Stock Shell Risk Scoring: How to Screen Penny Stocks Programmatically

As developers working on retail trading tools and fintech apps, identifying shell companies—often referred to as "penny stocks"—is crucial. These companies often operate under pseudonyms or have minimal public information. Detecting these entities can be challenging but is essential for avoiding financial risks.

The Problem: Shell Companies in OTC Markets

Shell company detection involves analyzing names and other details of companies listed on the Over-The-Counter (OTC) markets, which are not regulated as strictly as those listed on major exchanges like NASDAQ or NYSE. These firms often use misleading names to attract attention from investors who may be unaware of their true nature.

A Simple Python Example for Shell Detection

Here’s a simple example using Python that demonstrates how you might filter out shell companies based on name and industry:


python
import requests

def fetch_otc_companies(api_key):
    url = "https://api.verilexdata.com/api/v1/otc/sample"
    headers = {"Authorization": f"Bearer {api_key}"}

    response = requests.get(url, headers=headers)
    companies_data = response.json()

    return companies_data

def filter_shell_companies(companies):
    # Define a list of keywords to look for in company names
    shell_keywords = ["shell",
Enter fullscreen mode Exit fullscreen mode

Top comments (0)