List of TWS API / Interactive Brokers Issues

Add your new features and requests here.
hdo
Posts: 16
Joined: Mon Mar 04, 2024 5:35 pm
Been thanked: 1 time

List of TWS API / Interactive Brokers Issues

Post by hdo » Tue Jun 18, 2024 5:45 pm

Bookmap IB Adapter - Current Bugs and Issues

Summary:
This document details the ongoing issues and suggested improvements for the Bookmap platform's integration with Interactive Brokers (IB). The focus is on stabilizing and optimizing the system to enhance the user experience and trading reliability.

---

1. Stop Order vs. Stop Limit Order

Issue:
- Description: The system incorrectly generates a Stop order as Stop Loss instead of the configured Stop Limit order.
- Impact: During the pre-market session, Stop orders are ineffective. This results in only profit targets being executed while the stop loss fails silently, remaining active and unaddressed in the market.

Request:
- Verify and correct the order type generation to ensure Stop Limit orders are placed as configured.

---

2. Handling Multiple Fills in Bracket Orders

Issue:
- Description: Bracket orders for each partial fill of an order are created within the same OCA group.
- Impact: Only one subset of the order is protected. Subsequent partial fills remain unprotected, causing risk exposure as stop and profit targets do not apply correctly to the entire order.

Request:
- Implement unique OCA group for each bracket pair.

---

3. Stability of IB Integration

Issue:
- Description: The IB integration demonstrates instability and inconsistent behavior.
- Impact: Users experience frequent failures and unreliable operation, necessitating restarts and undermining confidence in the platform's reliability.

Request:
- Conduct a thorough review and refactor of the IB integration to enhance stability and reliability.

---

4. Flatten and Reverse Buttons During Pre-market Trading

Issue:
- Description: The Flatten and Reverse buttons currently initiate market orders, which are not permitted during pre-market trading.
- Impact: This leads to API errors when users attempt to flatten or reverse positions in pre-market sessions, limiting functionality during these periods.

Request:
- Adapt the Flatten and Reverse button functionality to utilize order types compatible with pre-market trading sessions (LMT orders with configurable offset [slippage]).

---

5. Lack of Offset Feature for Limit Orders

Issue:
- Description: There is no feature to specify an offset for buy/sell ask/bid limit orders to accommodate some level of slippage.
- Impact: This absence complicates trading in less liquid markets, as traders cannot effectively manage minor price deviations with their orders.

Request:
- Develop and implement a configurable offset feature for limit orders to allow for controlled slippage similar to most other trading software.