Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

OnMarketDepthQuestion

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

    OnMarketDepthQuestion

    I just got the beta version of NT up and running with OpenTick as the real-time data provider. I am trying to use the OnMarketDepth() method in a strategy made for the E-mini S&P 500. When I loaded the strategy on to the chart, nothing happened. To test if the strategy was indeed updating for each change in the market depth for the instrument, I used the following code:

    protected override void OnMarketDepth(MarketDepthEventArgs e)
    {

    // Output text
    DrawText("testString", "Random text", 12, 1346, Color.Red);

    }

    The above code is made to draw a text string to the chart when a change in data occurs in the market depth for the instrument. The text was never drawn to the chart so I am thinking that something else is the matter. I also tried the sampleMarketDepth indicator made available by NT. When loaded, that also just brought up a blank indicator box on the chart.

    I did subscribe for Level II access for the CME E-mini's through OpenTick. The CME does give Level II data up to 5 levels deep for the E-mini S&P 500. I've tried what I could, and am hoping that I could get some help through here. For anyone with some insight on this matter, would you say that this matter is code related, data feed related, or some kind of bug?
    Last edited by naifwonder; 02-22-2008, 01:53 PM.

    #2
    Unfortunately NinjaTrader does not support OT Level II data at this time. We are working with them to get this done but there currently is not ETA on this.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Aviram Y, Today, 05:29 AM
    0 responses
    2 views
    0 likes
    Last Post Aviram Y  
    Started by quantismo, 04-17-2024, 05:13 PM
    3 responses
    25 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by ScottWalsh, 04-16-2024, 04:29 PM
    7 responses
    34 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by cls71, Today, 04:45 AM
    0 responses
    6 views
    0 likes
    Last Post cls71
    by cls71
     
    Started by mjairg, 07-20-2023, 11:57 PM
    3 responses
    218 views
    1 like
    Last Post PaulMohn  
    Working...
    X