Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ninjatrader crash on Brent Oil data

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

    ninjatrader crash on Brent Oil data

    HI ,i have never encounter a ninjatrader crash before i use a Brent Oil data , i show you guys how to reproduce it
    1 connect to a CGQ feed,
    2 make a indicator named TestIndicator ,
    add this Add("BNT 05-12", BarsPeriod.Id, BarsPeriod.Value); in Initialize()

    add Value[0]=Close[0]-Closes[1][0] in OnBarUpdate()

    3 open a CL chart ,add this indicator ,your ninjatrader will crash

    #2
    Hello,

    Thank you for reporting.

    I was not able to immediately reproduce using those steps.

    Can you please export and upload the exact script you are using?

    Click here for information on Exporting and Indicator

    Also, who are you using as your data provider? What type of CL chart should we be testing on? Tick, minute, etc?
    MatthewNinjaTrader Product Management

    Comment


      #3
      1 sec chart

      code like this
      protected override void Initialize()
      {
      if(Instrument.MasterInstrument.Name=="CL"){
      Add("BNT 05-12", BarsPeriod.Id, BarsPeriod.Value);
      }
      }


      protected override void OnBarUpdate()
      {
      if(BarsInProgress==0) {
      Value[0]=Close[0]-Closes[1][0];
      }
      }
      Last edited by vcvcvvc; 03-27-2012, 08:22 AM.

      Comment


        #4
        Hello,

        I was able to load this code on 30 days worth of 1 second data and did not have any issues.

        Can you please show me the instrument settings you are using for BNT in the Instrument Manager?

        I would need the following information from the Definition tab:

        Tick size
        Exchange


        From the "Misc" tab, scroll down to the Symbol Map section and tell me 1) Who your data provider is 2) the Symbol Map being used for your provider.

        Thanks.
        MatthewNinjaTrader Product Management

        Comment


          #5
          HI ,i can`t reproduce this crash now , it do crash for 3 times , and now just showing no plot value , i checked that in the brent oil chart will not update realtimely ,no level 2 or quotes for "BRN 05-12" ,my data feed is CGQ , the history chart is ok ,but it will not update ,other instruments is ok
          can you reproduce this?
          Last edited by vcvcvvc; 03-27-2012, 08:51 AM.

          Comment


            #6
            am using CQG for connection, and the map is QO

            Comment


              #7
              Please send me your log and trace files for today so that I may look into what occurred.


              You can do this by going to the Control Center-> Help-> Mail to Support.


              Please reference the following thread url in the body of the email:


              http://www.ninjatrader.com/support/f...ad.php?t=48745
              MatthewNinjaTrader Product Management

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Behungr101, Today, 10:17 AM
              1 response
              8 views
              0 likes
              Last Post NinjaTrader_JustinD  
              Started by ezrollin, Today, 10:11 AM
              3 responses
              11 views
              0 likes
              Last Post NinjaTrader_BrandonH  
              Started by xmess777, Yesterday, 07:16 PM
              1 response
              25 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by 8033075, Yesterday, 08:13 PM
              1 response
              35 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by futurenow, Yesterday, 06:13 PM
              1 response
              25 views
              0 likes
              Last Post NinjaTrader_BrandonH  
              Working...
              X