NadirAliOfficial
unusual-whales-to-ibkr-bot
Python

This Python bot fetches real-time options flow alerts from the [Unusual Whales Public API](https://unusualwhales.com/public-api), filters them based on your custom rules, and prepares them for automated trading through Interactive Brokers (IBKR).

Last updated Jul 1, 2026
12
Stars
3
Forks
0
Issues
0
Stars/day
Attention Score
52
Language breakdown
Python 100.0%
โ–ธ Files click to expand
README

Unusual Whales to IBKR Trading Bot

This Python bot fetches real-time options flow alerts from the Unusual Whales Public API, filters them based on your custom rules, and prepares them for automated trading through Interactive Brokers (IBKR).


โœ… Features

  • Real-time options flow data from Unusual Whales
  • Custom filters:
- Expiry โ‰ฅ 30 days - Average fill โ‰ฅ $5 - Premium โ‰ฅ $100,000
  • Easy-to-modify filtering logic
  • Modular structure ready for IBKR order execution

๐Ÿ“ฆ Requirements

  • Python 3.8+
  • requests
  • python-dotenv
  • An active Unusual Whales API key
  • IBKR TWS or IB Gateway running (for integration)
Install dependencies:
pip install -r requirements.txt

๐Ÿ” .env Setup

Create a .env file in the root directory:

<pre><code class="lang-">UNUSUALWHALESAPIKEY=yourapikeyhere</code></pre>


๐Ÿš€ Run the Bot

<pre><code class="lang-bash">python bot.py</code></pre>

The bot will scan alerts every 60 seconds, apply your filters, and print trade-ready alerts.


๐Ÿ›  To-Do (Next Steps)

  • [ ] Integrate IBKR via ib_insync`
  • [ ] Add Discord/Webhook notifications
  • [ ] Optional: Web UI to control filters
  • [ ] Docker deployment

๐Ÿ“„ License

MIT License โ€” Free for personal and commercial use.

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท NadirAliOfficial/unusual-whales-to-ibkr-bot ยท Updated daily from GitHub