# Market Making Bot

### Overview

The Python SDK also provides a simple MM box example: <https://github.com/zetamarkets/zetamarkets-py/blob/master/examples/market\\_maker.py>

This bot provides liquidity to Zeta DEX by issuing bid and ask quotes for a given asset. It monitors mark prices from Binance, using them to inform where it should be quoting. The bot won't hedge its position elsewhere, but a good starting place is using [ccxt](https://github.com/ccxt/ccxt) to hedge on your second favourite exchange :blush:

If things are going well and you want to scale it up, reach out to us about our [Maker Rewards Program](/rewards-programs/maker-rewards-program.md)!

### Setup

* Install the Python SDK using the instructions in [Python SDK](/build-with-zeta/sdks/python-sdk.md) to run pip and set up a wallet.
* Run `python examples/market_maker.py`. Note that the following configuration options are available via extra command line arguments:
  * -n: Network, defaults to mainnet
  * -u: RPC url, defaults to solana's public RPC
  * -c, Commitment level, defaults to Confirmed
  * -a: Asset, defaults to SOL
  * -s: Lot size, defaults to 0.1
  * -e: Edge, defaults 20
  * -o: Offset, defaults to 0


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zeta.markets/build-with-zeta/sdks/python-sdk/market-making-bot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
