{
 "sources": [
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/main/orderbook_pm_challenge/market.py",
   "quote": "        if order.side is Side.SELL:\n            tick = order.price_ticks - spread\n            side = Side.BUY\n        else:\n            tick = order.price_ticks + spread\n            side = Side.SELL"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/main/orderbook_pm_challenge/market.py",
   "quote": "edge = fill.quantity * (probability - price) if fill.side is Side.BUY else fill.quantity * (price - probability)"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/main/orderbook_pm_challenge/runner.py",
   "quote": "        spread_ticks=rng.randint(\n            variance.competitor_spread_ticks_min,\n            variance.competitor_spread_ticks_max,\n        ),"
  },
  {
   "url": "https://api.imd.fun/artifacts/41fa8829432f502a00c5302c0e2200b475c5c2e100a2a16b086aaab0ce62a395",
   "quote": "Crossing-cover base with isolated, untuned spread overrides."
  }
 ]
}