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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wato-0.1.2.tar.gz
  • Upload date:
  • Size: 142.4 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.2.tar.gz
Algorithm Hash digest
SHA256 b3318bbec21bfc9011a9808adcfed8e07be2926629c3f39cbbe194f04965b45a
MD5 363e5fefa1df7e7cfa07fa85218a56fe
BLAKE2b-256 6846860244ddc7dde221df85307c29e9a0e8ba8ada42bb27afb1e7af52cc8e61

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wato-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9b06af84d4d1a3e5ed3c1ca6a119aea752624c6ab39bd3286d552eb47411baa3
MD5 0dfa4e48483d09093f5de28caf2a3c78
BLAKE2b-256 95eb89622b25ed1fa3d3ddbd480acc16dc19ffdccee589de7ab21cd0ff565bbf

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