> 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/reference/grid-language/shortcuts/counter.md).

# counter

The counter shortcut resolves to the counter (quote) coin of the bot's trading pair, for example balance('counter').available.

Learn to use the Counter shortcut in Origami Tech to track iterations, loops, or sequential calculations within trading strategy logic.

## `counter`

Can be used instead of token name. Resolves to `Counter Coin` name

**Important:** shortcuts can’t be used in `update_balance_formula` inside group

<details>

<summary>Example:</summary>

`balance('counter').available`

</details>
