{
 "sources": [
  {
   "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": "- participant buys `q` at price `x`: `edge = q * (p_t - x)`"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/docs/orderbook_prediction_market_challenge.md",
   "quote": "- invalid actions raise an exception and fail the simulation"
  },
  {
   "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/orderbook_pm_challenge/config.py",
   "quote": "sell_quantity_price_floor: float = 0.05"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/market.py",
   "quote": "raise OrderBookError(f\"Unknown participant order: {order_id}\")"
  },
  {
   "url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/runner.py",
   "quote": "config = sample_config(base_config, variance, seed=seed)"
  }
 ]
}