Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ninjatrader crash on Brent Oil data

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

  • NinjaTrader_Matthew
    replied
    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

    Leave a comment:


  • vcvcvvc
    replied
    am using CQG for connection, and the map is QO

    Leave a comment:


  • vcvcvvc
    replied
    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, 07:51 AM.

    Leave a comment:


  • NinjaTrader_Matthew
    replied
    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.

    Leave a comment:


  • vcvcvvc
    replied
    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, 07:22 AM.

    Leave a comment:


  • NinjaTrader_Matthew
    replied
    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?

    Leave a comment:


  • vcvcvvc
    started a topic ninjatrader crash on Brent Oil data

    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

Latest Posts

Collapse

Topics Statistics Last Post
Started by dani neira, Today, 07:23 AM
0 responses
4 views
0 likes
Last Post dani neira  
Started by Safetrader, Today, 07:20 AM
1 response
3 views
0 likes
Last Post NinjaTrader_Jesse  
Started by DTSSTS, Today, 06:53 AM
1 response
6 views
0 likes
Last Post NinjaTrader_Jim  
Started by lightsun47, Yesterday, 07:17 PM
1 response
5 views
0 likes
Last Post NinjaTrader_ChristopherS  
Started by ezrollin, Yesterday, 10:38 PM
3 responses
7 views
0 likes
Last Post NinjaTrader_PaulH  
Working...
X