GithubHelp home page GithubHelp logo

anthrax3 / pyalgotrade-cn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jacksama/pyalgotrade-cn

0.0 0.0 0.0 28.3 MB

pyalgotrade tailored for Chinese stock market

License: Other

Shell 0.03% Python 99.97%

pyalgotrade-cn's Introduction

2016-09-03 更新:

  1. 合并所有本地化的模块到/cn文件夹中,方便大家使用和跟原版进行对比。
  2. pyalgotrade本体升级为0.18.
  3. 加入对tick行情结构的支持,见/stratlib/orderbook.py

Pyalgotrade-cn 在原版的基础上加入了A股历史行情回测,并整合了tushare提供实时行情。以便大家对自己的策略进行回测和模拟测试。

本次更新的内容:

  • 引入tushare实时行情
  • stratlib提供了两个经典策略(DT, Bollinger_bandit)

历史行情下载,提出需求,参加讨论,请加群:300349971

以下是原版的介绍:

PyAlgoTrade is an event driven algorithmic trading Python library. Although the initial focus was on backtesting, paper trading is now possible using:

and live trading is now possible using:

To get started with PyAlgoTrade take a look at the tutorial and the full documentation.

Main Features

  • Event driven.
  • Supports Market, Limit, Stop and StopLimit orders.
  • Supports any type of time-series data in CSV format like Yahoo! Finance, Google Finance, Quandl and NinjaTrader.
  • Xignite realtime feed.
  • Bitcoin trading support through Bitstamp.
  • Technical indicators and filters like SMA, WMA, EMA, RSI, Bollinger Bands, Hurst exponent and others.
  • Performance metrics like Sharpe ratio and drawdown analysis.
  • Handling Twitter events in realtime.
  • Event profiler.
  • TA-Lib integration.

Installation

PyAlgoTrade is developed using Python 2.7 and depends on:

You can install PyAlgoTrade using pip like this:

pip install pyalgotrade

pyalgotrade-cn's People

Contributors

chopchopjames avatar haoyong1232002 avatar

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.