Discover and explore top open-source AI tools and projects—updated daily.
ryanfrigoAutonomous AI trading for prediction markets
Top 80.0% on SourcePulse
This project provides an advanced AI-powered trading system for Kalshi prediction markets, designed for educational and research purposes. It leverages a sophisticated multi-model AI ensemble to automate trading decisions, incorporating robust risk management and portfolio optimization features, offering users a powerful tool to explore algorithmic trading strategies.
How It Works
The core approach utilizes a five-model AI ensemble, including Grok-3, Claude 3.5 Sonnet, GPT-4o, Gemini Flash 1.5, and DeepSeek R1, each assigned a specialized role (forecaster, news analyst, bull, bear, risk manager). These models engage in a "debate" to reach a consensus on trading opportunities, with trades executed only when a configurable confidence threshold is met. This multi-agent debate and consensus gating mechanism aims to enhance decision robustness. The system operates through a four-stage pipeline: data ingestion from Kalshi APIs and news feeds, AI-driven decision-making, trade execution, and performance tracking logged locally in an SQLite database.
Quick Start & Requirements
To get started, clone the repository and run python setup.py to create a virtual environment and install dependencies. Configure API keys (Kalshi, xAI, OpenRouter) in the .env file. Paper trading can be initiated with python cli.py run --paper. Prerequisites include Python 3.12+, a Kalshi account with API access, an xAI API key, and an OpenRouter API key. Links to relevant API documentation are provided.
Highlighted Details
Maintenance & Community
The project shows recent activity with active commits and a healthy number of GitHub stars and forks, indicating community interest. No specific community channels (like Discord/Slack) or notable contributors/sponsorships are detailed in the README.
Licensing & Compatibility
This project is licensed under the MIT License, which is permissive and generally compatible with commercial use and closed-source linking.
Limitations & Caveats
The software is explicitly designated for "educational and research purposes only" and carries substantial trading risk. The "Beast Mode" is strongly discouraged due to historical losses associated with its aggressive, unguarded settings. Users may need to update AI model names if the underlying providers change them. Compatibility issues with Python 3.14 may require specific environment variable settings or using Python 3.13.
6 days ago
Inactive