Coder Social home page Coder Social logo

petarfinki / predicting-stock-prices-on-moscow-exchange Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 196 KB

Stock Price Prediction on the Russian market using Deep Learning models, LSTM Neural Network algorithm in python

License: MIT License

Jupyter Notebook 100.00%
deep-learning lstm-neural-networks python stock-price-prediction

predicting-stock-prices-on-moscow-exchange's Introduction

Predicting stock prices on Moscow Exchange

Project Introduction

Machine learning in finance is now considered a key aspect of several financial services and applications, including managing assets, evaluating levels of risk, calculating credit scores, and even approving loans. ML tends to be more accurate in drawing insights and making predictions when large volumes of data are fed into the system. Investors need to understand the nature of individual stocks and their dependence factors that effect to stock prices in order to increase their chances of achieving higher returns. But all these, the investors require to make effective investment decisions at the right time using an accurate and appropriate amount of information.

A stock index is a representative of a group of stocks’ prices. This index is computed from the prices of defined stocks and its change can reflect the overall performance of the stocks listed in the index. In particular, a stock index is a weighted average market value of a number of firms compared with the value on the base trading day.

In this project, I am working with Moscow Exchange stock index which tracks the performance of the 50 largest and most liquid Russian companies from 10 main economy sectors, listed on The Moscow Stock Exchange. Historically, the MOEX Russia Index reached an all time high of 4292.68 in October of 2021 and now as the sanctions hit the domestic economy, stock prices are in a free fall with banks and oil companies among the biggest losers.

I am using data from the python library yfinance, to access the financial and daily updated data available on Yahoo Finance. To predict stock prices based on this information, I was focused on building deep learning models and LSTM with the Keras library in Python.

Project Flow

  1. Data preprocessing and cleaning
  2. Data transformation
  3. Feature extraction
  4. Visualization and prediction
  5. Conclusion

Future work

Investing on the stock markets have been of interest to many investors around the world. However, making a decision is a complex task as numerous factors are involved. For successful investment, investors are keen to forecast the future situation of the stock market. Even small improvements in predictive efficiency can be very profitable. In addition to the historical prices, other information might have effect to the stock such as politics, economic growth, financial news and social media. Many studies have proven that the sentiment analysis has a high impact on future prices. Thus, a mix of technical and fundamental analyses could produce the prediction more efficient and would be interesting to be added in to the state-of-the-art ML as future works.

This was the decisive factor why I was determined to develop a project with Russian economy involved. The stock market rally reflects in part investor bets that uncertainty from the conflict will make central banks move more cautiously to raise interest rates.

References

Petar Dimitrievski 13.04.2022

predicting-stock-prices-on-moscow-exchange's People

Contributors

petarfinki avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.