GOOSE Intelligent Trading System
Production-Ready Automated Prediction Market Intelligence
Production-Ready Automated Prediction Market Intelligence
GOOSE is a production-ready prediction market trading bot that combines multi-agent intelligence with API-based execution for automated trading on prediction market platforms. The system features real-time portfolio management, dynamic capital tracking, and comprehensive safety controls to ensure reliable, risk-managed trading operations.
Market Analyst, News Sentinel, Risk Manager, Execution Agent, and Coordinator working in harmony for intelligent decision-making
Real-time prediction market opportunities with sophisticated expected value calculations and market filtering
Direct CLOB integration for live trading with automated order placement and management on prediction market platforms
Real-time position tracking with automated exit strategies including time-based, profit-taking, and stop-loss mechanisms
Dynamic bankroll monitoring with real-time allocation tracking and risk management across all active positions
DRY_RUN mode, manual confirmation, spending limits, position exposure monitoring, and complete audit trails
python main.py Identifies trading opportunities by analyzing market data and calculating expected value using sophisticated probability models and Kelly Criterion position sizing.
Integrates real-time news sentiment analysis to provide context-aware intelligence, helping identify market-moving information and potential catalysts.
Ensures safety compliance through comprehensive validation checks, spending limits, capital allocation monitoring, and position exposure controls.
Plans and executes trades via direct API execution, managing order placement, position tracking, and settlement monitoring through CLOB integration.
Orchestrates collaboration between all agents using decision thresholds (58/65/30 matrix) to ensure consensus-driven, intelligent trading decisions.
The five agents work together in a coordinated system:
Production-grade technology foundation built for reliability, performance, and scalability
GOOSE features a hybrid architecture combining the modern agents/ system (Market Analyst, News Sentinel, Risk Manager, Execution Agent, Coordinator) with legacy integration components. The new agent-based system handles all core trading intelligence and execution, while maintaining compatibility with existing infrastructure for seamless deployment and operation.
Complete execution pipeline from market discovery to settlement and reconciliation
System validates all configuration settings, API keys, and safety parameters before execution begins.
Fetches live prediction market data via API, filtering opportunities based on liquidity, volume, and market criteria.
Five specialized agents collaborate to analyze opportunities, integrate news sentiment, and assess risk factors.
Coordinator evaluates agent consensus using 58/65/30 thresholds to determine if trade meets quality standards.
Validates available capital, checks allocation limits, and ensures position sizing complies with risk management rules.
Executes trades via direct CLOB API integration with automated order placement and confirmation tracking.
Continuously scans active positions, tracks P&L, and executes exit strategies based on time, profit, or stop-loss triggers.
Monitors markets for resolution events and automatically processes settlements when positions close.
Records all activities with complete audit trail and synchronizes database state with live market data for accurate P&L tracking.
Production-grade safety controls and comprehensive risk management for secure trading operations
Default enabled simulation mode that allows full system testing without executing real trades or spending capital.
Approval gate requiring explicit user confirmation before any trade execution, providing human oversight for all trading decisions.
58/65/30 consensus matrix ensures only high-quality opportunities pass multi-agent validation before execution.
Configurable DAILY_LIMIT and TRADE_MAX_PERCENT parameters enforce strict capital controls and prevent excessive exposure.
Real-time tracking of allocated capital across all positions with automatic enforcement of maximum allocation thresholds.
Continuous monitoring of position exposure with alerts and automatic controls to prevent concentration risk.
Comprehensive logging of all system activities, decisions, and trades with full traceability for compliance and analysis.
Tests covering critical paths, integration scenarios, and edge cases to ensure system reliability and correctness.
Critical safety mechanisms that prevent unintended trading activity and provide immediate system shutdown capabilities.
Multi-layered risk evaluation and validation to ensure all trades meet quality and safety standards.
Comprehensive observability and audit trail for complete transparency and accountability.
Rigorous testing and validation to ensure system reliability and correctness across all scenarios.
Real-time observability and performance metrics for production-grade trading operations
Streamlit dashboard providing live system metrics, trade history, and performance analytics for operational visibility.
Continuous monitoring of all active positions with live price updates, P&L calculations, and exit strategy evaluation.
Automatic detection and processing of market resolutions with settlement reconciliation and P&L finalization.
Modular design supporting multiple markets, concurrent operations, and extensible agent framework for future enhancements.
Complete execution history with timestamps, decisions, and outcomes for audit and analysis.
AI model token consumption tracking with cost optimization and usage analytics.
Real-time bankroll monitoring with allocation tracking across all active positions and risk exposure.
Comprehensive profit and loss tracking with position-level and portfolio-level performance metrics.
Get started with GOOSE in minutes with our comprehensive setup guide and production-ready configuration
Configure your development environment with required dependencies and API credentials.
Fund your trading wallet for live market operations with proper capital allocation.
Initialize the database with performance indexes for optimal query execution.
Comprehensive guides and references for deployment and operation.
# Create virtual environment
python -m venv venv
# Activate virtual environment
source venv/bin/activate # Linux/Mac
# or
venv\Scripts\activate # Windows
# Install dependencies
pip install -r requirements.txt
# Run the system
python main.py Start with DRY_RUN mode enabled to test the system without executing real trades.
# .env settings
# Safety Controls
DRY_RUN=true
MANUAL_CONFIRMATION=true
# Spending Limits
DAILY_LIMIT=3,000,000.00
TRADE_MAX_PERCENT=5.0
# Capital Management
MAX_ALLOCATION_PERCENT=80.0
MIN_RESERVE_PERCENT=20.0 Configure safety parameters to match your risk tolerance and trading strategy.
Production-ready system with comprehensive safety controls