Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
REDDIT_CLIENT_ID | Yes | Your Reddit application client ID (appears right under 'personal use script') | |
REDDIT_CLIENT_SECRET | Yes | Your Reddit application client secret (the string labeled 'secret') |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
analyze_wsb_market | Create a prompt for analyzing WSB market sentiment and finding opportunities. |
find_market_movers | Create a prompt for identifying what's moving a specific stock or the market. Args: ticker: Optional specific stock ticker to focus on |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
find_top_posts | Fetch and filter WSB posts based on criteria. Caches results for 5 minutes.
Args:
min_score: Minimum score (upvotes) required
min_comments: Minimum number of comments required
limit: Maximum number of posts to return
excluded_flairs: List of post flairs to exclude. Defaults to ["Meme", "Shitpost", "Gain", "Loss"].
Returns:
A dictionary with filtered posts data |
fetch_post_details | Fetch detailed information about a specific WSB post including top comments. Caches results for 5 minutes.
Args:
post_id: Reddit post ID
Returns:
Detailed post data including comments and extracted links |
fetch_batch_post_details | Fetch details for multiple posts efficiently.
Args:
post_ids: List of Reddit post IDs
Returns:
Dictionary with details for all requested posts |
fetch_detailed_wsb_posts | Fetch and filter WSB posts, then get detailed information including top comments and links for each.
Args:
min_score: Minimum score (upvotes) required
min_comments: Minimum number of comments required
limit: Maximum number of posts to return
excluded_flairs: List of post flairs to exclude. Defaults to ["Meme", "Shitpost", "Gain", "Loss"].
Returns:
A dictionary with detailed data for the filtered posts. |
get_top_trending_tickers | Fetch top trending stock tickers from ApeWisdom, filtered by valid NASDAQ symbols.
Args:
num_stocks: Number of top stocks to consider based on upvotes and mentions. Defaults to 20.
filter: ApeWisdom filter category (e.g., 'wallstreetbets', 'all'). Defaults to 'wallstreetbets'.
Returns:
A list of valid, trending tickers. |
get_external_links | Get all external links from top WSB posts.
Args:
min_score: Minimum score (upvotes) required
min_comments: Minimum number of comments required
limit: Maximum number of posts to scan
Returns:
Dictionary with all unique external links found |