In this paper, we propose a hybrid machine learning system based on Genetic Algor ithm (GA) and Support Vector Machines (SVM) for stock market prediction. A variety of indicators from the technical analysis field of study are used as input features. We also make use of the correlation between stock prices of different companies to forecast the price of a stock, making use of technical indicators of highly correlated stocks, not only the stock to be predicted. The genetic algorithm is used to select the set of most informative input features from among all the technical indicators.** We evaluate Bovespa Index prediction models with Modular Neural Network (News Feed Sentiment Analysis) and ElasticNet Regression ^{1,2,3,4} and conclude that the Bovespa Index stock is predictable in the short/long term. **

**According to price forecasts for (n+16 weeks) period: The dominant strategy among neural network is to Sell Bovespa Index stock.**

**Bovespa Index, Bovespa Index, stock forecast, machine learning based prediction, risk rating, buy-sell behaviour, stock analysis, target price analysis, options and futures.**

*Keywords:*## Key Points

- What are buy sell or hold recommendations?
- How can neural networks improve predictions?
- Decision Making

## Bovespa Index Target Price Prediction Modeling Methodology

Prediction of stocks is complicated by the dynamic, complex, and chaotic environment of the stock market. Many studies predict stock price movements using deep learning models. Although the attention mechanism has gained popularity recently in neural machine translation, little focus has been devoted to attention-based deep learning models for stock prediction. We consider Bovespa Index Stock Decision Process with ElasticNet Regression where A is the set of discrete actions of Bovespa Index stock holders, F is the set of discrete states, P : S × F × S → R is the transition probability distribution, R : S × F → R is the reaction function, and Î³ ∈ [0, 1] is a move factor for expectation.^{1,2,3,4}

F(ElasticNet Regression)

^{5,6,7}= $\begin{array}{cccc}{p}_{\mathrm{a}1}& {p}_{\mathrm{a}2}& \dots & {p}_{1n}\\ & \vdots \\ {p}_{j1}& {p}_{j2}& \dots & {p}_{jn}\\ & \vdots \\ {p}_{k1}& {p}_{k2}& \dots & {p}_{kn}\\ & \vdots \\ {p}_{n1}& {p}_{n2}& \dots & {p}_{nn}\end{array}$ X R(Modular Neural Network (News Feed Sentiment Analysis)) X S(n):→ (n+16 weeks) $\sum _{i=1}^{n}\left({s}_{i}\right)$

n:Time series to forecast

p:Price signals of Bovespa Index stock

j:Nash equilibria

k:Dominated move

a:Best response for target price

How do AC Investment Research machine learning (predictive) algorithms actually work?

## Bovespa Index Stock Forecast (Buy or Sell) for (n+16 weeks)

**Sample Set:**Neural Network

**Stock/Index:**Bovespa Index Bovespa Index

**Time series to forecast n: 20 Sep 2022**for (n+16 weeks)

**According to price forecasts for (n+16 weeks) period: The dominant strategy among neural network is to Sell Bovespa Index stock.**

**X axis: *Likelihood%** (The higher the percentage value, the more likely the event will occur.)

**Y axis: *Potential Impact%** (The higher the percentage value, the more likely the price will deviate.)

**Z axis (Yellow to Green): *Technical Analysis%**

## Conclusions

Bovespa Index assigned short-term Ba1 & long-term Ba3 forecasted stock rating.** We evaluate the prediction models Modular Neural Network (News Feed Sentiment Analysis) with ElasticNet Regression ^{1,2,3,4} and conclude that the Bovespa Index stock is predictable in the short/long term.**

**According to price forecasts for (n+16 weeks) period: The dominant strategy among neural network is to Sell Bovespa Index stock.**

### Financial State Forecast for Bovespa Index Stock Options & Futures

Rating | Short-Term | Long-Term Senior |
---|---|---|

Outlook* | Ba1 | Ba3 |

Operational Risk | 81 | 62 |

Market Risk | 57 | 37 |

Technical Analysis | 62 | 75 |

Fundamental Analysis | 61 | 72 |

Risk Unsystematic | 90 | 66 |

### Prediction Confidence Score

## References

- Athey S, Tibshirani J, Wager S. 2016b. Generalized random forests. arXiv:1610.01271 [stat.ME]
- Bessler, D. A. R. A. Babula, (1987), "Forecasting wheat exports: Do exchange rates matter?" Journal of Business and Economic Statistics, 5, 397–406.
- Bastani H, Bayati M. 2015. Online decision-making with high-dimensional covariates. Work. Pap., Univ. Penn./ Stanford Grad. School Bus., Philadelphia/Stanford, CA
- Artis, M. J. W. Zhang (1990), "BVAR forecasts for the G-7," International Journal of Forecasting, 6, 349–362.
- Canova, F. B. E. Hansen (1995), "Are seasonal patterns constant over time? A test for seasonal stability," Journal of Business and Economic Statistics, 13, 237–252.
- Bottou L. 1998. Online learning and stochastic approximations. In On-Line Learning in Neural Networks, ed. D Saad, pp. 9–42. New York: ACM
- Angrist JD, Pischke JS. 2008. Mostly Harmless Econometrics: An Empiricist's Companion. Princeton, NJ: Princeton Univ. Press

## Frequently Asked Questions

Q: What is the prediction methodology for Bovespa Index stock?A: Bovespa Index stock prediction methodology: We evaluate the prediction models Modular Neural Network (News Feed Sentiment Analysis) and ElasticNet Regression

Q: Is Bovespa Index stock a buy or sell?

A: The dominant strategy among neural network is to Sell Bovespa Index Stock.

Q: Is Bovespa Index stock a good investment?

A: The consensus rating for Bovespa Index is Sell and assigned short-term Ba1 & long-term Ba3 forecasted stock rating.

Q: What is the consensus rating of Bovespa Index stock?

A: The consensus rating for Bovespa Index is Sell.

Q: What is the prediction period for Bovespa Index stock?

A: The prediction period for Bovespa Index is (n+16 weeks)