Files
OpenBB/website/versioned_docs/version-v3/sdk/reference/forecast/sto.md
Theodore Aptekarev f72bc8ccec Add Versioned Documentation (#5470)
* Adding versioning to docs

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: tehcoderer <me@tehcoderer.com>
2023-09-29 11:49:05 +02:00

830 B
Vendored

title, description
title description
sto OpenBB SDK Function

sto

Stochastic Oscillator %K and %D : A stochastic oscillator is a momentum indicator comparing a particular closing

Source Code: [link]

openbb.forecast.sto(dataset: pd.DataFrame, close_column: str = "close", high_column: str = "high", low_column: str = "low", period: int = 10)

Parameters

Name Type Description Default Optional
dataset pd.DataFrame The dataset you wish to calculate for None False
period int Span 10 True

Returns

Type Description
pd.DataFrame Dataframe with added STO K & D columns