> 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/technical-analysis/stochastic-oscillator-k.md).

# Stochastic Oscillator %K

## [Stochastic Oscillator %K](/function/technical-analysis.md#stochastic-oscillator-k)

<mark style="color:red;">`stoch(`</mark>[<mark style="color:blue;">`candles`</mark>](/function/functions/candles.md)<mark style="color:red;">`: List[[`</mark>[<mark style="color:blue;">`Candle`</mark>](/function/structures.md#candle)<mark style="color:red;">`]], period: int = 14) -> List[Decimal]`</mark>
