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

Name:	PastedImage-1.png
Views:	203
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:	199
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 Max238, Today, 01:28 AM
    4 responses
    36 views
    0 likes
    Last Post Max238
    by Max238
     
    Started by r68cervera, Today, 05:29 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by geddyisodin, Today, 05:20 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by timko, Today, 06:45 AM
    2 responses
    14 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by habeebft, Today, 07:27 AM
    0 responses
    7 views
    0 likes
    Last Post habeebft  
    Working...
    X