Merge branch 'develop' into feature/reference-generator-package-builder

This commit is contained in:
Pratyush Shukla
2024-03-12 00:38:13 +05:30
committed by GitHub
21 changed files with 1504 additions and 219 deletions

View File

@@ -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(