Debugging and Expanding upon an IBKR api code - 16/02/2025 20:30 EST

Job ID: 39109951

Budget: $500 – $1,000 NZD

I have a Python script that interacts with the Interactive Brokers (IBKR) API using ib_insync to execute an options trading strategy. However, a bug needs to be fixed, and some functionality needs to be added.

Bug Fixes:
An error is thrown right before a trade is made. This needs to be debugged.

Missing Features & Enhancements:
Customizable Timeframe:
Thresholds should be configurable to any interval, not just daily bars.
The stock price reference (open/close of the interval vs. live price) should be selectable.

Trade Sizing:
Currently, the script buys a fixed number of options. It should support position sizing based on:
A percentage of the account balance
A fixed dollar amount per trade

Multi-Symbol Support:
The script should support running trades on multiple stocks simultaneously.

Real-Time Trade Tracking:
A straightforward way to monitor open and closed trades, making it easy to review execution history.

24/7 Unsupervised Operation:
Ensure stability for continuous execution without manual intervention.
Improve error handling to recover from disconnects or data issues.
Make sure the code goes into a cooldown period when not within trading hours

Optional: Backtesting Capability:
Implement a way to backtest the strategy using historical data.

Ideal Candidate:
Strong experience with ib_insync and Interactive Brokers API
Expertise in debugging and optimizing algorithmic trading scripts
Ability to implement multi-symbol support and backtesting
Knowledge of market data permissions for IBKR
If you have the skills to enhance and finalize this script, please submit a proposal outlining your experience and approach.

NDA REQUIRED
Expected timeline 7-14 days