Using Machine Learning Techniques to Integrate Technical and Fundamental Analysis to Identify Trading Opportunities
Using Machine Learning Techniques to Integrate Technical and Fundamental Analysis to Identify Trading Opportunities (_Report.pdf)
Longxiang Dai, longxiad@uci.edu
Yongheng Zhang, yonghenz@uci.edu
Records the cluster numbers of the time-series data based on K-means and Dynamic Time Wraping distance
Records the cluster numbers of the time-series data based on K-means and Euclidean distance
Monthly sentiment indicator of stocks generated from tweets using TextBlob
The dataset that we use for short-term prediction
The dataset that we use for long-term prediction
Since the runtime requirement for the notebook is around 1 minute, we have deleted all the clustering and training steps. The results of those steps have already generated in files or final models. However, those steps are in the html files that we submited to Canvas.
The notebook includes helpful functions to generate quarterly and daily features from SimFin and FRED datasets
Run the notebook to generate quarterly and daily and save the data into two csv files: merged quarterly data.csv, merged daily data.csv
Train models to make quarter over quarter (QOQ) predictions. To run the notebook using the sample data, you'll need to change the corresponding file path to the sample data path
Train modesl to make week over week (WOW) predictions. To run the notebook using the sample data, you'll need to change the corresponding file path to the sample data path
Train models to make one year movement predictions and apply clustering results in it. To run the notebook using the sample data, you'll need to change the corresponding file path to the sample data path