All Projects → fxy96 → Stock Selection A Framework

fxy96 / Stock Selection A Framework

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

akshare
AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库
Stars: ✭ 5,155 (+2503.54%)
Mutual labels:  stock, financial-data
Stocksera
Web application that provides alternative data to retail investors
Stars: ✭ 426 (+115.15%)
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 (+2088.89%)
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: ✭ 239 (+20.71%)
Mutual labels:  stock, financial-data
IEX CPP API
Unofficial C++ Lib for the IEXtrading API
Stars: ✭ 34 (-82.83%)
Mutual labels:  stock, financial-data
Alpha vantage
A python wrapper for Alpha Vantage API for financial data.
Stars: ✭ 3,553 (+1694.44%)
Mutual labels:  stock, financial-data
Tidyquant
Bringing financial analysis to the tidyverse
Stars: ✭ 635 (+220.71%)
Mutual labels:  stock, financial-data
Leek Fund
📈 韭菜盒子——VSCode 里也可以看股票 & 基金实时数据,做最好用的投资插件 🐥
Stars: ✭ 2,164 (+992.93%)
Mutual labels:  stock
Xianglong
资产配置方案
Stars: ✭ 158 (-20.2%)
Mutual labels:  stock
Phisix
Simple PSEi (formerly known as PHISIX) RESTful API hosted on Google AppEngine
Stars: ✭ 128 (-35.35%)
Mutual labels:  stock
Simplestockanalysispython
Stock Analysis Tutorial in Python
Stars: ✭ 126 (-36.36%)
Mutual labels:  financial-data
Fetching Financial Data
Fetching financial data for technical & fundamental analysis and algorithmic trading from a variety of python packages and sources.
Stars: ✭ 137 (-30.81%)
Mutual labels:  financial-data
Finnhub Python
Finnhub Python API Client. Finnhub API provides institutional-grade financial data to investors, fintech startups and investment firms. We support real-time stock price, global fundamentals and alternative data. https://finnhub.io/docs/api
Stars: ✭ 161 (-18.69%)
Mutual labels:  stock
Pytse Client
work with Tehran stock exchange data in Python
Stars: ✭ 130 (-34.34%)
Mutual labels:  financial-data
Stock Chart
基于 canvas 的沪深两市股票分时 K 线图
Stars: ✭ 170 (-14.14%)
Mutual labels:  stock
Amazingquant
基于Event-driven的量化交易解决方案
Stars: ✭ 128 (-35.35%)
Mutual labels:  stock
Rhlineplot
Line plot like in Robinhood app in SwiftUI
Stars: ✭ 179 (-9.6%)
Mutual labels:  stock
Pandas Datareader
Extract data from a wide range of Internet sources into a pandas DataFrame.
Stars: ✭ 2,183 (+1002.53%)
Mutual labels:  financial-data
Web Scraping
Detailed web scraping tutorials for dummies with financial data crawlers on Reddit WallStreetBets, CME (both options and futures), US Treasury, CFTC, LME, SHFE and news data crawlers on BBC, Wall Street Journal, Al Jazeera, Reuters, Financial Times, Bloomberg, CNN, Fortune, The Economist
Stars: ✭ 153 (-22.73%)
Mutual labels:  financial-data
Bursatil Argentina Python
Guia de ejemplos didácticos en python temática finanzas bolsa trading argentina usa
Stars: ✭ 153 (-22.73%)
Mutual labels:  financial-data

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].