{"sources": [{"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/runner.py", "quote": "config = sample_config(base, var, seed=seed)"}, {"url": "https://raw.githubusercontent.com/danrobinson/prediction-market-challenge/b244530ee2a6247b5f930830eeca9dd950da0e7e/orderbook_pm_challenge/config.py", "quote": "n_steps: int = 2_000"}, {"url": "https://api.imdnotdead.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": "edge = fill.quantity * (probability - price)"}]}