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:	216
Size:	27.1 KB
ID:	1155938Click image for larger version

Name:	PastedImage-1.png
Views:	202
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:	198
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:	157
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.
    Zachary S.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by traderqz, Today, 09:44 AM
    0 responses
    1 view
    0 likes
    Last Post traderqz  
    Started by rocketman7, Today, 09:41 AM
    1 response
    2 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by rocketman7, Today, 02:12 AM
    7 responses
    31 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by guillembm, Yesterday, 11:25 AM
    3 responses
    16 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by junkone, 04-21-2024, 07:17 AM
    10 responses
    149 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X