• Stars
    star
    111
  • Rank 312,709 (Top 7 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created over 3 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An extensible options trading bot built on top of Python.


LoopTrader
LoopTrader

An extensible options trading bot built on top of Python.

Description • Installation • Usage • Contributing • License

Description

The goal for LoopTrader is to provide a flexible engine for running one or more option trading strategies in real-time against provided broker API's. The Key Features include:

  • Simple to setup and run multiple trading bots
  • Extensibility for various brokers, trading strategies, and logging patterns
  • Local storage for trades and orders (In Progress)
  • Support for notifications and interactions through tools like Telegram

LoopTrader is very much a work in progress and is currently not feature complete. See the Issues for what remains open, or to make a suggestion.

Installation

Getting up and running with LoopTrader is just a few commands:

# Clone LoopTrader
git clone https://github.com/pattertj/LoopTrader.git

# Install dependencies
pipenv install --dev

# Setup pre-commit and pre-push hooks
pipenv run pre-commit install -t pre-commit
pipenv run pre-commit install -t pre-push

More detailed instructions on specific components can be found in the wiki.

Usage

Currently all configuration of LoopTrader is done in the code when creating the bot in main.py, the .env, and config.yaml file. A sample .env and .yaml file are provided, but should be renamed to ".env" and "config.yaml" respectively, with the configuration variables populated.

Contributing

Start contributing right now:

Open an issue

If you've found a problem, you can open an issue!

Solve an issue

If you have a solution to one of the open issues, you will need to fork the repository and submit a pull request.

Credits

Big thanks to the great people on Discord. You know who you are.

License

GNU General Public License v3.0


GitHub @pattertj