LoopTrader
An extensible options trading bot built on top of Python.
Install / Use
npx skills add pattertj/LoopTraderInstalls into whichever agent you are using.
README
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
<b>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.</b>
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
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.7kCommit, push, and open a PR
