peerchemist/finta

RSI returned shape

Closed this issue · 2 comments

In RSI I don't thin we need [1:] in
delta = ohlc['close'].diff()[1:].
It causes the returned series to have one less row. If we just write
delta = ohlc['close'].diff() then it's the correct shape with nan in the, previously missing, first row.

Yes you are correct.

Fixed with faed2c0