IBKR Commodity Arbitrage Rebalancer

Заказчик: AI | Опубликовано: 17.09.2025

I need a developer who knows the Interactive Brokers API inside out to automate portfolio rebalancing for a commodities-only sleeve that follows arbitrage opportunities. The workflow is straightforward: connect to IBKR TWS or Gateway, pull current allocations and live quotes, detect mis-pricings that fit my predefined arbitrage rules, place the offsetting legs, then update the portfolio so each commodity stays within its target weight band. The code has to be fully hands-off once running, with solid logging, position and PnL checks, and graceful error handling for disconnects or rejected orders. Python is preferred—IB-insync or the official ibapi—but I’m open to another language if you can demonstrate comparable stability. Deliverables: • Clean, well-documented source code that compiles and runs on Windows 11 • One configuration file where I can adjust target weights, minimum edge thresholds, and trade size limits • A short read-me plus step-by-step video or screenshare showing the bot live-trading in a paper account I’ll provide the exact commodity list, target weights, and arbitrage logic once we start. Looking forward to seeing your approach and past IBKR automation examples.