├── Dockerfile ├── MANIFEST.in ├── README.rst ├── docs ├── Makefile ├── README_template.rst ├── applications.rst ├── backtest.rst ├── conf.py ├── data_loaders.rst ├── download_scripts.rst ├── features.rst ├── index.rst ├── install.rst ├── make.bat ├── models.rst ├── pipelines.rst ├── quickstart.rst └── targets.rst ├── images ├── marketcap_diff_prediction.png ├── marketcap_down_std_prediction.png └── marketcap_prediction.png ├── ml_investment ├── __init__.py ├── applications │ ├── __init__.py │ ├── fair_marketcap_diff_sf1.py │ ├── fair_marketcap_diff_sf1_v2.py │ ├── fair_marketcap_diff_yahoo.py │ ├── fair_marketcap_sf1.py │ ├── fair_marketcap_sf1_v2.py │ ├── fair_marketcap_yahoo.py │ ├── marketcap_down_std_sf1.py │ └── marketcap_down_std_yahoo.py ├── backtest │ ├── __init__.py │ └── strategy.py ├── data_loaders │ ├── __init__.py │ ├── daily_bars.py │ ├── mongo.py │ ├── news.py │ ├── quandl_commodities.py │ ├── sf1.py │ └── yahoo.py ├── download.py ├── download_scripts │ ├── __init__.py │ ├── download_commodities.py │ ├── download_daily_bars.py │ ├── download_sf1.py │ ├── download_yahoo.py │ ├── download_yahoo_v1.py │ └── download_yahoo_v2.py ├── features.py ├── metrics.py ├── models.py ├── pipelines.py ├── targets.py └── utils.py ├── requirements.txt ├── setup.py └── tests ├── data ├── df1.csv ├── df10.csv ├── df11.csv ├── df2.csv ├── df3.csv ├── df4.csv ├── df5.csv ├── df6.csv ├── df7.csv ├── df8.csv ├── df9.csv ├── expected1.csv ├── expected2.csv ├── expected3.csv ├── expected4.csv ├── expected5.csv ├── expected6.csv ├── expected7.csv ├── step_dates1.csv ├── step_dates2.csv └── step_dates3.csv ├── synthetic_data.py ├── test_applications.py ├── test_backtest.py ├── test_data_loaders.py ├── test_features.py ├── test_models.py ├── test_pipelines.py └── test_targets.py /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/Dockerfile -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include requirements.txt 2 | -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/README.rst -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/README_template.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/docs/README_template.rst -------------------------------------------------------------------------------- /docs/applications.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/docs/applications.rst -------------------------------------------------------------------------------- /docs/backtest.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/docs/backtest.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/data_loaders.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/docs/data_loaders.rst -------------------------------------------------------------------------------- /docs/download_scripts.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/docs/download_scripts.rst -------------------------------------------------------------------------------- /docs/features.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/docs/features.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/install.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/docs/install.rst -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/models.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/docs/models.rst -------------------------------------------------------------------------------- /docs/pipelines.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/docs/pipelines.rst -------------------------------------------------------------------------------- /docs/quickstart.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/docs/quickstart.rst -------------------------------------------------------------------------------- /docs/targets.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/docs/targets.rst -------------------------------------------------------------------------------- /images/marketcap_diff_prediction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/images/marketcap_diff_prediction.png -------------------------------------------------------------------------------- /images/marketcap_down_std_prediction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/images/marketcap_down_std_prediction.png -------------------------------------------------------------------------------- /images/marketcap_prediction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/images/marketcap_prediction.png -------------------------------------------------------------------------------- /ml_investment/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/__init__.py -------------------------------------------------------------------------------- /ml_investment/applications/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/applications/__init__.py -------------------------------------------------------------------------------- /ml_investment/applications/fair_marketcap_diff_sf1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/applications/fair_marketcap_diff_sf1.py -------------------------------------------------------------------------------- /ml_investment/applications/fair_marketcap_diff_sf1_v2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/applications/fair_marketcap_diff_sf1_v2.py -------------------------------------------------------------------------------- /ml_investment/applications/fair_marketcap_diff_yahoo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/applications/fair_marketcap_diff_yahoo.py -------------------------------------------------------------------------------- /ml_investment/applications/fair_marketcap_sf1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/applications/fair_marketcap_sf1.py -------------------------------------------------------------------------------- /ml_investment/applications/fair_marketcap_sf1_v2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/applications/fair_marketcap_sf1_v2.py -------------------------------------------------------------------------------- /ml_investment/applications/fair_marketcap_yahoo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/applications/fair_marketcap_yahoo.py -------------------------------------------------------------------------------- /ml_investment/applications/marketcap_down_std_sf1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/applications/marketcap_down_std_sf1.py -------------------------------------------------------------------------------- /ml_investment/applications/marketcap_down_std_yahoo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/applications/marketcap_down_std_yahoo.py -------------------------------------------------------------------------------- /ml_investment/backtest/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ml_investment/backtest/strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/backtest/strategy.py -------------------------------------------------------------------------------- /ml_investment/data_loaders/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ml_investment/data_loaders/daily_bars.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/data_loaders/daily_bars.py -------------------------------------------------------------------------------- /ml_investment/data_loaders/mongo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/data_loaders/mongo.py -------------------------------------------------------------------------------- /ml_investment/data_loaders/news.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/data_loaders/news.py -------------------------------------------------------------------------------- /ml_investment/data_loaders/quandl_commodities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/data_loaders/quandl_commodities.py -------------------------------------------------------------------------------- /ml_investment/data_loaders/sf1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/data_loaders/sf1.py -------------------------------------------------------------------------------- /ml_investment/data_loaders/yahoo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/data_loaders/yahoo.py -------------------------------------------------------------------------------- /ml_investment/download.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/download.py -------------------------------------------------------------------------------- /ml_investment/download_scripts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ml_investment/download_scripts/download_commodities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/download_scripts/download_commodities.py -------------------------------------------------------------------------------- /ml_investment/download_scripts/download_daily_bars.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/download_scripts/download_daily_bars.py -------------------------------------------------------------------------------- /ml_investment/download_scripts/download_sf1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/download_scripts/download_sf1.py -------------------------------------------------------------------------------- /ml_investment/download_scripts/download_yahoo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/download_scripts/download_yahoo.py -------------------------------------------------------------------------------- /ml_investment/download_scripts/download_yahoo_v1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/download_scripts/download_yahoo_v1.py -------------------------------------------------------------------------------- /ml_investment/download_scripts/download_yahoo_v2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/download_scripts/download_yahoo_v2.py -------------------------------------------------------------------------------- /ml_investment/features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/features.py -------------------------------------------------------------------------------- /ml_investment/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/metrics.py -------------------------------------------------------------------------------- /ml_investment/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/models.py -------------------------------------------------------------------------------- /ml_investment/pipelines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/pipelines.py -------------------------------------------------------------------------------- /ml_investment/targets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/targets.py -------------------------------------------------------------------------------- /ml_investment/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/ml_investment/utils.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/setup.py -------------------------------------------------------------------------------- /tests/data/df1.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/df1.csv -------------------------------------------------------------------------------- /tests/data/df10.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/df10.csv -------------------------------------------------------------------------------- /tests/data/df11.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/df11.csv -------------------------------------------------------------------------------- /tests/data/df2.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/df2.csv -------------------------------------------------------------------------------- /tests/data/df3.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/df3.csv -------------------------------------------------------------------------------- /tests/data/df4.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/df4.csv -------------------------------------------------------------------------------- /tests/data/df5.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/df5.csv -------------------------------------------------------------------------------- /tests/data/df6.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/df6.csv -------------------------------------------------------------------------------- /tests/data/df7.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/df7.csv -------------------------------------------------------------------------------- /tests/data/df8.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/df8.csv -------------------------------------------------------------------------------- /tests/data/df9.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/df9.csv -------------------------------------------------------------------------------- /tests/data/expected1.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/expected1.csv -------------------------------------------------------------------------------- /tests/data/expected2.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/expected2.csv -------------------------------------------------------------------------------- /tests/data/expected3.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/expected3.csv -------------------------------------------------------------------------------- /tests/data/expected4.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/expected4.csv -------------------------------------------------------------------------------- /tests/data/expected5.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/expected5.csv -------------------------------------------------------------------------------- /tests/data/expected6.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/expected6.csv -------------------------------------------------------------------------------- /tests/data/expected7.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/expected7.csv -------------------------------------------------------------------------------- /tests/data/step_dates1.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/step_dates1.csv -------------------------------------------------------------------------------- /tests/data/step_dates2.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/step_dates2.csv -------------------------------------------------------------------------------- /tests/data/step_dates3.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/data/step_dates3.csv -------------------------------------------------------------------------------- /tests/synthetic_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/synthetic_data.py -------------------------------------------------------------------------------- /tests/test_applications.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/test_applications.py -------------------------------------------------------------------------------- /tests/test_backtest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/test_backtest.py -------------------------------------------------------------------------------- /tests/test_data_loaders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/test_data_loaders.py -------------------------------------------------------------------------------- /tests/test_features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/test_features.py -------------------------------------------------------------------------------- /tests/test_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/test_models.py -------------------------------------------------------------------------------- /tests/test_pipelines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/test_pipelines.py -------------------------------------------------------------------------------- /tests/test_targets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edenhazard701/Investment-system/HEAD/tests/test_targets.py --------------------------------------------------------------------------------