Inspiration
Prediction markets are the future of truth-seeking, but today they are dominated by noise, headlines, and gut instinct. We noticed that real-world outcomes are deeply interconnected — a quarterback’s ankle injury, an unexpected weather shift, or a correlated betting line in a completely different market can all materially affect an outcome.
We wanted to build a system that doesn’t guess the future, but instead calculates it by mathematically synthesizing these correlated signals into a single, high-fidelity probability. ApolloMarkets was created to give traders the market edge needed to trade the future.
What it does
ApolloMarkets is a high-fidelity intelligence engine for the prediction economy.
- Ingests Data: Users define a Target Event (e.g. “Will the Patriots win the Super Bowl?”) along with multiple seemingly unrelated Correlated Events (player performance, weather conditions, historical precedents, etc.).
- Synthesizes Correlations: The AI analyzes semantic, probabilistic, and causal relationships between events, filtering out noise to isolate signal.
- Generates Alpha: Outputs an Apollo Predicted Probability, a Confidence Score, and an Alpha Index.
- Quantifies Value: Explicitly labels markets as Overvalued or Undervalued, showing users how far public sentiment deviates from calculated reality.
How we built it
- Frontend: Built with React and Tailwind CSS, designed with a terminal-futurism aesthetic (slate-950, indigo-600) to resemble institutional financial software. Framer Motion powers the “breathing” animations and smooth state transitions.
- Backend: The backend is a lightweight client-side proxy that communicates directly with the OpenRouter API, leveraging the DeepSeek-R1 reasoning model to synthesize correlated signals and return a high-fidelity probability prediction in real-time.
- AI Intelligence: Generative AI performs deep reasoning across disparate signals, identifying causal and probabilistic links traditional statistical models often miss.
- Data Visualization: Recharts visualizes “Synthesis Variance,” breaking down how each correlated factor influences the final prediction.
Challenges we ran into
- LLM API rate limits and credit constraints: We initially built ApolloMarkets around Google Gemini, but quickly ran into strict rate limits and insufficient free credits during development. This forced us to redo our AI layer by switching to DeepSeek R1T2 Chimera, a free, reasoning-optimized model available via OpenRouter.
- Defining “Alpha”: A raw probability wasn’t enough. We designed an Alpha Index that meaningfully compares Apollo’s predicted probability against live market odds to quantify value.
- Prompt Specificity: The AI needed to behave like a quantitative analyst, not a creative writer. We carefully tuned prompts to enforce analytical, mathematical reasoning.
Accomplishments that we're proud of
- The Design System: Glassmorphism combined with a high-contrast data terminal aesthetic creates an authoritative, premium feel.
- Zero-Hallucination Constraints: Strict validation ensures probability and confidence scores are always returned as structured, usable numbers for visualization.
What we learned
- Prediction markets aren’t always consistent: Even highly liquid markets can imply probabilities that contradict related events, creating exploitable inefficiencies.
- Context Is King: Prediction quality scales directly with the quality of correlated events provided, and the LLM's ability to understand them.
- UX Drives Trust: In financial software, visual clarity and smooth interactions are essential for users to trust the numbers.
What's next for ApolloMarkets
- Automated correlation discovery: Move from manually selected related events to an automated system that detects statistically significant correlations across markets.
- Live Polymarket Integration: Direct integration with the Polymarket API to autofill live odds, track mispricings in real time, and automatically settle markets.
- Expanded data sources: Incorporate additional prediction markets and external signals (e.g., economic indicators, polling data, news-derived signals) to strengthen probability estimates.
Built With
- deepseek
- framer
- localstorage
- node.js
- openrouter
- react
- typescript
- vite
Log in or sign up for Devpost to join the conversation.