How can ichimoku lines values ​be obtained with the pandas_ta library in Python?

Viewed 123

Anyone familiar with the pandas_ta library? I use the following code to get ichimoku values:

ichi = ta.ichimoku(df['high'], df['low'], df['close'], include_chikou=True)

Ichi type should be data frame but the output is a 2-member tuple. Does anyone know where the problem comes from?

1 Answers

The ichimoku function returns 2 dataframes. The first df with values up until the current candle and one for the forward looking part of the cloud.

Related