{
 "sources": [
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/docs/orderbook_prediction_market_challenge.md",
   "quote": "The score is participant edge, not terminal PnL."
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/docs/orderbook_prediction_market_challenge.md",
   "quote": "- same-price orders are FIFO"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/docs/orderbook_prediction_market_challenge.md",
   "quote": "- when a competitor order is fully filled, a replacement order appears at the"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/docs/orderbook_prediction_market_challenge.md",
   "quote": "- buy every resting ask with `ask_price < p_t`"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/docs/orderbook_prediction_market_challenge.md",
   "quote": "- sell into every resting bid with `bid_price > p_t`"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/docs/orderbook_prediction_market_challenge.md",
   "quote": "- sell order: sell `notional / max(p_t, p_floor)` shares"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/docs/orderbook_prediction_market_challenge.md",
   "quote": "- uncovered resting asks reserve `(1 - price) * quantity` cash"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/docs/orderbook_prediction_market_challenge.md",
   "quote": "- the participant can mint one YES and one NO for `$1`"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/process.py",
   "quote": "return 1.0 if score > config.terminal_threshold else 0.0"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/config.py",
   "quote": "jump_intensity_max: float = 0.0030"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/config.py",
   "quote": "jump_sigma_max: float = 0.60"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/config.py",
   "quote": "retail_arrival_rate_max: float = 0.352"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/config.py",
   "quote": "retail_mean_notional_max: float = 6.336"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/config.py",
   "quote": "competitor_spread_ticks_max: int = 4"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/market.py",
   "quote": "return min(candidates, key=lambda order: (order.price_ticks, order.sequence))"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/market.py",
   "quote": "tick = order.price_ticks - spread"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/engine.py",
   "quote": "steps_remaining=self._config.process.n_steps - step,"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/runner.py",
   "quote": "workers: int = 1,"
  },
  {
   "url": "https://api.imd.fun/artifacts/04e37cd4e1a420b91cd7a012f416e6ebf1002c5c56867981741a3a77c72b9c48",
   "quote": "values[i] is total_edge for seed start+i"
  }
 ]
}