Akshat111111 / Hedging-of-Financial-Derivatives

This strategy works for every market condition irrespective of the movement
BSD 3-Clause "New" or "Revised" License
59 stars 85 forks source link

Enhancement of general election by using different ML method #188

Open PRIYANSHU2026 opened 1 month ago

PRIYANSHU2026 commented 1 month ago
  1. Data Collection

Gather historical data on:

Indian General Election dates and outcomes. Historical stock market data (e.g., BSE Sensex and NSE Nifty). Macroeconomic indicators (e.g., inflation, interest rates, GDP growth).

  1. Data Preprocessing

Clean the data to handle missing values and outliers. Normalize the stock market data for consistency. Label the data to identify pre-election and post-election periods.

  1. Feature Engineering

Create features representing election periods, such as days before and after the election. Incorporate macroeconomic indicators as additional features.

  1. Exploratory Data Analysis (EDA)

Visualize the historical trends using plots. Analyze the volatility and market sentiment before and after elections.

  1. Model Selection

Choose suitable ML models to predict stock market reactions:

Time Series Analysis: ARIMA, SARIMA. Regression Models: Linear Regression, LSTM for sequence prediction.

  1. Model Training

Split the data into training and testing sets. Train the chosen models on historical data. Evaluate model performance using metrics like RMSE

Bhavya060903 commented 1 month ago

This is a great issue. I would like to work on it as GSSOC contributor. Please let me work on this project and assign it to me.

PRIYANSHU2026 commented 1 month ago

I want to do

aryaVishal1706 commented 1 month ago

Hey fork , This issues is assign to anyone??

aryaVishal1706 commented 1 month ago

@Akshat111111 Thank you for assigning this project to me.

aryaVishal1706 commented 1 month ago

@Akshat111111 I found some dataset :

  1. Data Collection Gather historical data on: Indian General Election dates and outcomes. - https://www.kaggle.com/datasets/awadhi123/indian-election-dataset

Historical stock market data (e.g., BSE Sensex and NSE Nifty).  for this dataset I require the time range and have to select the NSE or any other. https://www.nseindia.com/reports-indices-historical-index-data Nifty 50 dataset of 2004 to 2020 https://www.kaggle.com/code/parulpandey/nifty-data-eda/input

Macroeconomic indicators (e.g., inflation, interest rates, GDP growth). https://data.worldbank.org/country/IN

Are there any additional details you'd like me to investigate?

PRIYANSHU2026 commented 1 month ago

finally i got 96% accuracy

aryaVishal1706 commented 1 month ago

@PRIYANSHU2026 hey is it complite ?

PRIYANSHU2026 commented 4 weeks ago

Yes bro I have already send pr

Akshat111111 commented 4 weeks ago

@Akshat111111 I found some dataset :

  1. Data Collection Gather historical data on: Indian General Election dates and outcomes. - https://www.kaggle.com/datasets/awadhi123/indian-election-dataset

Historical stock market data (e.g., BSE Sensex and NSE Nifty).  for this dataset I require the time range and have to select the NSE or any other. https://www.nseindia.com/reports-indices-historical-index-data Nifty 50 dataset of 2004 to 2020 https://www.kaggle.com/code/parulpandey/nifty-data-eda/input

Macroeconomic indicators (e.g., inflation, interest rates, GDP growth). https://data.worldbank.org/country/IN

Are there any additional details you'd like me to investigate?

Yes, these are good.Tell me your approach