> 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/functions/sum.md).

# sum()

sum() adds up the values in a list — for example, the total volume of several order book levels.

The Sum function in Origami Tech adds multiple numeric values, ideal for portfolio aggregation, position sizing, and performance metrics.
