# Swarm

Fragments a large market order into smaller pieces in order to reduce the slippage typically incurred in a single block order.

Swarm takes a given Total Size and splits the size into a number of Total Lots and executes them in parallel as fast as possible.

<figure><img src="/files/BGQk9HWeJvTdGLwv0TeN" alt=""><figcaption></figcaption></figure>

**Switches**

* **Irregular Lots** -- use to split the Total Size into random sized pieces rather than create numerous orders of the same size. This can be useful to mask detection.
* **Reduce** -- create reduce only orders


---

# 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.insilicoterminal.com/documentation/market/swarm.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.
