johnberroa/RandomForest-StockPredictor

Data and Technical Analysis Calcs

Opened this issue · 0 comments

Where is your data.csv from? I see a lot of data that appears missing. There are spurts where the close data is the same day-after-day for weeks (see AEP and WFC).

Your SO and William R appear to be using different current close price methodologies:

SO:

for i in range(len(all_prices) - period): C = all_prices[i] H = max(all_prices[i:i + period]) L = min(all_prices[i:i + period])

William R:

for i in range(period - 1, len(all_prices) - 1): C = all_prices[i] H = max(all_prices[i - period + 1:i]) L = min(all_prices[i - period + 1:i])