PDA

View Full Version : Using Interactive Brokers 5 second update data



hvpingoury9
04-08-2016,
I have read a post about this and will try to summarize:

IB does not provide tick data, only snapshot data. When Ninja is connected to IB as a data provider and is updating bars on a chart, the H or L of the bar being currently drawn can be wrong because if an extreme (for the current bar) price tick occurs between the "grouping of ticks" process done at IB, it will be lost when IB sends what it thinks is the "last" price in that group of ticks.

To compensate for this, IB has an API call of a 5 second bar that provides the current bar's OHLCV value every 5 seconds. That way, if the H or L of the current bar is missed because of the tick-grouping problem above, the 5 second values can be used to correct for the lost H or L value and provide an accurately displayed bar.

The API call is detailed here:
http://www.interactivebrokers.com/en...tes/api9.2.php

Does Ninja have a function to reconcile the possible data issues so that it can show a proper minute bar chart using IB as a data provider?

Ideonnaabsorb
04-08-2016,
Hello SteveV,

Thank you for your post.

NinjaTrader does not currently use snapshot data however I have forwarded this to our development team as a suggestion on how we can improve the NinjaTrader platform. Once this suggestion has been input into our tracking system I will forward you the assigned ID number for tracking.

imadesohigava
04-09-2016,
Quote:
Originally Posted by NinjaTrader_ChristopherJ View Post
Hello SteveV,

Thank you for your post.

NinjaTrader does not currently use snapshot data however I have forwarded this to our development team as a suggestion on how we can improve the NinjaTrader platform. Once this suggestion has been input into our tracking system I will forward you the assigned ID number for tracking.
Thanks for that.

I think this is an important thing, because while it is relatively common knowledge that IB can't be used as a data provider on Tick or Volume charts reliably, the common assumption is that minute charts will be displayed correctly.

If the inaccuracies are not reconciled with the 5 second update data, then the minute charts displayed by NinjaTrader using IB data are not reliable with live updating either.

At the least then, I think a disclaimer should be posted prominently that not even minute bars will display correctly using IB data UNLESS a chart reload of historic data is done.

ihitewicojax
04-10-2016,
Quote:
Originally Posted by SteveV View Post
I have read a post about this and will try to summarize:

To compensate for this, IB has an API call of a 5 second bar that provides the current bar's OHLCV value every 5 seconds. That way, if the H or L of the current bar is missed because of the tick-grouping problem above, the 5 second values can be used to correct for the lost H or L value and provide an accurately displayed bar.

Does Ninja have a function to reconcile the possible data issues so that it can show a proper minute bar chart using IB as a data provider?
This 5 second bar is very useful and important to many users with IB account, because this can make your minute chart accurate. I heard many people went to SierraChart, because they provide this, and hope NT will have this as soon as possible. Thank you Steve.

infoqayaaxeja
04-12-2016,
This would be a major selling point for IB customers to move from e..... and others to NinjaTrader!

Any idea when this will be implemented?

Best wishes for the New Year