The Bracket Order Trader for Interactive Brokers uses their TWS API to quickly create bracket orders. Having a price entry, profit target and stop loss defines your risk for each trade.
Fast order entry using the Interactive Brokers TWS Platform API.
Use Chart Trader to click candlesticks to quickly set buy stop prices from High and Low values.
Supports both stocks and options.
Automated Scale out of trade or All or Nothing bracket orders.
Connect to a Group to update symbol automatically for order entry.
**Minimum Requirements Interactive Brokers Pro Account with TWS 9.72 installed Windows 10 w/ .Net 4.7 installed
Frequently Asked Questions – Bracket Order Trader
Enable Interactive Brokers Trader Workstation Pro API for connection from the Order Entry App
Install Interactive Brokers Trader Worskstation Lastest Version from here
Login to your Interactive Brokers account. This can be configured for Live Trading, Paper Trading or both.
From the File menu open Global Configuration.
Expand API, Select the Settings section. Leave all default settings and make these changes.
Check “Enable ActiveX and Socket Clients”
Uncheck “Read-Only API”
Set “Socket Port” to 7497
Check “Allow connections from localhost only”
Click OK to save changes
Configure Order Entry App API Connection Settings
From the Tools menu open Settings.
If connecting to local host leave “Host” value at 127.0.0.1 and set “Port” to 7497. This is the default settings.
What are all of the settings in the Order Entry App?
Risk Per Trade: The dollar amount to risk on each trade. It is required to calculate the amount of shares to purchase. The default is $10.
Armed: This will immediatly transmit the order once TWS recieves the order. The default is unchecked.
Strategy: Currently only 2 strategies available which are Scale or All-Or-None (AON) and both use bracket orders. Scale uses the Scaling % to calculate how many shares to sell at 1R automatically and then sells remainder of shares at 2R. AON holds the entire position until the profit target or the stop loss is hit. The default is set to SCALE.
Scaling %: Helps calculate what percent of shares in open position will be sold at 1R. The default is 35%.
Order Type: There are 3 order types available. STOP LIMIT (STP LMT), STOP (STP), LIMIT (LMT). . For STP LMT the buy price is set for both buy range values and can be updated in TWS if needed. The default is STP LMT.
Host: The is the IP address of the computer to connect to running Interactive Brokers Trader Workstation (TWS) configured in the API configuration. This really should be left at 127.0.0.1 which is the localhost address which works with the default configuration.
Port: This is the port that was set in TWS API configuration and the default is 7497.
Client ID: This is used to identify the software being used to connect to TWS API to send orders. This allows multiple clients if needed. The default is 2.
What are all of the controls in the Order Entry screen?
Strategy:Currently only 2 strategies available which are Scale or All-Or-None (AON) and both use bracket orders. Scale uses the Scaling % to calculate how many shares to sell at 1R automatically and then sells remainder of shares at 2R. AON holds the entire position until the profit target or the stop loss is hit. The default is set to SCALE.
2R: Money Management strategy for day trading.
Symbol: Stock symbol being traded. Automatically sets symbol based on the Group selected.
Order Type: There are 3 order types available. STOP LIMIT (STP LMT), STOP (STP), LIMIT (LMT). . For STP LMT the buy price is set for both buy range values and can be updated in TWS if needed. The default is STP LMT.
Buy: Price to either go Long or Short a stock.
Stop:Price to close postion at market to mitigate losses.
Short Order:Send a Short Bracket order to the IB TWS system based on the buy, stop and risk per trade.
API Status: Displays status of connection to the TWS API.
Group: This tell the software what TWS Group to sync up with to receive stock symbols automatically.
Risk Per Trade: The dollar amount to risk on each trade. It is required to calculate the amount of shares to purchase. The default is $10.
Risk($):This is calculated ([Buy Price] – [Stop Price])
Quantity:This is calculated ([Risk per Trade] / [Risk($)])
Total:This is total dollars for trade calculated ([Buy Price] * [Quantity])
.5R: This is calculated ([Buy Price] + ([Risk($)] * .5))
1R: This is calculated ([Buy Price] + ([Risk($)] * 1))
2R: This is calculated ([Buy Price] + ([Risk($)] * 2))
Long Order:Send a Long Bracket order to the IB TWS system based on the buy, stop and risk per trade.