Skip to content

Random forest model to predict stock prices for S&P 500 index

Notifications You must be signed in to change notification settings

UChisom/predicting_forex_market

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Forex Prediction Model

Implementation of a Random forest algorithm model to predict stock prices for the S&P 500 index.

Workflow

Here's a quick walkthrough on what to expect to do in this project:)

  1. Data Preprocessing
  • Load data using yfinance library and data cleaning techniques.
  • Create a target column for training the model
  1. Model Training
  • Create Random Forrest Regressor model with
  • Tune parameters for increased accuracy on predictions
  • Train the model using predefined training set and continiously evalute for accuracy score, f1 score, and classification reports
  1. Backtesting
  • Develop a backtesting algorithm to evaluate model performance using large historical data (10+ years)
  • Gather data from backtesting process for evaluation using the earlier mentioned metrics
  1. Model Improvement
  • Create new model parameters to improve the performace of the model
  • Create new set of predictor variables to increase reliability and accuracy
  1. Reporting
  • Report model performance and reasoning behind improvement techniques adopted

About

Random forest model to predict stock prices for S&P 500 index

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published