Machine Learning, Forecasting, Trading, Forex Trading, Predictive Analytics.
df_previsoes.iloc[:, 0:simulacoes+1].mean(axis=1) df_previsoes['Open'] = media df_previsoes['data'] = Y.index df_previsoes.set_index('data', inplace = True) This code is making future price forecasts based on the daily returns simulations generated previously. First we initialize a forecast array