├── .gitignore ├── LICENSE ├── README.md ├── demo-predicting-stock-prices.ipynb ├── project.py ├── requirements.txt ├── static ├── figure01-history-price.png ├── figure02-train-validation-split.png ├── figure03-actual-vs-predicted.png ├── figure04-actual-vs-predicted-zoom.png └── figure05-predict-the-unseen.png └── step_by_step_code_blocks ├── add_configs.py ├── define_lstm_model.py ├── get_market_data.py ├── install_dependencies.py ├── model_eval.py ├── model_eval_zoomed_in.py ├── model_training.py ├── normalize_input_data.py ├── predict_future_prices.py ├── pytorch_dataloader.py └── split_train_validate.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/README.md -------------------------------------------------------------------------------- /demo-predicting-stock-prices.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/demo-predicting-stock-prices.ipynb -------------------------------------------------------------------------------- /project.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/project.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | numpy 2 | torch 3 | alpha_vantage 4 | matplotlib -------------------------------------------------------------------------------- /static/figure01-history-price.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/static/figure01-history-price.png -------------------------------------------------------------------------------- /static/figure02-train-validation-split.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/static/figure02-train-validation-split.png -------------------------------------------------------------------------------- /static/figure03-actual-vs-predicted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/static/figure03-actual-vs-predicted.png -------------------------------------------------------------------------------- /static/figure04-actual-vs-predicted-zoom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/static/figure04-actual-vs-predicted-zoom.png -------------------------------------------------------------------------------- /static/figure05-predict-the-unseen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/static/figure05-predict-the-unseen.png -------------------------------------------------------------------------------- /step_by_step_code_blocks/add_configs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/step_by_step_code_blocks/add_configs.py -------------------------------------------------------------------------------- /step_by_step_code_blocks/define_lstm_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/step_by_step_code_blocks/define_lstm_model.py -------------------------------------------------------------------------------- /step_by_step_code_blocks/get_market_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/step_by_step_code_blocks/get_market_data.py -------------------------------------------------------------------------------- /step_by_step_code_blocks/install_dependencies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/step_by_step_code_blocks/install_dependencies.py -------------------------------------------------------------------------------- /step_by_step_code_blocks/model_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/step_by_step_code_blocks/model_eval.py -------------------------------------------------------------------------------- /step_by_step_code_blocks/model_eval_zoomed_in.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/step_by_step_code_blocks/model_eval_zoomed_in.py -------------------------------------------------------------------------------- /step_by_step_code_blocks/model_training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/step_by_step_code_blocks/model_training.py -------------------------------------------------------------------------------- /step_by_step_code_blocks/normalize_input_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/step_by_step_code_blocks/normalize_input_data.py -------------------------------------------------------------------------------- /step_by_step_code_blocks/predict_future_prices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/step_by_step_code_blocks/predict_future_prices.py -------------------------------------------------------------------------------- /step_by_step_code_blocks/pytorch_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/step_by_step_code_blocks/pytorch_dataloader.py -------------------------------------------------------------------------------- /step_by_step_code_blocks/split_train_validate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jinglescode/time-series-forecasting-pytorch/HEAD/step_by_step_code_blocks/split_train_validate.py --------------------------------------------------------------------------------