fib
Create Fibonacci Retracement Levels.
This method draws from a classic technique to pinpoint significant price levels that often indicate where the market might find support or resistance. It's a tool used to gauge potential turning points in the data by applying a mathematical approach rooted in nature's patterns. Is used to get insights into where prices could head next, based on historical movements.
Example
from openbb import obb
stock_data = obb.equity.price.historical(symbol='TSLA', start_date='2023-01-01', provider='fmp')
fib_data = obb.technical.fib(data=stock_data.results, period=120)
Parameters
- standard
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| data | List[Data] | List of data to apply the indicator to. | False | |
| index | str | Index column name, by default "date" | date | False |
| close_column | Literal['close', 'adj_close'] | close | False | |
| period | int | Period to calculate the indicator, by default 120 | 120 | False |
| start_date | str | None | True | |
| end_date | str | None | True |
Returns
OBBject
results : List[Data]
List of data with the indicator applied.