Skip to content

A simple alpha strategy based on ML in Chinese stock market

Notifications You must be signed in to change notification settings

CUHK-SZ-quant/qtia-ML-alpha-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo Alpha Strategy Using ML

This repository is for demo and instruction purpose only.

Environment Setup

The following packages are required:

pandas
numpy
lightgbm

Data

Download daily stock data. In this demo, only price and volume information is used.

How to Run

In this demo, a GBDT on raw price and volume info is used to predict future price.

python run_lgb.py --data <path-to-downloaded-daily-price-csv>

Backtest

In this demo, transaction fee is not considered and trades are assumed to be settle on close price.

image

About

A simple alpha strategy based on ML in Chinese stock market

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages