- ago
I want to do the following.

Enter a trade with buy/short buttons in my strategy window.
Modify the price in Interactive Brokers API to ensure fill.
Have the trade managed by the trailing stop/exit algo in my strategy.

Why. I can't sit and watch the screen all day. I have great entries but, then I need the trailing stop/exit algo to manage the position. I'm leaving a lot of money on the table when I need to close and head of to work.

My strategy today will enter the position and then enter the trailing stop/exit algo automatically. This is working great, but I don't always get filled.

Also I need to make sure the position in my Interactive Brokers account is properly sync'd- if I have 5 futures contracts, then I need to make sure the trailing stop/exit algo is managing 5 futures contracts.

This must be possible - right? I believe see it working sometimes, but I don't think I always see the right number of contracts.

Also I may add/subtract to the position on a directional change.
0
184
6 Replies

Reply

Bookmark

Sort
Cone8
 ( 4.34% )
- ago
#1
Preferences (F12) > Trading > Portfolio Sync >
☑ Always set Exit Order Quantity...
☑ Use Live Positions.

While you're there, hit F1 and read the doc to check the notes for compatibility with your strategy.
0
ww58
- ago
#2
Cone, since Live Positions isn't compatible with portfolio trading, is it a good idea to use Multiple position management instead?
0
Cone8
 ( 4.34% )
- ago
#3
Re: isn't compatible with portfolio trading
You can trade a portfolio with "ULP" enabled as long as, generally, the strategy doesn't need to manage more than 1 position at a time for a symbol. That's a large majority (80%?) of the strategy types out there.

In short, you need ULP for the strategy to recognize a position before it hypothetically fills one.
Multiple positions is definitely not compatible with ULP.
0
- ago
#4
Thanks. I'm trading futures on 5min bars with 1 position long/shortat a time. The $10 to $20 per point moves are enough for me at this point.
0
- ago
#5
Has anyone seen this message before?

399: Order Message: BUY 5 MNQ JUN'25 Warning: Your order was repriced so as not to cross a related resting order.: N/A

I think it may be related to an existing limit order I have. When the trailing stop algo kicks in it flattens the account and gives me that warning.

I'll try not having an existing limit order placed manually and see if the algo kicks in.
0
Cone8
 ( 4.34% )
- ago
#6
It's a broker message, direct from IB for a conflicting set of orders.
0

Reply

Bookmark

Sort