mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-07 18:01:10 +00:00
* Adding versioning to docs --------- Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com> Co-authored-by: tehcoderer <me@tehcoderer.com>
830 B
Vendored
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 |