Skip to content

harrisyang611/timothy_indicator_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Indicator Project with Timothy Masters indicators

This is Timothy Master Indicator Project. It uses ML with Timoty Master's indicators to see whether those indicators help the model.

Data are downloaded from yahoo finance, indicators are created through Timothy executables. Price returns are used for modelling. SKlearn is used for a easy replication for other students. Lime and SHAP are used to determine whether the indicators work.

Slides:

./slides/2023_feb/slides.pptx

Requirements:

./req_pkg.txt for pip list Windows machine is required to run data script. ./exe/ includes the pre-compiled Timothy Masters' program, For other executables, please see Github Link

Sample Showcase

./notebook/ has some instruction on how to start on the project.

The sequence you can follow to do for the notebook showcase:

  • data_prep_instruction.ipynb Link Here This scripts allows you to download the new stock information and create all the indicators. requirement: Windows machine VS.txt file(timothy masters indicator specification) has to be present
  • data_with_shap_instruction.ipynb Link Here This notebook will build the model upon the data created from previous notebook and store the model in joblib format
  • construct_equity_plot.ipynb Link Here This notebook allows you to construct the equity profile using the data created in first step and model trained in second step.

The data is already run for OEX(S&P 500) and models are built on baseline model / CMMA_10_252, files are store in the ./notebook/testing_data/

Mode details are stated in the notebook respectively.

Scripts

./src/ for all the codes in script version.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published