// STRATEGY & TECHNOLOGY

How Treemoondus Works

A plain-English breakdown of the institutional math powering our market making engine — and why it works where speed-based strategies fail.

// THE EDGE

We Don't Predict. We Provide Liquidity.

Most retail traders try to guess which way markets will go. We take the other approach — we sit in the middle and collect the spread from both sides.

Step 1: Find the Right Markets

Not all prediction markets are worth trading. We filter for markets where retail traders — not institutional quants — are the primary participants.

Our scanner looks for: volume between $2K-$150K (too small for hedge funds), prices between 10¢-90¢ (maximum uncertainty = maximum spread opportunity), and bid-ask spreads wider than 4¢ (enough room to profit after fees).

// MARKET SCANNER OUTPUT

FED CUT JUNE
volume: $102.6K ✓
spread: 6¢ ✓
price: 34¢ ✓
vpin: 0.000 ✓
→ SELECTED FOR MARKET MAKING

BTC $4M MAR17
volume: $107.6K ✓
spread: 4¢ ✓
price: 30¢ ✓
vpin: 0.123 ⚠
→ MONITORING, SPREAD WIDENED

Step 2: Avellaneda-Stoikov Quoting

Once we select a market, we place two orders simultaneously: one to buy YES at a low price, and one to sell YES at a higher price. The gap between them is our profit.

The Avellaneda-Stoikov framework (used by institutional market makers since 2008) calculates exactly where to set these prices based on our current inventory, market volatility, and time remaining to resolution.

// AVELLANEDA-STOIKOV ENGINE

market: FED CUT JUNE
mid_price: 34¢
inventory: 0 (neutral)
variance: 0.0012
time_left: 24 days

reservation_price =
34¢ - (0 × 0.5 × 0.0012 × 24)
= 34¢

→ BUY at 29¢ (place order)
→ SELL at 34¢ (place order)
→ SPREAD = 5¢ per contract

Step 3: VPIN Toxicity Shield

The biggest risk for market makers is "adverse selection" — when someone with inside information trades against us before we can react.

VPIN (Volume-synchronized Probability of Informed Trading) measures the imbalance between buy and sell orders. When it spikes, informed traders are present. We automatically widen spreads or cancel orders entirely, protecting your capital.

// VPIN MONITOR — REAL TIME

VPIN = 0.12 → NORMAL
spreads: standard
orders: active

VPIN = 0.51 → ELEVATED ⚠
spreads: +50% wider
position size: -50%

VPIN = 0.78 → TOXIC 🛑
ALL ORDERS CANCELLED
cooldown: 10 minutes
telegram: alert sent
// THE MATH

The Formulas Behind the Bot

For the quant-curious. Plain English explanations of the institutional mathematics powering our engine.

Avellaneda-Stoikov Reservation Price

r = mid_price − (inventory × γ × σ² × T)

What it means: When we hold too much inventory on one side, we skew our prices to attract the other side. If we hold lots of YES contracts, we lower our YES ask price slightly to sell them faster, while keeping our bid lower too. This prevents dangerous one-sided positions from building up.

Optimal Spread Formula

δ = γσ²(T) + (2/γ) × ln(1 + γ/κ)

What it means: Two sources of profit in one formula. The first term compensates us for the risk of holding inventory. The second term is pure liquidity provision profit — the spread we earn just for being there to trade against. Wider spreads = more profit per trade but fewer fills. We tune γ to find the sweet spot.

Kelly Criterion Position Sizing

f* = (p × b − q) / b × (1 − CV_edge) × 0.25

What it means: We never bet a fixed dollar amount. Kelly tells us the mathematically optimal fraction of bankroll for each trade given our estimated edge. We then apply a 75% haircut (fractional Kelly) to account for uncertainty in our own estimates. This maximizes long-run growth while preventing ruin.

// FAQ

Frequently Asked Questions

Everything you need to know before getting started.

What is prediction market making?
Instead of betting on outcomes, we act as a liquidity provider — placing buy and sell orders simultaneously and collecting the spread between them. When a buyer and a seller both trade against our quotes, we profit from the difference regardless of the actual outcome. It's the same business model as stock market makers like Citadel and Virtu, applied to prediction markets.
Why don't the big trading firms do this on Kalshi?
They do — on the large, high-volume markets. But institutional firms need to deploy millions of dollars to justify their overhead. A market with $50,000 total volume is too small for them to bother with. That's exactly where we focus: the "sweet spot" markets that are too small for hedge funds but large enough to generate meaningful returns for retail traders.
How much capital do I need?
We recommend starting with $500-$1,000 for your first month in live trading. This lets you validate the strategy with real money while limiting downside. Once you're comfortable and seeing consistent results, scaling to $5,000-$10,000 produces more meaningful returns. Our Kelly Criterion sizing automatically adjusts position sizes based on your bankroll.
What platform does this work on?
Currently we're building for Kalshi — a CFTC-regulated prediction market exchange that is 100% legal for US traders. Kalshi has a proper API that allows automated trading, which is essential for our system. We're also monitoring Robinhood's prediction market API as it matures.
What are the realistic returns?
Our paper trading system is currently showing +$114/day on $1,000 in paper capital. Live trading returns will differ due to real fills, fees, and market conditions. Conservative realistic expectation for live trading with $1,000 capital: $10-50/day in the first month as you learn the system. With $10,000 capital and a tuned strategy: $100-300/day is achievable. These are not guarantees — prediction market trading involves real financial risk.
Do I need to monitor it constantly?
No. The system runs autonomously 24/7 on a cloud server. The VPIN kill switch handles emergency situations automatically. You'll receive Telegram alerts for important events (fills, stop losses, daily summaries) so you can stay informed without watching a screen. Most users check in once a day.
Is this legal in the United States?
Yes. Kalshi is regulated by the CFTC (Commodity Futures Trading Commission) and is fully legal for US traders. Automated trading on Kalshi via their API is explicitly permitted under their terms of service. We are not affiliated with Kalshi — we are an independent software tool that connects to their API.