Metadata-Version: 2.4
Name: wato
Version: 0.1.2
Summary: Build, test, and deploy prediction market trading strategies
Project-URL: Homepage, https://wato.sh
Author: Wato, Inc.
License-Expression: MIT
Keywords: bot,kalshi,paper-trading,polymarket,prediction-markets,trading
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.11
Requires-Dist: aiohttp>=3.9
Requires-Dist: cryptography>=46.0.6
Requires-Dist: httpx>=0.27
Requires-Dist: orjson>=3.9
Requires-Dist: python-socks>=2.8.1
Requires-Dist: pyyaml>=6.0
Requires-Dist: rich-click>=1.7
Requires-Dist: rich>=13.0
Requires-Dist: websockets>=12.0
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
Requires-Dist: pytest>=7.0; extra == 'dev'
Provides-Extra: kalshi
Requires-Dist: cryptography>=42.0; extra == 'kalshi'
Description-Content-Type: text/markdown

# wato

Build, test, and deploy prediction market trading strategies.

## Install

```bash
pip install wato
```

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

```bash
pip install wato[kalshi]
```

## Quick start

```python
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:

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

Run live:

```bash
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](https://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:

```python
class MyBot(MarketBot):
    version = "2.1.0"
```

## License

MIT
