Automated Quoting

Algorithmic Market Making & Automated Quoting

How bots quote prices, size orders and manage spreads through the Ziwlo API.

Browse markets
On this page
1. Microsecond QuotingAvellaneda-Stoikov SimulatorAutomated Polling Bot

Algorithmic Trading. 10 min read. API and live updates.

1. Algorithmic Market Making & Microsecond Quoting

Bots connect to Ziwlo's GraphQL API and live updates over WebSocket. They can place limit orders that rest in the book, like any trader.

Avellaneda-Stoikov Optimal Spread for Prediction Market Agents

δa + δb = γ σ² + (2/γ) ln(1 + γ/κ)

The optimal bid-ask spread quoted by an automated market-making agent to maximize risk-adjusted inventory growth while protecting against toxic adverse selection.

Symbols and working
δ^a, δ^b, Ask & Bid Spread Offsets
Distance of resting limit quotes from the micro-price midpoint
γ, Inventory Risk Aversion
Penalty parameter for holding non-zero directional contract exposure
σ², Event Volatility
Variance of contract price changes over the trading horizon
κ, Order Flow Intensity
Arrival frequency of market orders per unit of time
Try a quoting bot

Example numbers.

Algorithmic Market Making & Arbitrage Simulator
Sub-ms Quoting Engine
Quoted Bid-Ask Spread2.0¢ Spread
Daily Volume Matched2,500 shares
Agent Execution Latency15 ms
Daily Spread Capture+$21.25 / day
Projected Annual PnL+$7,756.25
Execution Fill Efficiency85.0%
Fee in this exampleNone
Worked Example: High-Frequency Polling Arbitrage Bot

Example numbers.

Automated Strategy Case Study

An autonomous quantitative agent monitors real-time election polling updates and maintains resting two-sided quotes on 15 concurrent political markets.

Agent Quoting Spread
2.0¢ (e.g. 49¢ bid / 51¢ ask)
Daily Filled Contracts
8,500 shares
Inventory Skew Limit
±500 shares maximum
  1. Calculate Daily Spread CaptureDaily PnL = 8,500 shares * 1.0¢ half-spread = +$85.00 / day.
  2. Project Annualized Strategy PerformanceAnnualized Strategy Yield = $85.00 * 365 = +$31,025.00 on a $5,000 working capital buffer (+620.5% APY).

Automated agents maintain deep liquidity and tight spreads, earning consistent spread income while ensuring ultra-efficient price discovery for the entire ecosystem.

Browse markets
Settlement notes

Ziwlo settles each market from the named source. Holders can dispute for 24 hours; a moderator rules.