Description • Installation • Usage • Contributing • License
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.
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.
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.
If you've found a problem, you can open 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.
Big thanks to the great people on Discord. You know who you are.
GNU General Public License v3.0
GitHub @pattertj