Skip to main content

Official Python SDK for the MarketMaster prediction-market data API (Kalshi, Polymarket, and more).

Project description

marketmaster (Python SDK)

Official Python SDK for the MarketMaster prediction-market data API. Zero dependencies.

Install

pip install marketmaster

Quickstart

from marketmaster import MarketMaster

mm = MarketMaster(api_key="mmk_live_...")

edges = mm.edges(platform="kalshi", min_edge=5, limit=10)["edges"]
arbs  = mm.arbitrage(min_spread=2)["opportunities"]
whale = mm.whales(min=10000)["trades"]
one   = mm.market("kalshi", "PRES-2028-DEM")
me    = mm.status()

Methods

edges(**kw), markets(**kw), market(source, id), arbitrage(**kw), whales(**kw), status() — see https://marketmaster.live/developers for params & fields.

Errors raise MarketMasterError with .status, .code, .retry_after.

Get a key at https://marketmaster.live/dashboard

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

marketmaster-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

marketmaster-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file marketmaster-0.1.0.tar.gz.

File metadata

  • Download URL: marketmaster-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for marketmaster-0.1.0.tar.gz
Algorithm Hash digest
SHA256 58f8938cec7d7da77e30267b8017448669897f14709cf8b80b525b305831d657
MD5 a8fdf1c9ff3b9417f0cc651a4b5b5385
BLAKE2b-256 cd5f7ecdaa4d0c8e00e5638a81607e82a709fdff240b4810ed209651c5706342

See more details on using hashes here.

File details

Details for the file marketmaster-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: marketmaster-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for marketmaster-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45e73413eb34be5d35b9c71583b4a89035b03cc0314cf7563f3a5fdc55d76aff
MD5 8cf9e4d4e8c137a953a738f092c4ae58
BLAKE2b-256 b6cd340a698c034b6c5966d0faa2cb40bbe7bfbb0396e2651f3252650907f338

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page