Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Incorrect first bar of the day on Fx minutes charts when connected to IB.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Incorrect first bar of the day on Fx minutes charts when connected to IB.

    Would anybody have a suggestion on how to fix this issue? First bar of the day on minutes charts is incorrect on any Fx chart, although the TWS chart is correct. Here is one example:
    Click image for larger version

Name:	PastedImage-3.png
Views:	293
Size:	27.1 KB
ID:	1155938Click image for larger version

Name:	PastedImage-1.png
Views:	283
Size:	54.8 KB
ID:	1155939
    And here is the same bar on a 5 min chart:
    Click image for larger version

Name:	PastedImage-5.png
Views:	290
Size:	24.5 KB
ID:	1155940

    and here is the Historical Data for GBPCHF at the start of the day 5/10/2021, 3:16PM (Calgary, Mountain time).
    Click image for larger version

Name:	PastedImage-4.png
Views:	203
Size:	60.7 KB
ID:	1155946
    The 3:16PM entry is OFF by almost 100 pips.
    Thanks, mich.
    Attached Files

    #2
    Hello micah58,

    Thank you for your inquiry.

    I am seeing the exact same on my end when I test with my Interactive Brokers connection. This is simply how the bid/ask data from Interactive Brokers looks for this instrument. It is important to note that the data that you are viewing in TWS is different than the data that is sent through their API. When charting forex instruments, TWS uses the midpoint between the bid and the ask as the 'Last Price' by default. NinjaTrader handles the lack of 'Last Price' in forex data a little bit differently and uses the 'Bid' price instead to drive the chart. You can actually see this within TWS if you chart the bid/ask price instead of the midpoint. Please see the attached image.

    As far as why Interactive Brokers bid/ask data looks this way, I couldn't be certain. Since their historical data comes entirely from their servers, we don't have a lot of insight into their data handling. You would probably need to contact their support team to get a better understanding of why it looks this way.

    Please let us know if we may assist you any further.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    83 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    41 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    23 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    31 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    31 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X