Buy Price is different from the actual Filled Price - I would prefer it should be the same
Rename
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.
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.
It's a market order, there's slippage.
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.
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.
Is there no way to Buy it with a limit order?
Of course you can specify a Limit or other order type in C# Strategy code and in Blocks.
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.
You can't do it in blocks, but Stop-Limit orders are available too for C# Strategies.
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
It would be helpful if you could explain the behavior of Limit orders
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.
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....
When is same Bar Exits coming to Blocks
P.S. Coders get all the benefits in life....
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!
Your Response
Post
Edit Post
Login is required