> For the complete documentation index, see [llms.txt](https://docs.origami.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.origami.tech/function/optional-parameters/is-buy-first.md).

# Is Buy First

## <mark style="color:purple;">`is_buy_first`</mark> -> enum(1|0)

Determines the priority of placing orders within a single grid. 1 - buy orders are placed first. 0 - sell orders are placed first.
