Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

corrupted MarketData in NT cache?

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

    corrupted MarketData in NT cache?

    Hello,

    I have a strange problem in NT in OnMarketData() funtion. e.Price seems to be corrupted under certain circumstances! the OHLC values for a

    Today FDAX data stream logged in OnMarketData():
    e.Price e.Volume e.Time DateTime.Now

    OnMarketData 3713,5 0 06/03/2009 13.04.30 06/03/2009 13.04.30
    OnMarketData 3683,5 1 06/03/2009 13.04.31 06/03/2009 13.04.31
    OnMarketData 3683 3 06/03/2009 13.04.31 06/03/2009 13.04.31
    OnMarketData 3731 0 06/03/2009 13.04.31 06/03/2009 13.04.31
    OnMarketData 3637,5 0 06/03/2009 13.04.31 06/03/2009 13.04.31
    OnMarketData 3704,5 0 06/03/2009 13.04.31 06/03/2009 13.04.31
    OnMarketData 3713,5 0 06/03/2009 13.04.31 06/03/2009 13.04.31
    OnMarketData 3683 1 06/03/2009 13.04.31 06/03/2009 13.04.31
    OnMarketData 3683,5 2 06/03/2009 13.04.31 06/03/2009 13.04.31
    OnMarketData 3682,5 5 06/03/2009 13.04.31 06/03/2009 13.04.31
    OnMarketData 3683 6 06/03/2009 13.04.31 06/03/2009 13.04.31

    Looking at the Chart Trader Window however I see FDAX bid ans ask around 3680.

    How come I have spurious data 3637,5 3731 3704,5 and 3713,5 in OnMarketData()?
    Note that 3731 is HighoDay and 3713,5 is OpenofDay and 3637,5 is LowOfDay
    Why are these values sent in OnMarketData() at the obvious wrong time?
    The value 3704,5 cannot be resolved so easily, but: At 9.59 the Close of the 1 Minute bar was 3704,5 and at exact 10.02 I have a connection lost log event. ( I deliberately disconnected the Network cable for checks)

    So in my case I get the following Data series in OnMalrketData():

    O
    some correct data (2 or 3 or 4)
    H
    L
    C
    O
    some correct data
    H
    L
    C


    Please check and give me advice on how to proceed!

    Best regards
    Andreas

    #2
    Hi Andreas, please check your chart update interval found under the Chart Properties (double click on the chart) and set this to 0 to update it tick by tick. Next please check which MarketDataType (last bid ask) you get from OnMarketData - http://www.ninjatrader-support.com/H...arketData.html

    Comment


      #3
      thank you,

      marketdatatype.Last did the trick


      Best regards

      Andreas

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      104 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      52 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      34 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      38 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      74 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X