Files
OpenBB/website/content/sdk/reference/forecast/atr.md
omahs c8bc7fe256 Fix typos (#5808)
* fix typo

* fix typos

* fix typo

* fix typos

* fix typos

* fix typos

* fix typo

---------

Co-authored-by: Luqman <luqazino@gmail.com>
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2023-11-29 12:03:33 +00:00

36 lines
849 B
Markdown
Vendored

---
title: atr
description: The page provides details on how to calculate the Average True Range
using a specific stock ticker with the help of the Python package, OpenBB.
keywords:
- Average True Range
- stock ticker
- forecast
---
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
<HeadTitle title="forecast.atr - Reference | OpenBB SDK Docs" />
Calculate the Average True Range of a variable based on a specific stock ticker.
Source Code: [[link](https://github.com/OpenBB-finance/OpenBBTerminal/tree/main/openbb_terminal/forecast/forecast_model.py#L349)]
```python
openbb.forecast.atr(dataset: pd.DataFrame, close_column: str = "close", high_column: str = "high", low_column: str = "low")
```
---
## Parameters
This function does not take any parameters.
---
## Returns
This function does not return anything
---