Skip to content

Latest commit

 

History

History
96 lines (54 loc) · 2.26 KB

README.md

File metadata and controls

96 lines (54 loc) · 2.26 KB

PyAlgoTrader

This is framework for alogrithmic trading. It allows you backtest you strategies and put them in live trading. This repo was forked, translated (with this tool) and modified from famous Chinese trading framework.

features

  1. Quantitative trading platform with UI

Main window

Live trading

UI backtesing

Candlestick chart

  1. Integrations with broker and exchanges:

    • Interactive brokers
    • Alpaca
    • BitMEX
    • OKEX
    • HBDM
    • Bitfinex
    • Coinbase
    • 1Token
    • Huobi
    • RPC service
  2. Strategy backtesting and live trading:

    • Classical strategies (on-bar, on-tick based): cta_strategy and cta_backtester
    • Spread trading
    • Algorithmic order execution
    • Integration with TA-lib
  3. Other features:

    • script_trader
    • csv_loader
    • risk_manager
    • data_recorder
    • high performance candlestick charts

installation

Supported python versions: 3.6+ (3.7 is a best option)

git clone https://github.com/day0market/pyalgotrader.git

  • If you want to install it as python lib in your virtualenv python setup.py install

  • If you want just play with a code or run platform (better option) pip install -r requirements.txt

run

It always good to start with examples.

pyton examplese/vn_trader/run.py

python examples/cta_backtesting/sample.py

other docs

Translation from Chinese was made by Google Translate and it's not perfect. Due to changes of original package something might not work. This will be solved in feature releases

Here you can find other docs

project donation

This project is a child of original chinese vnpy code. If you want to say thanks to his authors, please donate some coins:)

donations : alipay [email protected](* xiao excellent )
long-term maintenance of a list of donations, please indicate in the message is a project donor and the donor's name