This project uses datamule SEC Websocket to stream SEC filing data.
- SEC filing notifications
- Company name resolution with ticker symbols
- Performance statistics and monitoring
- Python 3.11+
- Discord Bot Token
- Datamule API Key
- Discord Channel ID for notifications
- Clone the repository:
git clone https://github.com/yourusername/datamule-discord.git
cd datamule-discord- Create virtual environment:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Create
.envfile:
DISCORD_BOT_TOKEN=your_discord_bot_token
DISCORD_CHANNEL_ID=your_channel_id
DATAMULE_API_KEY=your_datamule_api_key- Run the bot:
python bot.py- Build and run with Docker Compose:
docker-compose up -d- View logs:
docker-compose logs -f- Stop the bot:
docker-compose down!status- Show bot status and statistics!ping- Check bot latency!help- Show available commands
| Variable | Required | Default | Description |
|---|---|---|---|
DISCORD_BOT_TOKEN |
Yes | - | Your Discord bot token |
DISCORD_CHANNEL_ID |
Yes | - | Channel ID for notifications |
DATAMULE_API_KEY |
Yes | - | Datamule API key |
The bot includes built-in monitoring:
- Performance metrics in
!statuscommand