Skip to content

v0.4.3 — Measure market overround offline

Choose a tag to compare

@JacobiusMakes JacobiusMakes released this 01 Dec 14:27
5e2b028

Measure the overround in one complete two-way or three-way market with marketHold(prices). The helper runs locally with American prices. Both marketHold([-110, -110]) and ParlayAPI.marketHold([-110, -110]) return approximately 0.047619, or 4.76%.

Install the prebuilt ESM, CommonJS and TypeScript package from the release asset.

npm install https://github.com/JacobiusMakes/parlay-api-js/releases/download/v0.4.3/parlay-api-0.4.3.tgz