okhp3-outcome-modeling-markets
OverKill Hill P³ · overkillhill.com · github.com/OKHP3
Compare an independently constructed probability with a market price while preserving uncertainty, resolution rules, liquidity, and cost. This adapter adds the market layer to the outcome-modeling core. It is research and decision support, not an execution workflow.
Scope
| In scope |
Out of scope |
| Event probability and market-price comparison |
Trade or bet execution |
| Resolution, liquidity, spread, and expected value |
Invented current market data |
| Calibration, scenario analysis, and paper backtesting |
Guaranteed edge or profit claims |
Required intake
Record:
- exact contract question and mutually exclusive outcomes;
- resolution authority, rule, date, and ambiguity risk;
- market venue, price format, bid/ask spread, and liquidity;
- observation timestamp and data freshness;
- independent model target, horizon, and evidence;
- fees, slippage, capital, exposure, and loss constraints;
- whether the task is research, paper trading, or an explicitly authorized execution workflow.
If the resolution rule is unclear, stop at a comparison and label the result unresolved.
Workflow
- Load
okhp3-outcome-modeling-core and define the event target and as-of time.
- Build an independent probability from domain evidence, base rates, and time-aware features.
- Preserve the market-implied probability separately from the model probability.
- Normalize price formats and remove bookmaker margin when relevant.
- Compare probability, price, spread, liquidity, fees, and resolution risk.
- Quantify expected value and uncertainty rather than reporting raw directional confidence.
- Backtest only with historical information available at each historical timestamp.
- Report sensitivity to model error, market movement, liquidity, and resolution ambiguity.
Validation gates
Before any paper conclusion, verify the contract wording, resolution authority, observed-at timestamp, price format, costs, and liquidity assumptions. If any resolution rule remains ambiguous, return an unresolved research result.
Output contract
contract | venue | resolution | observed_at
model_probability | market_probability | uncertainty
price or bid/ask | spread | liquidity | fees
expected_value | scenario range | key risks
decision: research, pass, paper test, or requires explicit execution approval
Do not treat a model-market difference as a trade recommendation automatically. A small edge can disappear through uncertainty, spread, fees, slippage, or ambiguous resolution.
Computational payload
Read references/computational-model.md for binary price, edge, all-in cost,
expected value, and break-even formulas. Read references/glossary.md before
using market abbreviations. Reproduce the synthetic comparison with
scripts/calculate-market-comparison.py examples/market-example.json. The
helper is local, deterministic, read-only, and does not execute trades.
Safety boundary
This skill must not request private keys, place orders, cancel orders, or imply guaranteed returns. If the user asks for execution, route to an explicitly authorized trading workflow and require confirmation of the exact contract, side, price, amount, and risk.
References
references/computational-model.md -- market equations and example.
references/glossary.md -- market terms and abbreviations.
examples/market-example.json -- synthetic contract fixture.
scripts/calculate-market-comparison.py -- dependency-free comparison helper.
../okhp3-outcome-modeling-core/SKILL.md -- shared outcome and validation contract.
About
Built by Jamie Hill · OverKill Hill P³
Published at github.com/OKHP3
Part of the OKHP3/skillz Agent Skill library.
MIT License -- free to use, fork, and adapt. A nod to the source is appreciated.
1---2name: okhp3-outcome-modeling-markets3description: Compare independent probabilities with prediction-market prices and evaluate expected value, calibration, liquidity, spread, and resolution risk. Use when analyzing event contracts, odds, edge, paper backtests, or risk-adjusted position sizing. Load `okhp3-outcome-modeling-core` first; this skill does not place or manage trades.4license: MIT5---67# okhp3-outcome-modeling-markets89**OverKill Hill P³** · [overkillhill.com](https://overkillhill.com) · [github.com/OKHP3](https://github.com/OKHP3)1011Compare an independently constructed probability with a market price while preserving uncertainty, resolution rules, liquidity, and cost. This adapter adds the market layer to the outcome-modeling core. It is research and decision support, not an execution workflow.1213---1415## Scope1617| In scope | Out of scope |18|----------|-------------|19| Event probability and market-price comparison | Trade or bet execution |20| Resolution, liquidity, spread, and expected value | Invented current market data |21| Calibration, scenario analysis, and paper backtesting | Guaranteed edge or profit claims |2223---2425## Required intake2627Record:2829- exact contract question and mutually exclusive outcomes;30- resolution authority, rule, date, and ambiguity risk;31- market venue, price format, bid/ask spread, and liquidity;32- observation timestamp and data freshness;33- independent model target, horizon, and evidence;34- fees, slippage, capital, exposure, and loss constraints;35- whether the task is research, paper trading, or an explicitly authorized execution workflow.3637If the resolution rule is unclear, stop at a comparison and label the result unresolved.3839## Workflow40411. Load `okhp3-outcome-modeling-core` and define the event target and as-of time.422. Build an independent probability from domain evidence, base rates, and time-aware features.433. Preserve the market-implied probability separately from the model probability.444. Normalize price formats and remove bookmaker margin when relevant.455. Compare probability, price, spread, liquidity, fees, and resolution risk.466. Quantify expected value and uncertainty rather than reporting raw directional confidence.477. Backtest only with historical information available at each historical timestamp.488. Report sensitivity to model error, market movement, liquidity, and resolution ambiguity.4950## Validation gates5152Before any paper conclusion, verify the contract wording, resolution authority, observed-at timestamp, price format, costs, and liquidity assumptions. If any resolution rule remains ambiguous, return an unresolved research result.5354## Output contract5556```text57contract | venue | resolution | observed_at58model_probability | market_probability | uncertainty59price or bid/ask | spread | liquidity | fees60expected_value | scenario range | key risks61decision: research, pass, paper test, or requires explicit execution approval62```6364Do not treat a model-market difference as a trade recommendation automatically. A small edge can disappear through uncertainty, spread, fees, slippage, or ambiguous resolution.6566## Computational payload6768Read `references/computational-model.md` for binary price, edge, all-in cost,69expected value, and break-even formulas. Read `references/glossary.md` before70using market abbreviations. Reproduce the synthetic comparison with71`scripts/calculate-market-comparison.py examples/market-example.json`. The72helper is local, deterministic, read-only, and does not execute trades.7374## Safety boundary7576This skill must not request private keys, place orders, cancel orders, or imply guaranteed returns. If the user asks for execution, route to an explicitly authorized trading workflow and require confirmation of the exact contract, side, price, amount, and risk.7778## References7980- `references/computational-model.md` -- market equations and example.81- `references/glossary.md` -- market terms and abbreviations.82- `examples/market-example.json` -- synthetic contract fixture.83- `scripts/calculate-market-comparison.py` -- dependency-free comparison helper.84- `../okhp3-outcome-modeling-core/SKILL.md` -- shared outcome and validation contract.8586## About8788Built by [Jamie Hill](https://overkillhill.com) · [OverKill Hill P³](https://overkillhill.com)89Published at [github.com/OKHP3](https://github.com/OKHP3)90Part of the [OKHP3/skillz](https://github.com/OKHP3/skillz) Agent Skill library.91MIT License -- free to use, fork, and adapt. A nod to the source is appreciated.