RL-Bitcoin-trading-bot icon indicating copy to clipboard operation
RL-Bitcoin-trading-bot copied to clipboard

Indicators

Open johnnynunez opened this issue 4 years ago • 1 comments

I have one question. Shouldn't the indicators be for more days? I mean if you get 1h candles and the RSI is calculated with 14 days, shouldn't it be 24 x 14 = 336 margin rows? Because I understand that the library takes the days as rows of the data frame, as if the rows were days.

johnnynunez avatar May 14 '21 00:05 johnnynunez

As far as I know, RSI is calculateb by 14 previous candles. In 1h timeframe, last 14 hourly candles are used. It's worth noting that the value of 14 is a default parameter, but can be adjusted to accommodate different analysis preferences or trading strategies.

kianfa avatar Mar 27 '24 10:03 kianfa