Git Product home page Git Product logo

alpha's Introduction

Data, Factor, Model and Evaluate

Attention

The LICENSE of the project is GPL3, which means No matter how you modify or use code, you need to open source it.

这个项目的证书是GPL3,意味着无论以何种方式修改或者使用代码,都需要开源。    

Do not close the source after modification. Failure to do so will result in legal liability。

请不要修改后闭源。否则将带来法律上的责任。

Data

All data must be BOD. 
For the universe, if it changes at 2014-12, then it is named as xxx-2015.
FOr the graph, if it uses the 2014-12 finacial report, then it is named as xxx-2015. 

--- Ashare_data --- 1day_data   --- pv.h5
                --- basic_data  --- stock_id.h5
                                --- trade_dates.h5
                                --- zz800.h5
                                --- zz1800.h5
                --- factor_data --- alphas_101_alpha_001.h5
                                --- alphas_101_alpha_002.h5
                --- graph_data  --- adjacent_matrix_2015.h5
                                --- adjacent_matrix_2016.h5      

Factor

Now we only include pv factor, which is published in alpha 101.

Model

Recurrent Model:
- LSTM
- GRU
- Transformer

Graph Model
- LSTM_GCN
- TGC
- HATS
- THGNN

Evaluate

- eval.py:            Basic Metrics for Finacial Prediction 
- backtest.py:        Backtest for Model Signal
- plot.py:            Plotting

Credits

  • Xiang Sheng (https://github.com/xiangsheng1325)
  • Zhikang Xu (https://github.com/DVINSION)

alpha's People

Contributors

charliescc avatar dvinsion avatar xiangsheng1325 avatar

Stargazers

 avatar  avatar Miquel Muñoz García-Ramos avatar Sebastian Liu avatar Zixuan Song avatar  avatar  avatar  avatar Web Developer Yuting avatar Hacker Pie avatar Naija Oh avatar Han avatar Isabelle Hua avatar Guanle Shi avatar Cheng Xi avatar Hugo_Liu avatar  avatar Tianyuan Zhou avatar Jingye Zhao avatar GuaiYoui avatar Peishan Jiang avatar  avatar  avatar  avatar  avatar  avatar  avatar SHIT ==> GOLD avatar 调参术师 avatar 织信 avatar Z.X. Deng avatar Da Zoe ⏲️ avatar Corilo Skr avatar The Adventists avatar Alex avatar Wang Bowei avatar Jia Chen avatar 魔鬼·珺 avatar Hailong Gong avatar Seungho Lee avatar 草莓味の純牛奶 avatar ℳÅℕⅈ℺ avatar Geoffrey Manner avatar 卡美罗伊 avatar データ画家 avatar Ruben An avatar Peng Mingqiang avatar Marcela avatar 360° Vulnerability avatar Courtney Mashiro avatar 愤怒的码农 avatar Alan Dang avatar P.S. I Love You avatar Simon, Bit Sailor avatar Cai Lumu avatar Haowen Lu avatar Jake Palmer avatar Daniel Gao avatar Mei Lina avatar Leon Jia avatar Bart's Lab avatar Hull Qin avatar Kei avatar Sanghoon Kang avatar Lorenzo Dickinson avatar Tinna Zhang avatar 0x2290 avatar joie de vivre avatar Yunan Tamago avatar Basic Style avatar SVN Lover avatar Daqi Guo avatar 无溯·曾 avatar Seojin Park avatar かわいいは正義! avatar Fatima Al-Qassim avatar 尾丸ポルカ avatar Cecilia Wong avatar Alfonso Gomez avatar 志摩紫光 avatar 王凸思瑞仏 avatar Monye Babatunde avatar  avatar BinCheng avatar Wu Hao avatar  avatar Li Zhongtian avatar  avatar pcxu avatar

Watchers

 avatar  avatar 无溯·曾 avatar Hailong Gong avatar かわいいは正義! avatar 0x2290 avatar Daqi Guo avatar Seungho Lee avatar Mei Lina avatar Cai Lumu avatar runs the challenges avatar Simon, Bit Sailor avatar

alpha's Issues

Training with future data?

code
data = self.factor_data[:, idx: idx + self.look_back_window, :]

shouldn't be date = self.trade_dates.iloc[idx+self.look_back_window]

instead of
date = self.trade_dates.iloc[idx]?

Is the training window set with future data?

有关数据的问题

你好,我想了解下您这边是否能提供您训练的数据,便于我们复现及实验使用

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.