- ago
Buy Price is different from the actual Filled Price - I would prefer it should be the same



0
665
Solved
10 Replies

Reply

Bookmark

Sort
Cone8
 ( 4.98% )
- ago
#1
Always remember this: Strategies execute hypothetically.

That means if you place a market order:
1. the strategy will always "fill" at the opening price of the next bar.
2. the actual fill price will be whatever the market gives you.
2
Best Answer
- ago
#2
It's a market order, there's slippage.
0
Cone8
 ( 4.98% )
- ago
#3
Make sure you're not loading too much data as it can slow down strategies to execute quickly. I noticed today that Workspaces don't save the chart data range. Instead the intraday charts are loaded with the default range you set in Preferences > Data.

Configure this setting to the smallest amount of intraday data you need for your indicators to be valid and to capture any hypothetical open trades.



0
- ago
#4
Is there no way to Buy it with a limit order?
0
- ago
#5
Of course you can specify a Limit or other order type in C# Strategy code and in Blocks.
0
Cone8
 ( 4.98% )
- ago
#6
While you'll get an "at or better" price using a Limit order, the risk is that you miss the live trade entirely.

You can't do it in blocks, but Stop-Limit orders are available too for C# Strategies.
0
- ago
#7
Will a Limit order be canceled on the next bar if the price is not met? Is it going to stay open in IB forever?

It would be helpful if you could explain the behavior of Limit orders
0
Glitch8
 ( 10.62% )
- ago
#8
If you’re auto-trading in the Strategy Monitor or in a Streaming Chart on intraday data, then the limit order will get canceled if it is not filled, unless of course your strategy issues the same limit order for the next bar.
0
- ago
#9
When is stop-limit orders coming to Blocks?

When is same Bar Exits coming to Blocks

P.S. Coders get all the benefits in life....
0
Cone8
 ( 4.98% )
- ago
#10
I don't see a feature request for either of those, but I could imagine that StopLimit orders could be supported without changing strategy code with a new Trading Preference that automatically replaces a Stop order with a StopLimit order +/- some leeway % or ticks for Auto-Stage/Place. Now someone just needs to request it and vote on it!
0

Reply

Bookmark

Sort