Description
Calculate a supplied bid/ask midpoint and spread.
Financial market terms depend on quote conventions, contract multipliers, rate units, horizons and signed positions. A price gap, intrinsic value or linear sensitivity is a limited scenario term rather than an executable price or complete valuation. Variance, volatility, fractional rates and basis points are different quantities.
Calculate a supplied bid/ask midpoint and spread.
When to use this tool
Use Market Quote Bid Ask Midpoint when checking the stated supplied market, valuation or exposure convention.
How to use the tool and how it works
- Enter bid, ask. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read midpoint, spread. Use the output convention below.
Require ask>=bid. Return bid/2+ask/2 midpoint and ask-bid spread, allowing signed quotes.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| bid | Bid | Required. Finite number. |
| ask | Ask | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| midpoint | Midpoint | Required. Finite number. |
| spread | Spread | Required. Finite number. |
{
"input": {
"bid": 99,
"ask": 101
},
"output": {
"midpoint": 100,
"spread": 2
}
} Limitations and assumptions
- No market, executable price, depth, tick convention or trading opportunity is verified.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use verified contract/market data and a complete suitable valuation and risk model with qualified financial advice for actual investment or trading decisions.
References
Similar or alternative tools
- Stale Price Unchanged Quote Duration
Measure unchanged-quote duration only when a supplied unchanged flag holds.
- Corporate Action Reference Price Gap
Measure a corporate-action price's signed gap from a supplied reference.