Skip to main content
The simplest possible strategy. Quotes a fixed fair value with a fixed spread on paper.

Full Code

How It Works

  1. fair_value returns a constant 0.50, a 50/50 coin flip market
  2. quoter receives the fair value and creates quotes:
  • Bid: 0.50 - 0.03 = 0.47
  • Ask: 0.50 + 0.03 = 0.53
  • Size: 5 contracts
  1. Each cycle, the paper exchange matches orders against the mid price
  2. When fills occur, positions are tracked and P&L is calculated

Run It

Extending

Add inventory skew to lean quotes away from your position:
Add a feed for dynamic fair value: