Giter VIP home page Giter VIP logo

alphas's People

Contributors

kifile avatar popbo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

alphas's Issues

rank问题

hello作者你好,这里面的因子大量的使用了rank没有带天数的函数,如果一次性计算是否用了未来函数?
难道每天更新吗?还是说我计算方式有问题

滚动窗口问题

我数学不太好,但是不是有很多因子的计算是从给定的起始日期开始滚动计算的?比如计算2020-06-01的因子值,按alphas.py的默认截取日期是从2019-01-01开始滚动计算,如果我改成从2019-06-01开始计算,是不是因子的值就有变化了?甚至起始时间可以无限往前延伸,只要有数据?

sma or ts_sum?

image
感谢作者的分享,关于Alpha032这里是不是应该用ts_sum

因子计算和分析

你好,我想问一下因子计算和分析的过程中是否需要过滤掉ST股票和涨跌停股票

复权问题

我想用后复权数据训练模型,但是你用的Akshare接口下载的东财数据,其中成交额是按不复权股价计算的,所以因子计算中平均成交价也是不复权的,即使开收高低都是后复权。由于东财的后复权算法是闭源的,我无法将成交额从不复权修正成后复权,这应该会影响因子模型。我尝试了Akshare的新浪端口,新浪的复权算法是开源的(算法与东财不同),但新浪端口历史数据不含成交额,所以平均成交价直接求不出来了。请问您有什么建议吗?谢谢!

mode(days_diffs).mode[0]报错

alphalens.utils - > get_clean_factor_and_forward_returns -> compute_forward_returns 的 mode(days_diffs).mode[0]一直报错。
检查了很多遍输入的数据格式factor和price都是复合规范的,不知道问题出在哪。

请问作者你这边遇到过类似的情况么?

drop level is high

after following guide, download data, calculate alpha101, run research(don't change code), get error:
Dropped 48.2% entries from factor data: 48.2% in forward returns computation and 0.0% in binning phase (set max_loss=0 to see potentially suppressed Exceptions).

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.