Giter Site home page Giter Site logo

akquant's Introduction

AKQuant 量化投资教程

AKQuant

AKQuant 是一个开源的量化投资教程项目,主要讲述 PyBroker 量化投资框架的使用和相关案例介绍!

通过访问 利用 PyBroker 进行量化投资 进行阅读!

贡献代码

欢迎在本项目贡献代码,贡献代码的方式有两种:

  1. 在 GitHub 上提交 Pull Request
  2. 在 GitHub 上提交 Issues

详情参考:https://akquant.akfamily.xyz/latest/contributing/

更新进度

  1. 目前 PyBroker 的最新版本为:v1.1.33
  2. 本文档支持使用 Python 最新版本编辑

akquant's People

Contributors

albertandking avatar

Stargazers

 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

akquant's Issues

建议能影响pybroker升级pandas

akshare提示
D:\miniconda3\envs\quant\Lib\site-packages\akshare_init_.py:2609: UserWarning: 为了支持更多特性,请将 Pandas 升级到 2.1.0 及以上版本!

而pybroker需要<2的pandas版本
lib-pybroker 1.1.29 requires pandas<2,>=1.5.1

直接使用新版的pandas,pybroker会报错,比如:
File "D:\miniconda3\envs\quant\Lib\site-packages\pybroker\strategy.py", line 1060, in backtest
return self.walkforward(
^^^^^^^^^^^^^^^^^
File "D:\miniconda3\envs\quant\Lib\site-packages\pybroker\strategy.py", line 1211, in walkforward
self._run_walkforward(
File "D:\miniconda3\envs\quant\Lib\site-packages\pybroker\strategy.py", line 1282, in _run_walkforward
for train_idx, test_idx in self.walkforward_split(
File "D:\miniconda3\envs\quant\Lib\site-packages\pybroker\strategy.py", line 648, in walkforward_split
window_dates.sort()
^^^^^^^^^^^^^^^^^
AttributeError: 'DatetimeArray' object has no attribute 'sort'

建议能影响pybroker升级pandas依赖版本

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.