{"sources": [{"url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/docs/orderbook_prediction_market_challenge.md", "quote": "- same-price orders are FIFO\n- resting orders remain until filled or cancelled"}, {"url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/runner.py", "quote": "config = sample_config(base, var, seed=seed)"}, {"url": "https://api.imd.fun/artifacts/41fa8829432f502a00c5302c0e2200b475c5c2e100a2a16b086aaab0ce62a395", "quote": "Crossing-cover base with isolated, untuned spread overrides."}, {"url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/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/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/engine.py", "quote": "            total_edge=market.stats.total_edge,\n            retail_edge=market.stats.retail_edge,\n            arb_edge=market.stats.arb_edge,"}]}