Calculate EV Edge
calculate_evCompute expected-value edge on prediction market contracts. Input market price and your probability estimate to get edge percentage and a clear action signal.
Instructions
Calculate the expected-value edge on a Kalshi or Polymarket prediction-market contract. Given the current market price (in cents, i.e. the implied probability) and your own probability estimate, returns the % edge and a BUY / SELL / SKIP signal with a plain-English read. Use for "is this contract mispriced", "what is my edge", "should I take this position".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| marketPrice | Yes | Current contract price in cents (1–99), equal to the implied probability in %. | |
| yourProbability | Yes | Your own estimate of the true probability the contract resolves YES, in % (0–100). |