Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

carltonp

IB Trades Executing at Bid and Ask Rather Than Last Price

Recommended Posts

Hello Traders,

 

I'm using IB as my broker. For some reason, my trades were continually executed at bid/ask rather than last price. For example, I submitted a long trade to be executed at 11824. The trade was executed at 11830 at ask price, even though the last price never reached 11830.

 

Can someone please enlighten me.

 

Cheers

 

Carlton

Share this post


Link to post
Share on other sites

You might want to enlighten us first:

- what are you trading?

- what type of orders are you using?

- are you entering them directly on tws and if not do you know what was on tws?

and

- when you say the last price never reached x, the ask and your execution, what do you mean (what data are you looking at?)

Share this post


Link to post
Share on other sites

Carlton,

 

If you put a limit order at 11824, you would have been filled at 11824 or not at all.

 

You obviously used a market order. A market order will be filled at the best bid/ask at the time of the order.

 

Once your order was filled at 11830, that became the 'last print' so 11830 had to have been reached.

Share this post


Link to post
Share on other sites
You might want to enlighten us first:

- what are you trading?

- what type of orders are you using?

- are you entering them directly on tws and if not do you know what was on tws?

and

- when you say the last price never reached x, the ask and your execution, what do you mean (what data are you looking at?)

 

Gents, thanks for responding.

 

I'm trading mini dow(YM).

 

I'm placing buy-stop orders.

 

I'm entering them directly on TWS.

 

So, yesterday I placed a buy-stop order at 11824. The trade was executed at 11830. I don't have a problem with that. The problem is, the last price never reached 11830, however the ask price did. I've attached a snapshot of the exact trade as it happened yesterday. You will see that I have placed a buy stop at 11824. You will also see that the trade has executed at 11830 at the ask. However, you notice that the last price is 11826. What you won't we is that the actual last price never reached 11830. Normally, my the trades will be executed at the last price and not at bid / ask.

 

I hope this visual helps you to help me understand.

 

Thanks

YMPrice.jpg.86073b85f9d9c415b134893025ccc82d.jpg

Share this post


Link to post
Share on other sites

A stop order (not stop limit) will execute at the extreme of current range.

 

IB's data feed (not the 5 second bar version but the real time one) shows a price every 100ms. Its the last price in that 100ms and if the extreme is greater it doesn't show. So you can get filled and the price not show up. Not every price is necessarily shown.

 

If you ask IB to confirm it they can check but it will have filled at the extreme.

Share this post


Link to post
Share on other sites

another thing to check on TWS.

If submitting some orders and they are filled, the reported price they are filled at can easily be confused with the limit price sent

 

In this example below, I sent a LMT order to buy at 1.302...the actual trades were done at 1.3018 in two tranches.

 

- BOT 50K EUR EUR.USD Cash 1.302 USD IDEALPRO 15:27:29

BOT 20K EUR EUR.USD Cash 1.30180 USD IDEALPRO 15:27:29

BOT 30K EUR EUR.USD Cash 1.30180 USD IDEALPRO 15:27:29

Share this post


Link to post
Share on other sites

A buy stop limit order doesn't ensure execution, but it will ensure that you get the price you want or better.

 

What I do with my own trading interface to IB when trading the CL is, if I want in the market immediately but don't want a market order which could slip me 2-4 ticks, I go 1 tick inside the bid on a buy limit or 1 tick inside the ask on a sell limit.

 

If I am staggering buy orders ahead of where the last is in an uptrend (e.g. 20 ticks between entries), I'll put in stop limit orders when my averaged up buy-ins are closer to my initial position abd have the ones farther away with stop order triggers where the slippage isn't going to threaten my overall cost average within the trade.

 

I'll give you an example of an actual pleasant experience I have had with limit orders. I'll have my software set to trigger a limit buy (or sell if going short) on touching, say, a 20 ema on a 5 min chart. The CL can get pretty jumpy on such an event so by the time my limit buy at, for example, hits 95.50 and got executed, I found that I got filled at 95.45...5 ticks better than what I wanted and then price is suddenly at 95.55 or better, 10 ticks to the positive in the blink of an eye. Had I placed that limit order directly in the market beforehand, I would have gotten filled at 95.50.

 

You can see what's going on here. The software sees a last of 95.50, sends the limit order to the exchange. Meanwhile, the exchange sees my limit order at 95.50 while its ask is touching 95.45. I get a much better fill in this case. It helps to keep me from getting stopped out on a sudden surge into support / resistance because my stop loss order, along with a target offset from the actual limit fill price reported by the exchange, is submitted as an OCO order on the execution status info from the entry. It doesn't happen a lot, but when it does, it's usually a good thing (for a change!)

 

Over the long term, if you're executing market orders based on something like X seconds before a bar close, you'll see price favoring you many times too relative to the actual closing price of that bar. You've got a lot of programs out there waiting for the exact close of a price bar (5 min being a common one) before they react so a market order like 3 secs before the close averages out pretty well to that close. I prefer this approach to finding out the closing price first and then entering a limit order because A) you can and will get skipped over at your ideal entry point and B) you're NOT going to like your at-the-market fills if your analysis is right and that closing price was what you wanted to have all along.

Edited by steveh2009

Share this post


Link to post
Share on other sites
Gents, thanks for responding.

 

I'm trading mini dow(YM).

 

I'm placing buy-stop orders.

 

I'm entering them directly on TWS.

 

So, yesterday I placed a buy-stop order at 11824. The trade was executed at 11830. I don't have a problem with that. The problem is, the last price never reached 11830, however the ask price did. I've attached a snapshot of the exact trade as it happened yesterday. You will see that I have placed a buy stop at 11824. You will also see that the trade has executed at 11830 at the ask. However, you notice that the last price is 11826. What you won't we is that the actual last price never reached 11830. Normally, my the trades will be executed at the last price and not at bid / ask.

 

I hope this visual helps you to help me understand.

 

Thanks

 

Carlton,

 

I trade live everyday with IB, and 95% of my entries are with a buy-stop or sell-stop. So maybe I can clear a few things up.

 

First of all, I see you're trading sim, so its possible you got a goofy fill that would not have been filled in a live account.

 

A typical buy stop is a market order placed above the current bid/ask. When the price you set your order at is printed (the last price) your order is sent to the exchange as a market order and your order is filled at the ask. If the market is moving fast, there's potential for slippage.

 

I don't trade the YM but I see it has decent liquidity, so the 6 tick slippage you received is probably unusual.

 

~Mike

Share this post


Link to post
Share on other sites
Carlton,

 

I trade live everyday with IB, and 95% of my entries are with a buy-stop or sell-stop. So maybe I can clear a few things up.

 

First of all, I see you're trading sim, so its possible you got a goofy fill that would not have been filled in a live account.

 

A typical buy stop is a market order placed above the current bid/ask. When the price you set your order at is printed (the last price) your order is sent to the exchange as a market order and your order is filled at the ask. If the market is moving fast, there's potential for slippage.

 

I don't trade the YM but I see it has decent liquidity, so the 6 tick slippage you received is probably unusual.

 

~Mike

 

Hey Mike, do you work for IB? (just joking). When I called their support team they virtually said what you mentioned. However, you're explanation made it really clear for my simple brain to comprehend.

 

As you use IB and TWS, can you tell me if its possible to place a 'buy stop limit order' as suggested by SteveH?

 

Cheers

Share this post


Link to post
Share on other sites

No, I don't work for IB, but I've used them for several years. :)

 

I read steve's post but I'm not sure I completely understand his approach.

 

Typically, a limit order (for a long trade) is placed below the current price and is filled if price moves down to your limit price. But just because price prints at your limit doesn't mean your order will be filled. Limit orders are time-stamped and filled in the order they're received at the exchange. (the queue) So when price prints at your limit -- first, market orders are filled, then the limit orders are filled in order. If there are not enough sellers, price will move back up without filling all the limit orders.

 

Personally I don't like limit orders because you are guaranteed to be filled on all your losing trades, but many of your 'potential' winning trades will never be filled.

 

Back to steve....By the time his limit order reached the exchange, price had moved down giving him a better fill. Couldn't price have, just as easily, moved up leaving him behind without a fill?

 

Maybe steve could chime in.

 

~Mike

Share this post


Link to post
Share on other sites
<<<< Personally I don't like limit orders because you are guaranteed to be filled on all your losing trades, but many of your 'potential' winning trades will never be filled. >>>>

 

I've seen variations of this, including "I don't buy pullbacks, I buy breakouts" based on the same logic.

 

Someone said "Simplicity is the peak of civilization" and such ideas fall into that camp. But someone exceptionally wise said "Everything should be made as simple as possible, but not one bit simpler." And overly simplifying heuristics such as the one above fall into the "one bit too simple" category.

 

As a trader you need to evaluate each possible trade for win rate, win/loss, variability in those, and thus expectancy and profit factor and reliability. You might find that the cost of paying the sometimes very large spread outweighed the number of trades you missed. Or you might not. But unless one does the numbers one doesn't ever know.

 

 

 

 

ps. My favourite quote on simplicity is Oscar Wilde's "I adore simple pleasures. They are the last refuge of the complex."

Share this post


Link to post
Share on other sites

Kiwi,

 

Another saying... 'There's more than one way to skin a cat.'

 

If you prefer to enter trades with limit orders... great. I don't.

 

The majority of my trades are buying/selling pullbacks. You don't have use limits to trade pullbacks. And guess what... I never miss a winning trade, but by using a buy stop I avoid some losers.

 

Yes I try to keep things simple. Warren Buffett once said "trading is simple but not easy"

I completely agree.

 

~Mike

Share this post


Link to post
Share on other sites
Back to steve....By the time his limit order reached the exchange, price had moved down giving him a better fill. Couldn't price have, just as easily, moved up leaving him behind without a fill?

 

Correct. That is the tradeoff. Apparently steve has found through his experience that he will typically not pick a price such that he will be one of the last ones filled (in other words, price will typically overshoot a bit), so he can afford the chance of doing a software-triggered order this way for the chance at a better price. Depends on the market; steve said, I think, that he trades CL. I used to, and can easily see this being useful in that market. In the market I trade, it is highly liquid and virtually no reason to do something like that.

Share this post


Link to post
Share on other sites

carltonp or anyone else using IB: have you considered using a different data feed for data only, while still using IB for your order routing (I am guessing you can do this in IB?)?

 

I ask because I can't imagine doing business with a data feed that does not accurately show transactions. I personally couldn't live even with the snapshot way they show transactions; I also knew another trader (a good one) who would say that the high and low prints would sometimes not be correct due to the snapshot being off. Why would you trade with this garbage of a data feed? It's almost as bad as spot forex; no accuracy not only in the timing of the transactions shown, but many transactions not even shown period!?

 

So you can get filled at a price that does not show on your chart as having printed... I know a trader who uses IB who this has happened to quite often... so what about IB makes you stay with them?

Share this post


Link to post
Share on other sites
carltonp or anyone else using IB: have you considered using a different data feed for data only, while still using IB for your order routing (I am guessing you can do this in IB?)?

 

I ask because I can't imagine doing business with a data feed that does not accurately show transactions. I personally couldn't live even with the snapshot way they show transactions; I also knew another trader (a good one) who would say that the high and low prints would sometimes not be correct due to the snapshot being off. Why would you trade with this garbage of a data feed? It's almost as bad as spot forex; no accuracy not only in the timing of the transactions shown, but many transactions not even shown period!?

 

So you can get filled at a price that does not show on your chart as having printed... I know a trader who uses IB who this has happened to quite often... so what about IB makes you stay with them?

 

IB is my primary broker and I use TWS to execute trades and have charts running IB data alongside another data feed. For me the test of reliability on executions is, am I getting the price I see on the screen? IOW, if I hit the bid or ask, do I get filled? Invariably the answer is yes. I'm on the ES most of the time, however, and the levels tend to be thick.

Share this post


Link to post
Share on other sites
IB is my primary broker and I use TWS to execute trades and have charts running IB data alongside another data feed. For me the test of reliability on executions is, am I getting the price I see on the screen? IOW, if I hit the bid or ask, do I get filled? Invariably the answer is yes. I'm on the ES most of the time, however, and the levels tend to be thick.

 

Maybe I'm spoiled because I have a good broker, but seems to me that this should be pretty much the minimum requirement and only major requirement for any broker, namely, you should get filled at the proper price on a market order. Since you're running another data feed which is reliable, I get this. But some people use IB for data and execution, and given the truly terrible quality of their data, I can't imagine trying to trade with it alone, unless it's a long term swing trader who doesn't care about a few ticks missing from the chart here and there, and who doesn't look at the immediate order flow.

Share this post


Link to post
Share on other sites
Maybe I'm spoiled because I have a good broker, but seems to me that this should be pretty much the minimum requirement and only major requirement for any broker, namely, you should get filled at the proper price on a market order. Since you're running another data feed which is reliable, I get this. But some people use IB for data and execution, and given the truly terrible quality of their data, I can't imagine trying to trade with it alone, unless it's a long term swing trader who doesn't care about a few ticks missing from the chart here and there, and who doesn't look at the immediate order flow.

 

I find IB data to be very reliable and have no problems monitoring on charts fed by IB data. I trade stock indexes intraday and the fastest chart I monitor is YM 2m. I have used many data feeds over the years and cost is not an issue for me when it comes to getting quality data. My current monitoring setup with 2 data feeds is a result of years of simplifying what I do. At one time I was subscribed to 4 data providers and running 3 different charting packages concurrently on 3 computers and another charting package for EOD that I had to use with Qcollector. None of the data feeds was IB.

 

For how I trade, only a minimum requirement is necessary and getting a "better" data feed doesn't add to my bottom line. Reliability is the key for me and IB has proved to be very reliable over the years, so much so that I found the costly feeds redundant. I've also simplified my charting down to just one provider running on one computer with APC backup. My current cost for data and charts is under $100 per month.

Share this post


Link to post
Share on other sites
carltonp or anyone else using IB: have you considered using a different data feed for data only, while still using IB for your order routing (I am guessing you can do this in IB?)?

 

I ask because I can't imagine doing business with a data feed that does not accurately show transactions. I personally couldn't live even with the snapshot way they show transactions; I also knew another trader (a good one) who would say that the high and low prints would sometimes not be correct due to the snapshot being off. Why would you trade with this garbage of a data feed? It's almost as bad as spot forex; no accuracy not only in the timing of the transactions shown, but many transactions not even shown period!?

 

So you can get filled at a price that does not show on your chart as having printed... I know a trader who uses IB who this has happened to quite often... so what about IB makes you stay with them?

 

joshdance,

 

I think the trader you know may be exaggerating a bit.

 

IB does bundle their data. (I think 20 times a second). But all that means is, if there are transactions with no price movement, they may not show up as tick data. So, for example, If you compare a 100 tick chart with unfiltered data next to a 100 tick chart with IB data, the unfiltered chart will have more candles, BUT time and price will be the same. If you compare 5 minute charts they will be exactly the same.

 

I use ensign for my charting with a TraderBytes data feed, but I also have an IB chart up when trading. (I like the 'drag and drop' feature on IB charts for adjusting stops and limits). I have never seen a price print that didn't show up on the IB chart. I'm not saying it can't happen but I haven't seen it.

 

~Mike

Share this post


Link to post
Share on other sites

Actually, Josh's trader was 100% correct.

 

With IB's live feed as you use it with ensign the highs and lows of bars and swings can and surprisingly often do miss the extreme ticks.

 

I tried to get IB to fix this a few years back and they came halfway to the party with a 5 second feed (OHLCVT bars at the end of each 5 second period) that is correct but is also 0 to 5 seconds delayed.

 

With Sierra Chart the two feeds can be combined so that the live feed controls the current price, bid and ask and that the 5 second feed is used to fill in any lost highs and lows. So you get a feed that never lags and is correct. But the software needs to take both feeds and combine them or this won't happen.

 

 

Note: if you are using an ib tws chart to show prices then they use the 5 second feed which is why the data is correct. Feed it into ensign and you'll see a different story.

 

Note 2: on ib charts, drop down to 1minute on something that moves reasonably fast like hsi and watch it. They combine the true and live feeds but their algorithm is slightly screwed. Whereas Sierra Chart correctly combines them and if you get a high or low on a bar it's right IB sometimes shortens a bar soon after the new bar starts (realizes the combination is wrong when new true data comes in) - which should never happen.

Edited by Kiwi

Share this post


Link to post
Share on other sites

I don't use IB's data feed for my charts, but since IB's data appears to be correct on IB charts I assumed their data feed was not that bad. Apparently I'm wrong.

 

I'll take Kiwi's word that there are still major problems with IB's data feed.

 

Kiwi, who's data feed do you use?

Share this post


Link to post
Share on other sites
Actually, Josh's trader was 100% correct.

 

With IB's live feed as you use it with ensign the highs and lows of bars and swings can and surprisingly often do miss the extreme ticks.

 

I tried to get IB to fix this a few years back and they came halfway to the party with a 5 second feed (OHLCVT bars at the end of each 5 second period) that is correct but is also 0 to 5 seconds delayed.

 

With Sierra Chart the two feeds can be combined so that the live feed controls the current price, bid and ask and that the 5 second feed is used to fill in any lost highs and lows. So you get a feed that never lags and is correct. But the software needs to take both feeds and combine them or this won't happen.

 

 

Note: if you are using an ib tws chart to show prices then they use the 5 second feed which is why the data is correct. Feed it into ensign and you'll see a different story.

 

Note 2: on ib charts, drop down to 1minute on something that moves reasonably fast like hsi and watch it. They combine the true and live feeds but their algorithm is slightly screwed. Whereas Sierra Chart correctly combines them and if you get a high or low on a bar it's right IB sometimes shortens a bar soon after the new bar starts (realizes the combination is wrong when new true data comes in) - which should never happen.

 

I am on Ensign and it is true that IB's feed will produce slightly different charts especially in fast markets. I always have another feed side by side and have been comparing IB's feed for years.

 

An example was this morning's spike on 6:56 YM 2m, 7:00 YM 5m bar (bar end, PST). The initial IB chart did not show as deep a spike. A manual refresh updated it.

 

Whether it makes a difference in a person's trading, that's for each person to judge for himself. For me it doesn't make a difference, but then I'm not watching every tick either.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Topics

  • Posts

    • Date: 22nd November 2024.   BTC flirts with $100K, Stocks higher, Eurozone PMI signals recession risk.   Asia & European Sessions:   Geopolitical risks are back in the spotlight on fears of escalation in the Ukraine-Russia after Russia reportedly used a new ICBM to retaliate against Ukraine’s use of US and UK made missiles to attack inside Russia. The markets continue to assess the election results as President-elect Trump fills in his cabinet choices, with the key Treasury Secretary spot still open. The Fed’s rate path continues to be debated with a -25 bp December cut seen as 50-50. Earnings season is coming to an end after mixed reports, though AI remains a major driver. Profit taking and rebalancing into year-end are adding to gyrations too. Wall Street rallied, led by the Dow’s 1.06% broadbased pop. The S&P500 advanced 0.53% and the NASDAQ inched up 0.03%. Asian stocks rose after  Nvidia’s rally. Nikkei added 1% to 38,415.32 after the Tokyo inflation data slowed to 2.3% in October from 2.5% in the prior month, reaching its lowest level since January. The rally was also supported by chip-related stocks tracked Nvidia. Overnight-indexed swaps indicate that it’s certain the Reserve Bank of New Zealand will cut its policy rate by 50 basis points on Nov. 27, with a 22% chance of a 75 basis points reduction. European stocks futures climbed even though German Q3 GDP growth revised down to 0.1% q/q from the 0.2% q/q reported initially. Cryptocurrency market has gained approximately $1 trillion since Trump’s victory in the Nov. 5 election. Recent announcement for the SEC boosted cryptos. Chair Gary Gensler will step down on January 20, the day Trump is set to be inaugurated. Gensler has pushed for more protections for crypto investors. MicroStrategy Inc.’s plans to accelerate purchases of the token, and the debut of options on US Bitcoin ETFs also support this rally. Trump’s transition team has begun discussions on the possibility of creating a new White House position focused on digital asset policy.     Financial Markets Performance: The US Dollar recovered overnight and closed at 107.00. Bitcoin currently at 99,300,  flirting with a run toward the 100,000 level. The EURUSD drifts below 1.05, the GBPUSD dips to June’s bottom at 1.2570, while USDJPY rebounded to 154.94. The AUDNZD spiked to 2-year highs amid speculation the RBNZ will cut the official cash rate by more than 50 bps next week. Oil surged 2.12% to $70.46. Gold spiked to 2,697 after escalation alerts between Russia and Ukraine. Heightened geopolitical tensions drove investors toward safe-haven assets. Gold has surged by 30% this year. Haven demand balanced out the pressure from a strong USD following mixed US labor data. Silver rose 0.9% to 31.38, while palladium increased by 0.9% to 1,040.85 per ounce. Platinum remained unchanged. Always trade with strict risk management. Your capital is the single most important aspect of your trading business.   Please note that times displayed based on local time zone and are from time of writing this report.   Click HERE to access the full HFM Economic calendar.   Want to learn to trade and analyse the markets? Join our webinars and get analysis and trading ideas combined with better understanding of how markets work. Click HERE to register for FREE!   Click HERE to READ more Market news. Andria Pichidi HFMarkets Disclaimer: This material is provided as a general marketing communication for information purposes only and does not constitute an independent investment research. Nothing in this communication contains, or should be considered as containing, an investment advice or an investment recommendation or a solicitation for the purpose of buying or selling of any financial instrument. All information provided is gathered from reputable sources and any information containing an indication of past performance is not a guarantee or reliable indicator of future performance. Users acknowledge that any investment in FX and CFDs products is characterized by a certain degree of uncertainty and that any investment of this nature involves a high level of risk for which the users are solely responsible and liable. We assume no liability for any loss arising from any investment made based on the information provided in this communication. This communication must not be reproduced or further distributed without our prior written permission.
    • A few trending stocks at support BAM MNKD RBBN at https://stockconsultant.com/?MNKD
    • BMBL Bumble stock watch, pull back to 7.94 support area with high trade quality at https://stockconsultant.com/?BMBL
    • LUMN Lumen Technologies stock watch, pull back to 7.43 support area with bullish indicators at https://stockconsultant.com/?LUMN
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.