Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SampleMarketDepth

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

    SampleMarketDepth

    Hi Ninja Team,

    I see you have started to add some examples for NT7 in the Reference Samples section. Any chance of getting the SampleMarketDepth sample updated for NT7? It doesn't import now.

    Thanks!

    EDIT: I've imported the NT7 version of SampleCustomEvents and see the Layer II book code. I'm working on something that uses market depth from two instruments in a single strategy. Would the best way to do that be to make sure the variable names shared between the two Layer II Books are unique (say, public double PriceA for one and public double PriceB for the other), and then have two instances of the array in OnMarketDepth, one with BarsInProgress == 0 and the other with BarsInProgress==1?

    Pardon the pun but I'm out of my depth .
    Last edited by MXASJ; 02-24-2010, 03:00 AM.

    #2
    MXASJ,

    Correct, if you have two instruments and you want two books you will need two sets of all the variables and objects used in the reference sample.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    238 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    154 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    163 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    246 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    199 views
    0 likes
    Last Post CarlTrading  
    Working...
    X