Quick Start Guide
This guide will help you set up OddsEngine and run your first probability calculation in just a few minutes.Prerequisites
Before you begin, ensure you have:- Docker and Docker Compose installed
- Python 3.10 or higher installed
- Git for cloning the repository
- At least 4GB of available RAM for Oracle Database
If you need detailed installation instructions for these prerequisites, see the Installation Guide.
Getting Started
Start Docker Services
Launch the Oracle Database and other required services using Docker Compose:Wait for the database to initialize (this may take 1-2 minutes on first run):Look for the message:
DATABASE IS READY TO USE!Initialize the Database
Run the database migration scripts to set up the schema:This will create the necessary tables for players, matches, and probability calculations.
Your First Probability Calculation
Now that OddsEngine is running, let’s calculate the probability of a simple bet:Fetch Match Data
In the OddsEngine interface:
- Navigate to Data Sync → Fetch Matches
- Select a date range (e.g., upcoming week)
- Choose tournament filter (ATP/WTA or both)
- Click Sync Data
View Available Matches
Go to the Matches tab to see the list of upcoming tennis matches with:
- Player names and rankings
- Tournament information
- Surface type (clay, grass, hard court)
- Historical head-to-head records
Calculate Single Match Probability
Select a match and click Analyze. OddsEngine will:
- Load player statistics (win rate, surface performance)
- Apply probabilistic models using Pandas
- Calculate the estimated probability for each outcome
- Display the results with confidence intervals
Create a Combined Bet (Parlay)
To calculate combined probabilities:
- Navigate to Parlays → New Parlay
- Add 2-5 matches to your combination
- Select your predicted outcome for each match
- Click Calculate Combined Probability
- Overall parlay success probability
- Expected value analysis
- Risk assessment
Combined probabilities assume statistical independence between matches. The system will warn you if matches involve the same players or have other dependencies.
Understanding the Results
OddsEngine provides several metrics for each calculation:- Win Probability: Statistical likelihood of the outcome (0-100%)
- Confidence Interval: Margin of error based on data quality
- Model Confidence: High/Medium/Low based on available data points
- Expected Value: Whether the bet offers positive expected value
Fallback Mode
If the API-Tennis service is unavailable or you’ve exceeded your rate limit, OddsEngine automatically switches to mock data mode:Next Steps
Explore Jupyter Notebooks
Check out
jupyter/notebooks/ for data exploration and custom analysisCustomize Models
Modify probability models in
src/main/python/models/ to fit your strategyAPI Integration
Learn how to extend the API client for additional data sources
Read Full Documentation
Visit the Installation Guide for advanced configuration
Troubleshooting
Database connection fails?- Ensure Docker containers are running:
docker-compose ps - Check logs:
docker-compose logs db - Verify credentials in
.envfile
- OddsEngine automatically switches to mock data
- Wait until next month for rate limit reset
- Consider caching more data locally
- Verify Python version:
python --version(must be 3.10+) - Check PyQt installation:
pip list | grep PyQt - Review logs in
temp/application.log