mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-25 18:53:26 +00:00
Merge branch 'develop' into feature/reference-generator-package-builder
This commit is contained in:
@@ -931,7 +931,6 @@ def donchian(
|
||||
"ichimoku_data = obb.technical.ichimoku(data=stock_data.results, conversion=9, base=26, lookahead=False)",
|
||||
],
|
||||
),
|
||||
APIEx(parameters={"data": APIEx.mock_data("timeseries")}),
|
||||
],
|
||||
)
|
||||
def ichimoku(
|
||||
@@ -973,6 +972,7 @@ def ichimoku(
|
||||
OBBject[List[Data]]
|
||||
The calculated data.
|
||||
"""
|
||||
validate_data(data, [conversion, base, lagging])
|
||||
df = basemodel_to_df(data, index=index)
|
||||
df_target = get_target_columns(df, ["high", "low", "close"])
|
||||
df_ichimoku, df_span = df_target.ta.ichimoku(
|
||||
|
||||
Reference in New Issue
Block a user