Files
OpenBB/website/content/current/platform/reference/technical/fib.md
andrewkenreich 7d095fcfd2 heheheheheheeh
2023-11-14 10:31:48 -05:00

1.2 KiB
Vendored

title, description, keywords
title description keywords
fib Learn how to create Fibonacci Retracement Levels using the openbb Python library for technical analysis. Apply the Fibonacci indicator to stock data and visualize the results.
Fibonacci Retracement Levels
Fibonacci indicator
technical analysis
stock data
Python
data visualization
open source library

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

Create Fibonacci Retracement Levels.

Parameters

data : List[Data] List of data to apply the indicator to. index : str, optional Index column name, by default "date" period : PositiveInt, optional Period to calculate the indicator, by default 120

Returns

OBBject[List[Data]] List of data with the indicator applied.

Examples

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

This function does not take standardized parameters.


Returns

This function does not return a standardized model