Initial commit: Discord stock price bot with hourly PYPL updates
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>
This commit is contained in:
14
.env.example
Normal file
14
.env.example
Normal file
@@ -0,0 +1,14 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user