> For the complete documentation index, see [llms.txt](https://docs.insilicoterminal.com/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.insilicoterminal.com/documentation/market/swarm.md).

# 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
