All Projects → xingyu-fu → Stock-Selection-a-Framework

xingyu-fu / Stock-Selection-a-Framework

Licence: other
This project demonstrates how to apply machine learning algorithms to distinguish "good" stocks from the "bad" stocks.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Stock-Selection-a-Framework

Alpha vantage
A python wrapper for Alpha Vantage API for financial data.
Stars: ✭ 3,553 (+1386.61%)
Mutual labels:  stock, financial-data
akshare
AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库
Stars: ✭ 5,155 (+2056.9%)
Mutual labels:  stock, financial-data
Stock Selection A Framework
This project demonstrates how to apply machine learning algorithms to distinguish "good" stocks from the "bad" stocks.
Stars: ✭ 198 (-17.15%)
Mutual labels:  stock, financial-data
IEX CPP API
Unofficial C++ Lib for the IEXtrading API
Stars: ✭ 34 (-85.77%)
Mutual labels:  stock, financial-data
Akshare
AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库
Stars: ✭ 4,334 (+1713.39%)
Mutual labels:  stock, financial-data
Tidyquant
Bringing financial analysis to the tidyverse
Stars: ✭ 635 (+165.69%)
Mutual labels:  stock, financial-data
Stocksera
Web application that provides alternative data to retail investors
Stars: ✭ 426 (+78.24%)
Mutual labels:  stock, financial-data
pystockfilter
Financial technical and fundamental analysis indicator library for pystockdb.
Stars: ✭ 26 (-89.12%)
Mutual labels:  stock
TradingView-Machine-Learning-GUI
Let Python optimize the best stop loss and take profits for your TradingView strategy.
Stars: ✭ 396 (+65.69%)
Mutual labels:  stock
sales-management-system
Sales management system
Stars: ✭ 25 (-89.54%)
Mutual labels:  stock
exemplary-ml-pipeline
Exemplary, annotated machine learning pipeline for any tabular data problem.
Stars: ✭ 23 (-90.38%)
Mutual labels:  feature-selection
stock-forecast
Simple stock & cryptocurrency price forecasting console application, using PHP Machine Learning library (https://github.com/php-ai/php-ml)
Stars: ✭ 76 (-68.2%)
Mutual labels:  stock
alpha-vantage-cookbook
JavaScript examples to help you with accessing market data from https://www.alphavantage.co/
Stars: ✭ 97 (-59.41%)
Mutual labels:  financial-data
funcat
Using very simple code to compute indicator of stock\crytocurrency. For example, MA(C, 5) means average closed-price for last 5 days.
Stars: ✭ 19 (-92.05%)
Mutual labels:  stock
twse-captcha-solver-dl4j
A deeplearning based captcha solver for http://bsr.twse.com.tw/bshtm/
Stars: ✭ 29 (-87.87%)
Mutual labels:  stock
wallstreet
Stock Quotes and Charts for the Terminal
Stars: ✭ 75 (-68.62%)
Mutual labels:  stock
TextFeatureSelection
Python library for feature selection for text features. It has filter method, genetic algorithm and TextFeatureSelectionEnsemble for improving text classification models. Helps improve your machine learning models
Stars: ✭ 42 (-82.43%)
Mutual labels:  feature-selection
dominance-analysis
This package can be used for dominance analysis or Shapley Value Regression for finding relative importance of predictors on given dataset. This library can be used for key driver analysis or marginal resource allocation models.
Stars: ✭ 111 (-53.56%)
Mutual labels:  feature-selection
2019-feature-selection
Research project
Stars: ✭ 26 (-89.12%)
Mutual labels:  feature-selection
NVTabular
NVTabular is a feature engineering and preprocessing library for tabular data designed to quickly and easily manipulate terabyte scale datasets used to train deep learning based recommender systems.
Stars: ✭ 797 (+233.47%)
Mutual labels:  feature-selection

A Machine Learning Framework for Stock Selection

Introduction

This project demonstrates how to apply machine learning algorithms to distinguish "good" stocks from the "bad" stocks. To this end, we construct 244 technical and fundamental features to characterize each stock, and label stocks according to their ranking with respect to the return-volatility ratio. Algorithms ranging from traditional statistical learning methods to recently popular deep learning method, e.g. Logistic Regression (LR), Random Forest (RF), Deep Neural Network (DNN), and Stacking Ensemble model, are trained to solve the classification task. Genetic Algorithm is also used to implement features selection. The effectiveness of the stock selection strategy is validated in Chinese stock market from both statistical and practical aspects, showing that:

  • Stacking outperforms other models reaching an AUC score of 0.972;
  • Genetic Algorithm picks a subset of 114 features and the prediction performances of all models remain almost unchanged after the selection procedure, which suggests some features are indeed redundant;
  • LR and DNN are radical models; RF is risk-neutral model; Stacking is somewhere between DNN and RF.
  • The portfolios constructed by our models outperform market in back tests.

About

  • For details, you can have the research paper at:http://arxiv.org/abs/1806.01743.
  • Currently, we do not plan to reveal the whole raw dataset, while a data sample will be shared.

Contributions

Contributors:

Institutions:

  • Likelihood Lab
  • ShiningMidas Private Fund
  • Sun Yat-sen University

Set up

Python Version:

  • 3.5

Modules needed:

  • numpy
  • pandas
  • matplotlib
  • math
  • os
  • sklearn
  • tensorflow
  • keras

Contact

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].