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

Bid or Ask At price

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

    Bid or Ask At price

    At any time there are multiple orders sitting at different prices
    These are displayed on the Dom. How do we access the Bid/Ask order volume
    at each price level. ex. GetCurrentBid() or Ask seems to get the current Bid or Ask
    Not the Bid/Ask volume 5 Ticks away.

    Thanks
    J~

    #2
    Hello JerryWar,

    Thank you for your post.

    You would want to use OnMarketDepth() to get the Bid/Ask prices at the different levels.

    I have attached two links below, one on the method OnMarketDepth(), the other on reference sample for building a Level 2 book -
    http://www.ninjatrader.com/support/h...arketdepth.htm

    http://www.ninjatrader.com/support/f...ead.php?t=3478

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Cal
      I did several searches before posting and could not find
      any of this.

      Thanks it looks like exactly what I am looking for.

      Jerry

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by sofortune, Today, 02:31 AM
      0 responses
      6 views
      0 likes
      Last Post sofortune  
      Started by sofortune, Today, 01:55 AM
      1 response
      5 views
      0 likes
      Last Post sofortune  
      Started by cls71, Today, 01:37 AM
      0 responses
      5 views
      0 likes
      Last Post cls71
      by cls71
       
      Started by WHICKED, 06-27-2023, 12:07 PM
      63 responses
      763 views
      1 like
      Last Post Leeroy_Jenkins  
      Started by rtwave, Today, 12:10 AM
      0 responses
      5 views
      0 likes
      Last Post rtwave
      by rtwave
       
      Working...
      X