Skip to main content

Polymarket venue adapter for Banger.

Project description

bangertrades-adapter-polymarket

Polymarket Venue adapter for the Banger runtime.

Install

uv pip install bangertrades-adapter-polymarket

Usage

from banger.venues.polymarket import Polymarket

# Construct with defaults (reads POLYMARKET_* env vars)
poly = Polymarket()

# Or override hosts explicitly
poly = Polymarket(clob_host="https://clob.polymarket.com")

Required env (set in your deployment)

  • POLYMARKET_PRIVATE_KEY — Ethereum private key for signing CLOB orders. Never share. We never see this.
  • POLYMARKET_FUNDER — funder/proxy wallet address if applicable.

Status

v0.0.1 — Venue interface implemented as a skeleton. list_markets, subscribe_ticks, place_order, cancel_order, get_positions all stubbed. Wiring against the real CLOB API is the next milestone.

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

bangertrades_adapter_polymarket-0.1.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

File details

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

File metadata

  • Download URL: bangertrades_adapter_polymarket-0.1.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bangertrades_adapter_polymarket-0.1.0.tar.gz
Algorithm Hash digest
SHA256 403d69a882b3a8eb8e91ab48dfd914d112303d4ff5eb0848866e6bfc4796d271
MD5 03abe48aef00eb23a31b1a5f81271c53
BLAKE2b-256 944ac1e0a84bd88dbd49d734b7d972ba3956ad59c501543e0adfe76ca85e1fca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bangertrades_adapter_polymarket-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bangertrades_adapter_polymarket-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33611d04a6c78840fa250619fad87bced23da07c92bd1cecf37e7a158a4c9882
MD5 03ce7f43ad2f397cea7b8b37ef0ff0ad
BLAKE2b-256 dbdd53083653eb8048ca4c1346335935880471a2650718f7d03f51a9b078a591

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