> 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/structures/orderbook.md).

# Orderbook

<details>

<summary><a href="/pages/6TLh3HSmDezVNwXYXgw3#orderbook"><mark style="color:red;"><code>Orderbook</code></mark></a></summary>

<mark style="color:red;">`Orderbook.symbol [str]`</mark> returns pair for orderbook adapted for exchange (ex: <mark style="color:red;">`ETH-USDT`</mark>)

<mark style="color:red;">`Orderbook.ask [array]`</mark> array of [<mark style="color:blue;">`OrderBookUnit`</mark>](/function/structures/orderbookunit.md) sorted by price (ascending)

<mark style="color:red;">`Orderbook.bid [array]`</mark> array of [<mark style="color:blue;">`OrderBookUnit`</mark>](/function/structures/orderbookunit.md) sorted by price (descending)

</details>
