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:


              MatthewNinjaTrader Product Management

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by algospoke, Today, 06:40 PM
              0 responses
              9 views
              0 likes
              Last Post algospoke  
              Started by maybeimnotrader, Today, 05:46 PM
              0 responses
              7 views
              0 likes
              Last Post maybeimnotrader  
              Started by quantismo, Today, 05:13 PM
              0 responses
              7 views
              0 likes
              Last Post quantismo  
              Started by AttiM, 02-14-2024, 05:20 PM
              8 responses
              168 views
              0 likes
              Last Post jeronymite  
              Started by cre8able, Today, 04:22 PM
              0 responses
              10 views
              0 likes
              Last Post cre8able  
              Working...
              X