Skip to main content

Prediction market bot runtime — paper trade and live trade strategies on Polymarket & Kalshi

Project description

wato

Prediction market bot runtime. Paper trade and live trade strategies on Polymarket & Kalshi.

Install

pip install wato

For Kalshi live trading (requires cryptography for API auth):

pip install wato[kalshi]

Quick start

from wato import MarketBot, StrategyContext, RuntimeEvent

class MyBot(MarketBot):
    version = "1.0.0"

    async def on_tick(self, ctx: StrategyContext, events: list[RuntimeEvent]):
        # Your strategy logic here
        pass

Run in paper mode:

wato paper my_strategy.py --venue polymarket --markets <asset_id>

Run live:

wato live my_strategy.py --venue kalshi --markets <ticker>

CLI

wato login          # Authenticate with Wato
wato paper          # Run a strategy in paper trading mode
wato live           # Run a strategy with real orders
wato portfolio      # Run a multi-venue portfolio strategy
wato whoami         # Show current auth status

Dashboard

Bot runs are streamed to dash.watolabs.com for real-time observability including traces, orders, fills, errors, and P&L.

Configuration

Set version on your strategy class to track deployments:

class MyBot(MarketBot):
    version = "2.1.0"

Environment variables for local development:

Variable Default
WATO_DASHBOARD_URL https://dash.watolabs.com
WATO_INGEST_URL https://bots-wlh4.onrender.com

License

MIT

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

wato-0.1.0.tar.gz (142.6 kB view details)

Uploaded Source

Built Distribution

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

wato-0.1.0-py3-none-any.whl (64.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wato-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e4f87f8c90a71626e50d37ad9741603c81d8b2848cf9986739598664318468a6
MD5 f2e38ee5d5291490fcad9e4f795980ab
BLAKE2b-256 de84d05fd2cf2050cf009f9d749283ba96c267c30d2a0b0b27626de7facc4b5c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wato-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 008f49fd84763ef8c98e9564c524cdd6adeb09013d367831517c6aea6a547087
MD5 ebd1a637f757ad6fdbb7cb25da43f721
BLAKE2b-256 24e2a4b5c95f66dacd104818624e4e8647d22bbe0eefcfdc07bafc57835f72b7

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