GithubHelp home page GithubHelp logo

wolfinch / pyrh Goto Github PK

View Code? Open in Web Editor NEW

This project forked from robinhood-unofficial/pyrh

0.0 0.0 0.0 708 KB

Python Framework to make trades with the unofficial Robinhood API

Home Page: https://pyrh.readthedocs.io/en/latest/

License: MIT License

Python 98.04% Gherkin 0.19% Jupyter Notebook 1.77%

pyrh's Introduction

|License|


Wolfinch

Wolfinch is a trading bot implemented in Python. It supports algorithmic trading for equity market and cryptocurrency exchanges. The modularized implementation is easily extensible to support more exchanges, trading strategies and indicators. A simple UI is available out of the box to view trades and allow basic controls in operation.

Features include :

  • Auto / Manual Trading Modes
  • Multiple decision engines
  • YAML based rich configuration file support - Tons of nuts and bolts to customize
  • Out of the box UI availability
  • Pluggable Strategies
  • Pluggable Indicators
  • Pluggable Exchanges
  • Backtesting support
  • Paper trading (Simulation) mode
  • Genetic optimizer support for tuning strategies
  • Machine Learning mode - supports training and using trained models and ML decision engines
  • Positional Stop Stop Loss support, multiple smart stop strategies available
    • Fixed Percent
    • Trailing with fixed percent
    • ATR trailing stop (with variable ATR period support)
    • Strategy provided
  • Positional Take profit support
    • Fixed percent
    • Strategy provided
  • Supports trading multiple exchanges at the same time
  • Supports trading multiple trading pairs at the same time
  • Supports cross exchange, cross pair trading (Using signals and indicators on one exchange/trading-pair to make trading decision on another exchange/trading-pair)
  • Restartability (of live trading, backtesting, genetic optimizer)

Using Wolfinch

Starting the bot is fairly straight forward.

A few examples below covers most startup modes:

  • Fresh start: Wolfinch.py --config <config.yml>
  • Restart from previous state: Wolfinch.py --config <config.yml> --restart
  • Import historic data and exit: Wolfinch.py --config <config.yml> --import_only

A lot of sample config files are available in config/ directory. Those should serve as a very good starting point.

Read More here:

Introduction-to-the-friendly-trading-bot

algorithmic-trading-with-robinhood-using-wolfinch

algorithmic-trading-with-binance-using-wolfinch

Join subreddit - wolfinch

Supported Exchanges

  • Coinbase Pro
  • Binance
  • Binance US
  • Robinhood
  • gdax [deprecated]

Disclaimer:

This project is for educational purpose only. Strategies are experimental. Use them at your own risk.

Further Enhancements:

Not based on priority.

  1. more indicators
  2. more strategies
  3. improve Decision/Model
  4. more exchanges
  5. integrate news source, sentiment analysis input for decision
  6. Any feature requests

NOTE:

Read third-party Readme for dependencies

Donate:

You can donate to appreciate the countless hours spent on the development.

  • BTC : 35bYjx9Geo6gLM41nqRnZA5KpciJEfJokD
  • ETH : 0x2598eA883719a679deEf821736fa39DF0DD9F86C
  • LTC : MRfdbKHUrSxv2zKztdVyodKwSzpQNgofr8

License

GNU General Public License v3.0 or later

See LICENSE to see the full text.

pyrh's People

Contributors

adithyabsk avatar ahaggard2013 avatar anthonykrivonos avatar bdowling avatar berkeleydave avatar ciresnave avatar cjbarker avatar dan-petty avatar dsouzarc avatar grantfree035 avatar gregoberfield avatar hznut avatar jammarher avatar jamonek avatar jasonleehodges avatar jeffweng8 avatar jonathan-durbin avatar jsmwoolf avatar kevin5025 avatar lockefox avatar lordloh avatar marcejohnson avatar milancurcic avatar miserlou avatar nlernersnap avatar rememberlenny avatar rohanpai avatar swuecho avatar thevickypedia avatar vargasa 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.