Skip to content

everyonehatesLin3lis/ts_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stock Market Project

This project studies daily stock data and applies three related tasks on the same dataset:

  • exploratory data analysis
  • statistical inference
  • time-series forecasting
  • survival analysis
  • ranking

The goal is to work with historical stock prices, understand their behavior, test simple statistical claims, and then build shared models that can be applied across multiple stocks.

Project structure

Data

Raw and engineered data are stored in:

Main files:

  • stock_prices.csv
  • df_eda.csv

The downloader currently includes 10 tickers:

  • AAPL
  • MSFT
  • AMZN
  • GOOGL
  • META
  • JPM
  • JNJ
  • XOM
  • PG
  • HD

How to run

Recommended order:

  1. Run download_data.py to refresh the raw data.
  2. Run the EDA notebook and save the engineered dataset if needed.
  3. Run the hypothesis testing notebook.
  4. Run the baseline model notebook.
  5. Run the forecasting notebook.
  6. Run the survival notebook.
  7. Run the ranking notebook.

Notes

  • The modeling notebooks use one shared model across all stocks and then evaluate performance by ticker.
  • The forecasting notebook predicts next-day closing price directly.
  • The ranking notebook ranks stocks by predicted next-day price gain and compares against a simple price-momentum baseline.
  • If the ticker list changes, the notebooks should be rerun so the saved outputs and markdown stay aligned with the latest results.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors