mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-04 16:32:10 +00:00
* add first iteration of content for Terminal Pro * Update index.md * Update dashboards.md * Update folders.md * Update grouping.md * Update report.md * Update templates.md * Update quick-start.md * Update index.md * Update index.md * Update home.md * Update news.md * Update index.md * Update index.md * Update index.md * Update data-provider.md * Update chat-with-widget.md * Update data-manipulation.md * Update forecasting.md * fix: images self closing tags * fix: only pro visitors can see pro * inter font * improve SEO content and restructuring * add new package for toggle on tutorials * move folder around * improve main page of each prod * small updates and improvements * fix logo above * small improvement in headtitle for portfolio funcs * fix typos from OpenAI's GPT-4 * fix _category_ json * remove generic SEO words * add script that generates SEO for documentation * add missing file * remove sdk warning message * fix links for andrew --------- Co-authored-by: jose-donato <zmcdonato@gmail.com> Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com> Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
47 lines
1.7 KiB
Markdown
Vendored
47 lines
1.7 KiB
Markdown
Vendored
---
|
|
title: stoch
|
|
description: Learn about the Stochastic Oscillator, a measurement tool in trading
|
|
ranges. Discover the meaning of overbought and oversold conditions and how to interpret
|
|
the signals from Fast %D and Slow %D. Understand how to use parameters like n_fastkperiod,
|
|
n_slowdperiod, and n_slowkperiod for moving averages.
|
|
keywords:
|
|
- Stochastic Oscillator
|
|
- overbought condition
|
|
- oversold condition
|
|
- Fast %D
|
|
- Slow %D
|
|
- buy signal
|
|
- sell signal
|
|
- Raw %K
|
|
- moving average
|
|
- n_fastkperiod
|
|
- n_slowdperiod
|
|
- n_slowkperiod
|
|
---
|
|
|
|
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
|
|
|
|
<HeadTitle title="crypto/ta/stoch - Reference | OpenBB Terminal Docs" />
|
|
|
|
The Stochastic Oscillator measures where the close is in relation to the recent trading range. The values range from zero to 100. %D values over 75 indicate an overbought condition; values under 25 indicate an oversold condition. When the Fast %D crosses above the Slow %D, it is a buy signal; when it crosses below, it is a sell signal. The Raw %K is generally considered too erratic to use for crossover signals.
|
|
|
|
### Usage
|
|
|
|
```python
|
|
stoch [-k N_FASTKPERIOD] [-d N_SLOWDPERIOD] [--slowkperiod N_SLOWKPERIOD]
|
|
```
|
|
|
|
---
|
|
|
|
## Parameters
|
|
|
|
| Name | Description | Default | Optional | Choices |
|
|
| ---- | ----------- | ------- | -------- | ------- |
|
|
| n_fastkperiod | The time period of the fastk moving average | 14 | True | range(1, 100) |
|
|
| n_slowdperiod | The time period of the slowd moving average | 3 | True | range(1, 100) |
|
|
| n_slowkperiod | The time period of the slowk moving average | 3 | True | range(1, 100) |
|
|
|
|

|
|
|
|
---
|