Skip to main content

Build, test, and deploy prediction market trading strategies

Project description

wato

Build, test, and deploy prediction market trading strategies.

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"

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.1.tar.gz (142.5 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.1-py3-none-any.whl (63.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wato-0.1.1.tar.gz
  • Upload date:
  • Size: 142.5 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.1.tar.gz
Algorithm Hash digest
SHA256 036af83583783bd0a31f3b41e7639ed282d18e110c60f3dffdef290ff1934103
MD5 c9e8fd778d9cc18454fa6eae6ba1b866
BLAKE2b-256 c72a3ce9ae8e1503aaaa3112c10b0c47f9a0dd4fef82fe6cbf160cd8b92e9906

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wato-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 63.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 40734163227ff926f054f3dd0858a6c70579beba84d520e24b94cb3592a05591
MD5 ed322827748b0de319bfe677f6e09d7b
BLAKE2b-256 e59c1f17d5ac68fb80efd433e284b73bc5e39f9cd858f84422efe68f8c0e4563

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