Coder Social home page Coder Social logo

easyquant's Introduction

Introduction(Continuously Updating~)

本项目是一个量化策略集合,对常用的策略进行建模回测。主要使用的工具有backtrader和akshare。backtrader用于建立回测模型,akshare则是获得开源的公开数据。下面是所使用工具的简单介绍:

Backtrader

Backtrader是一个基于Python的自动化回溯测试框架,作者是德国人 Daniel Rodriguez,是一个易懂、易上手的量化投资框架。

文档:https://www.backtrader.com/docu/

AKShare

AKShare 是基于 Python 的财经数据接口库,目的是实现对股票、期货、期权、基金、外汇、债券、指数、加密货币等金融产品的基本面数据、实时和历史行情数据、衍生数据从数据采集、数据清洗到数据落地的一套工具,主要用于学术研究目的。

文档:https://akshare.akfamily.xyz/

项目架构

  • 基本策略集合:BasicStrategy
  • backtrader学习教程: btExamples
  • backtrader整合akshare输入流库:common

如何部署

建议安装conda虚拟环境,在虚拟环境中按照官方教程安装backtrader和akshare即可运行~

Reference

Future Work

  • Alphalens教程
  • 强化学习于量化交易的应用

https://github.com/QuantWorld2022/backtrader

easyquant's People

Contributors

tomachen513 avatar

Stargazers

怪兽饲养员Y avatar

Watchers

 avatar  avatar

Forkers

webclinic017

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.