ThetaGang is an IBKR trading bot for collecting premiums by selling options using "The Wheel" strategy. The Wheel is a strategy that surfaced on Reddit but has been used by many in the past. This bot implements a slightly modified version of The Wheel, with my own personal tweaks. The strategy, as implemented here, does a few things differently from the one described in the post above. For one, it's intended to be used to augment a typical index-fund-based portfolio with specific asset allocations. For example, you might want to use a 60/40 portfolio with SPY (S&P500 fund) and TLT (20-year treasury fund). This strategy reduces risk, but may also limit gains from big market swings. By reducing risk, one can increase leverage. ThetaGang will try to acquire your desired allocation of each stock or ETF according to the weights you specify in the config. To acquire the positions, the script will write puts when conditions are met.

Features

  • ThetaGang switches from writing puts to writing calls at a strike at least as high as the average cost of the stock held
  • The bot is based on the ib_insync library, and uses IBC for managing the API gateway
  • Run ThetaGang with Docker
  • Stick with high volume ETFs or stocks
  • You could use this tool on individual stocks
  • ThetaGang will continue to roll any open option positions indefinitely

Project Samples

Project Activity

See All Activity >

License

GNU Free Documentation License

Follow ThetaGang

ThetaGang Web Site

Other Useful Business Software
Paessler - Monitor Your Whole Network in Minutes Icon
Paessler - Monitor Your Whole Network in Minutes

Auto-discovery finds your devices and deploys pre-configured sensors instantly. No project plan required, just visibility from day one.

Waiting weeks for a monitoring rollout isn't an option when infrastructure doesn't stop running. PRTG's auto-discovery scans your network and suggests from over 200 pre-configured sensor types, so you're watching servers, applications and devices within minutes, not after a multi-week deployment. Enterprise-strength monitoring, without the enterprise complexity. Start your free trial today.
Start Free 30-Day Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ThetaGang!

Additional Project Details

Programming Language

Python

Related Categories

Python Financial Software, Python Frameworks, Python API Gateways

Registered

2022-04-26