# Market-maker bot

Instead of traditionally LP'ing funds into a liquidity pool, on **zkLite Exchange**'s order book users can run a market maker bot. This means users are stepping into DeFi and getting yield on their funds without impermanent loss. Market making provides liquidity for **zkLite Exchange** while earning a profit from the spread. Make sure to rebalance when needed!

Anyone can run a market maker bot on zkSync Lite. The market maker bot fills the market and limit orders. Technical instructions on how to run the bot can be found in the [README in the market-maker repository](https://github.com/zklite-exchange/market-maker) on GitHub. The code can be found on [this specific GitHub page](https://github.com/zklite-exchange/market-maker).\
\
Please replace the corresponding API endpoints of ZigZag with **zkLite exchange's** API endpoint:&#x20;

* <https://api.zklite.io>
* wss\://api.zklite.io


---

# 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.zklite.io/zksync-lite/market-maker-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.
