Implemented Discord bot for automated stock price tracking and reporting with the following features: - Hourly PayPal (PYPL) stock price updates during NYSE market hours - Custom branding for PYPL as "Steaks Stablecoin Value" - Manual stock price queries via !stock and !price commands - Multi-provider stock API support (Yahoo Finance and Finnhub) - NYSE market hours detection with holiday awareness - Discord embed formatting with color-coded price changes - Docker containerization for consistent deployment - Comprehensive documentation and deployment guides Technical stack: - Python 3.9+ with discord.py - Finnhub API for stock price data - APScheduler for hourly automated updates - Docker support for local and Unraid deployment 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
15 lines
300 B
Plaintext
15 lines
300 B
Plaintext
# Discord Configuration
|
|
DISCORD_TOKEN=your_discord_bot_token_here
|
|
CHANNEL_ID=your_channel_id_here
|
|
|
|
# Bot Configuration
|
|
COMMAND_PREFIX=!
|
|
|
|
# Stock Configuration
|
|
PRIMARY_TICKER=PYPL
|
|
STOCK_API_PROVIDER=finnhub
|
|
FINNHUB_API_KEY=your_finnhub_api_key_here
|
|
|
|
# Scheduling Configuration
|
|
UPDATE_INTERVAL_HOURS=1
|